@maggioli-design-system/mds-input-range 1.0.1 → 1.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 (82) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-a544b1ef.js +1268 -0
  3. package/dist/cjs/loader.cjs.js +4 -2
  4. package/dist/cjs/mds-input-range.cjs.entry.js +5 -4
  5. package/dist/cjs/mds-input-range.cjs.js +12 -10
  6. package/dist/collection/collection-manifest.json +2 -2
  7. package/dist/collection/common/locale.js +50 -0
  8. package/dist/collection/components/mds-input-range/mds-input-range.css +325 -123
  9. package/dist/collection/components/mds-input-range/mds-input-range.js +4 -1
  10. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +7 -0
  11. package/dist/collection/type/preference.js +1 -0
  12. package/dist/components/mds-input-range.js +4 -3
  13. package/dist/documentation.d.ts +34 -0
  14. package/dist/documentation.json +15 -5
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/index-9cf44097.js +1239 -0
  17. package/dist/esm/loader.js +5 -3
  18. package/dist/esm/mds-input-range.entry.js +5 -4
  19. package/dist/esm/mds-input-range.js +13 -11
  20. package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
  21. package/dist/esm-es5/index-9cf44097.js +1 -0
  22. package/dist/esm-es5/loader.js +1 -1
  23. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  24. package/dist/esm-es5/mds-input-range.js +1 -1
  25. package/dist/mds-input-range/mds-input-range.esm.js +1 -1
  26. package/dist/mds-input-range/mds-input-range.js +1 -1
  27. package/dist/mds-input-range/p-47995aad.system.entry.js +1 -0
  28. package/dist/mds-input-range/p-51b9684c.system.js +2 -0
  29. package/dist/mds-input-range/p-54651c4c.js +2 -0
  30. package/dist/mds-input-range/p-56ba5cbf.system.js +1 -0
  31. package/dist/mds-input-range/p-b8731af1.entry.js +1 -0
  32. package/dist/mds-input-range/p-ca462756.system.js +1 -0
  33. package/dist/mds-input-range/p-e1255160.js +1 -0
  34. package/dist/stats.json +71 -43
  35. package/dist/types/common/locale.d.ts +15 -0
  36. package/dist/types/components/mds-input-range/mds-input-range.d.ts +3 -0
  37. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +3 -10
  39. package/dist/types/type/preference.d.ts +2 -0
  40. package/documentation.json +50 -25
  41. package/loader/cdn.js +1 -2
  42. package/loader/index.cjs.js +1 -2
  43. package/loader/index.d.ts +3 -0
  44. package/loader/index.es2017.js +1 -2
  45. package/loader/index.js +1 -2
  46. package/package.json +10 -10
  47. package/readme.md +7 -0
  48. package/src/common/locale.ts +66 -0
  49. package/src/components/mds-input-range/css/mds-input-range-pref-animation.css +24 -0
  50. package/src/components/mds-input-range/css/mds-input-range-pref-contrast.css +17 -0
  51. package/src/components/mds-input-range/css/mds-input-range-pref-theme.css +22 -0
  52. package/src/components/mds-input-range/mds-input-range.css +39 -4
  53. package/src/components/mds-input-range/mds-input-range.tsx +5 -1
  54. package/src/components/mds-input-range/readme.md +7 -0
  55. package/src/components/mds-input-range/test/mds-input-range.stories.tsx +17 -0
  56. package/src/fixtures/icons.json +13 -0
  57. package/src/fixtures/iconsauce.json +4 -0
  58. package/src/tailwind/components.css +71 -0
  59. package/src/type/preference.ts +10 -0
  60. package/www/build/mds-input-range.esm.js +1 -1
  61. package/www/build/mds-input-range.js +1 -1
  62. package/www/build/p-47995aad.system.entry.js +1 -0
  63. package/www/build/p-51b9684c.system.js +2 -0
  64. package/www/build/p-54651c4c.js +2 -0
  65. package/www/build/p-56ba5cbf.system.js +1 -0
  66. package/www/build/p-b8731af1.entry.js +1 -0
  67. package/www/build/p-ca462756.system.js +1 -0
  68. package/www/build/p-e1255160.js +1 -0
  69. package/dist/cjs/index-5f49298d.js +0 -1790
  70. package/dist/collection/components/mds-input-range/test/mds-input-range.e2e.js +0 -10
  71. package/dist/esm/index-1ed4544f.js +0 -1761
  72. package/dist/esm-es5/index-1ed4544f.js +0 -1
  73. package/dist/mds-input-range/p-1afe8cf0.system.entry.js +0 -1
  74. package/dist/mds-input-range/p-5dcf9ad8.js +0 -2
  75. package/dist/mds-input-range/p-7a418e68.system.js +0 -1
  76. package/dist/mds-input-range/p-c87cd964.entry.js +0 -1
  77. package/dist/mds-input-range/p-e5d9d1a5.system.js +0 -2
  78. package/www/build/p-1afe8cf0.system.entry.js +0 -1
  79. package/www/build/p-5dcf9ad8.js +0 -2
  80. package/www/build/p-7a418e68.system.js +0 -1
  81. package/www/build/p-c87cd964.entry.js +0 -1
  82. package/www/build/p-e5d9d1a5.system.js +0 -2
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-07-29T15:14:42",
2
+ "timestamp": "2024-09-05T13:46:08",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "20.10.0"
@@ -9,16 +9,17 @@
9
9
  "fsNamespace": "mds-input-range",
10
10
  "components": 1,
11
11
  "entries": 1,
12
- "bundles": 81,
12
+ "bundles": 89,
13
13
  "outputs": [
14
14
  {
15
15
  "name": "dist-collection",
16
- "files": 40,
16
+ "files": 41,
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
19
  "./dist/collection/common/file.js",
20
20
  "./dist/collection/common/icon.js",
21
21
  "./dist/collection/common/keyboard-manager.js",
22
+ "./dist/collection/common/locale.js",
22
23
  "./dist/collection/common/unit.js",
23
24
  "./dist/collection/common/yugop/core.js",
24
25
  "./dist/collection/common/yugop/index.js",
@@ -28,7 +29,6 @@
28
29
  "./dist/collection/common/yugop/utils/prng.js",
29
30
  "./dist/collection/common/yugop/utils/string.js",
30
31
  "./dist/collection/components/mds-input-range/mds-input-range.js",
31
- "./dist/collection/components/mds-input-range/test/mds-input-range.e2e.js",
32
32
  "./dist/collection/components/mds-input-range/test/mds-input-range.stories.js",
33
33
  "./dist/collection/dictionary/autocomplete.js",
34
34
  "./dist/collection/dictionary/button.js",
@@ -51,6 +51,7 @@
51
51
  "./dist/collection/type/form-rel.js",
52
52
  "./dist/collection/type/input.js",
53
53
  "./dist/collection/type/loading.js",
54
+ "./dist/collection/type/preference.js",
54
55
  "./dist/collection/type/text.js",
55
56
  "./dist/collection/type/typography.js",
56
57
  "./dist/collection/type/variant-file-format.js",
@@ -69,19 +70,22 @@
69
70
  },
70
71
  {
71
72
  "name": "dist-lazy",
72
- "files": 35,
73
+ "files": 42,
73
74
  "generatedFiles": [
74
- "./dist/cjs/index-5f49298d.js",
75
+ "./dist/cjs/app-globals-3a1e7e63.js",
76
+ "./dist/cjs/index-a544b1ef.js",
75
77
  "./dist/cjs/index.cjs.js",
76
78
  "./dist/cjs/loader.cjs.js",
77
79
  "./dist/cjs/mds-input-range.cjs.entry.js",
78
80
  "./dist/cjs/mds-input-range.cjs.js",
79
- "./dist/esm-es5/index-1ed4544f.js",
81
+ "./dist/esm-es5/app-globals-0f993ce5.js",
82
+ "./dist/esm-es5/index-9cf44097.js",
80
83
  "./dist/esm-es5/index.js",
81
84
  "./dist/esm-es5/loader.js",
82
85
  "./dist/esm-es5/mds-input-range.entry.js",
83
86
  "./dist/esm-es5/mds-input-range.js",
84
- "./dist/esm/index-1ed4544f.js",
87
+ "./dist/esm/app-globals-0f993ce5.js",
88
+ "./dist/esm/index-9cf44097.js",
85
89
  "./dist/esm/index.js",
86
90
  "./dist/esm/loader.js",
87
91
  "./dist/esm/mds-input-range.entry.js",
@@ -91,21 +95,25 @@
91
95
  "./dist/mds-input-range/index.esm.js",
92
96
  "./dist/mds-input-range/mds-input-range.esm.js",
93
97
  "./dist/mds-input-range/mds-input-range.js",
94
- "./dist/mds-input-range/p-1afe8cf0.system.entry.js",
98
+ "./dist/mds-input-range/p-47995aad.system.entry.js",
95
99
  "./dist/mds-input-range/p-50ea2036.system.js",
96
- "./dist/mds-input-range/p-5dcf9ad8.js",
97
- "./dist/mds-input-range/p-7a418e68.system.js",
98
- "./dist/mds-input-range/p-c87cd964.entry.js",
99
- "./dist/mds-input-range/p-e5d9d1a5.system.js",
100
+ "./dist/mds-input-range/p-51b9684c.system.js",
101
+ "./dist/mds-input-range/p-54651c4c.js",
102
+ "./dist/mds-input-range/p-56ba5cbf.system.js",
103
+ "./dist/mds-input-range/p-b8731af1.entry.js",
104
+ "./dist/mds-input-range/p-ca462756.system.js",
105
+ "./dist/mds-input-range/p-e1255160.js",
100
106
  "./www/build/index.esm.js",
101
107
  "./www/build/mds-input-range.esm.js",
102
108
  "./www/build/mds-input-range.js",
103
- "./www/build/p-1afe8cf0.system.entry.js",
109
+ "./www/build/p-47995aad.system.entry.js",
104
110
  "./www/build/p-50ea2036.system.js",
105
- "./www/build/p-5dcf9ad8.js",
106
- "./www/build/p-7a418e68.system.js",
107
- "./www/build/p-c87cd964.entry.js",
108
- "./www/build/p-e5d9d1a5.system.js"
111
+ "./www/build/p-51b9684c.system.js",
112
+ "./www/build/p-54651c4c.js",
113
+ "./www/build/p-56ba5cbf.system.js",
114
+ "./www/build/p-b8731af1.entry.js",
115
+ "./www/build/p-ca462756.system.js",
116
+ "./www/build/p-e1255160.js"
109
117
  ]
110
118
  },
111
119
  {
@@ -138,12 +146,12 @@
138
146
  "components": [
139
147
  "mds-input-range"
140
148
  ],
141
- "bundleId": "p-c87cd964",
142
- "fileName": "p-c87cd964.entry.js",
149
+ "bundleId": "p-b8731af1",
150
+ "fileName": "p-b8731af1.entry.js",
143
151
  "imports": [
144
- "p-5dcf9ad8.js"
152
+ "p-54651c4c.js"
145
153
  ],
146
- "originalByteSize": 9822
154
+ "originalByteSize": 18953
147
155
  }
148
156
  ],
149
157
  "esm": [
@@ -155,9 +163,9 @@
155
163
  "bundleId": "mds-input-range",
156
164
  "fileName": "mds-input-range.entry.js",
157
165
  "imports": [
158
- "index-1ed4544f.js"
166
+ "index-9cf44097.js"
159
167
  ],
160
- "originalByteSize": 9826
168
+ "originalByteSize": 18957
161
169
  }
162
170
  ],
163
171
  "es5": [
@@ -169,9 +177,9 @@
169
177
  "bundleId": "mds-input-range",
170
178
  "fileName": "mds-input-range.entry.js",
171
179
  "imports": [
172
- "index-1ed4544f.js"
180
+ "index-9cf44097.js"
173
181
  ],
174
- "originalByteSize": 9826
182
+ "originalByteSize": 18957
175
183
  }
176
184
  ],
177
185
  "system": [
@@ -180,12 +188,12 @@
180
188
  "components": [
181
189
  "mds-input-range"
182
190
  ],
183
- "bundleId": "p-1afe8cf0.system",
184
- "fileName": "p-1afe8cf0.system.entry.js",
191
+ "bundleId": "p-47995aad.system",
192
+ "fileName": "p-47995aad.system.entry.js",
185
193
  "imports": [
186
- "p-e5d9d1a5.system.js"
194
+ "p-51b9684c.system.js"
187
195
  ],
188
- "originalByteSize": 10502
196
+ "originalByteSize": 19639
189
197
  }
190
198
  ],
191
199
  "commonjs": [
@@ -197,9 +205,9 @@
197
205
  "bundleId": "mds-input-range.cjs",
198
206
  "fileName": "mds-input-range.cjs.entry.js",
199
207
  "imports": [
200
- "index-5f49298d.js"
208
+ "index-a544b1ef.js"
201
209
  ],
202
- "originalByteSize": 9921
210
+ "originalByteSize": 19058
203
211
  }
204
212
  ]
205
213
  },
@@ -216,7 +224,12 @@
216
224
  "directDependencies": [],
217
225
  "directDependents": [],
218
226
  "docs": {
219
- "tags": [],
227
+ "tags": [
228
+ {
229
+ "name": "part",
230
+ "text": "header - The element containing the labels displayed over the input element"
231
+ }
232
+ ],
220
233
  "text": ""
221
234
  },
222
235
  "encapsulation": "shadow",
@@ -495,31 +508,41 @@
495
508
  {
496
509
  "name": "--mds-input-range-thumb-size",
497
510
  "docs": "Sets the thumb width and height of the component",
498
- "annotation": "prop"
511
+ "annotation": "prop",
512
+ "mode": "$"
499
513
  },
500
514
  {
501
515
  "name": "--mds-input-range-thumb-background",
502
516
  "docs": "",
503
- "annotation": "prop"
517
+ "annotation": "prop",
518
+ "mode": "$"
504
519
  },
505
520
  {
506
521
  "name": "--mds-input-range-track-background",
507
522
  "docs": "",
508
- "annotation": "prop"
523
+ "annotation": "prop",
524
+ "mode": "$"
509
525
  },
510
526
  {
511
527
  "name": "--mds-input-range-track-size",
512
528
  "docs": "",
513
- "annotation": "prop"
529
+ "annotation": "prop",
530
+ "mode": "$"
514
531
  },
515
532
  {
516
533
  "name": "--mds-input-range-track-progress-background",
517
534
  "docs": "",
518
- "annotation": "prop"
535
+ "annotation": "prop",
536
+ "mode": "$"
519
537
  }
520
538
  ],
521
539
  "docs": {
522
- "tags": [],
540
+ "tags": [
541
+ {
542
+ "name": "part",
543
+ "text": "header - The element containing the labels displayed over the input element"
544
+ }
545
+ ],
523
546
  "text": ""
524
547
  },
525
548
  "jsFilePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/magma/design-system/projects/stencil/.build/mds-input-range/src/components/mds-input-range/mds-input-range.js",
@@ -562,7 +585,7 @@
562
585
  "hasVdomXlink": false,
563
586
  "hasVdomClass": true,
564
587
  "hasVdomFunctional": false,
565
- "hasVdomKey": false,
588
+ "hasVdomKey": true,
566
589
  "hasVdomListener": true,
567
590
  "hasVdomPropOrAttr": true,
568
591
  "hasVdomRef": false,
@@ -572,7 +595,9 @@
572
595
  "hasWatchCallback": true,
573
596
  "isPlain": false,
574
597
  "htmlAttrNames": [
598
+ "key",
575
599
  "class",
600
+ "part",
576
601
  "typography",
577
602
  "style",
578
603
  "max",
@@ -589,7 +614,9 @@
589
614
  "div",
590
615
  "input"
591
616
  ],
592
- "htmlParts": [],
617
+ "htmlParts": [
618
+ "header"
619
+ ],
593
620
  "isUpdateable": true,
594
621
  "potentialCmpRefs": [
595
622
  "mds-text"
@@ -605,7 +632,7 @@
605
632
  ],
606
633
  "componentGraph": {
607
634
  "sc-mds-input-range": [
608
- "p-5dcf9ad8.js"
635
+ "p-54651c4c.js"
609
636
  ]
610
637
  },
611
638
  "sourceGraph": {
@@ -613,6 +640,7 @@
613
640
  "./src/common/file.ts": [],
614
641
  "./src/common/icon.ts": [],
615
642
  "./src/common/keyboard-manager.ts": [],
643
+ "./src/common/locale.ts": [],
616
644
  "./src/common/unit.ts": [],
617
645
  "./src/common/yugop/core.ts": [
618
646
  "./src/common/yugop/utils/math",
@@ -631,7 +659,6 @@
631
659
  "./src/common/yugop/utils/prng.ts": [],
632
660
  "./src/common/yugop/utils/string.ts": [],
633
661
  "./src/components/mds-input-range/mds-input-range.tsx": [],
634
- "./src/components/mds-input-range/test/mds-input-range.e2e.ts": [],
635
662
  "./src/components/mds-input-range/test/mds-input-range.stories.tsx": [],
636
663
  "./src/dictionary/autocomplete.ts": [],
637
664
  "./src/dictionary/button.ts": [],
@@ -657,6 +684,7 @@
657
684
  "./src/type/form-rel.ts": [],
658
685
  "./src/type/input.ts": [],
659
686
  "./src/type/loading.ts": [],
687
+ "./src/type/preference.ts": [],
660
688
  "./src/type/text.ts": [],
661
689
  "./src/type/typography.ts": [],
662
690
  "./src/type/variant-file-format.ts": [],
@@ -0,0 +1,15 @@
1
+ type LocaleConfig = {
2
+ it?: Record<string, string | string[]>;
3
+ en?: Record<string, string | string[]>;
4
+ gr?: Record<string, string | string[]>;
5
+ };
6
+ export declare class Locale {
7
+ defaultLanguage: string;
8
+ language: string;
9
+ config: LocaleConfig;
10
+ constructor(configData: LocaleConfig);
11
+ lang: (element: HTMLElement) => void;
12
+ private pluralize;
13
+ get: (tag: string | string[], context?: Record<string, string | number>) => string;
14
+ }
15
+ export {};
@@ -1,4 +1,7 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @part header - The element containing the labels displayed over the input element
4
+ */
2
5
  export declare class MdsInputRange {
3
6
  private progress;
4
7
  private inputElement;
@@ -37,3 +37,4 @@ export declare const Min: any;
37
37
  export declare const Max: any;
38
38
  export declare const Step: any;
39
39
  export declare const Value: any;
40
+ export declare const HideHeader: any;
@@ -768,6 +768,7 @@ export declare namespace JSXBase {
768
768
  hrefLang?: string;
769
769
  hreflang?: string;
770
770
  media?: string;
771
+ ping?: string;
771
772
  rel?: string;
772
773
  target?: string;
773
774
  referrerPolicy?: ReferrerPolicy;
@@ -794,7 +795,6 @@ export declare namespace JSXBase {
794
795
  cite?: string;
795
796
  }
796
797
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
797
- autoFocus?: boolean;
798
798
  disabled?: boolean;
799
799
  form?: string;
800
800
  formAction?: string;
@@ -921,8 +921,6 @@ export declare namespace JSXBase {
921
921
  autocapitalize?: string;
922
922
  autoComplete?: string;
923
923
  autocomplete?: string;
924
- autoFocus?: boolean;
925
- autofocus?: boolean | string;
926
924
  capture?: string;
927
925
  checked?: boolean;
928
926
  crossOrigin?: string;
@@ -979,8 +977,6 @@ export declare namespace JSXBase {
979
977
  popoverTarget?: string;
980
978
  }
981
979
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
982
- autoFocus?: boolean;
983
- autofocus?: boolean | string;
984
980
  challenge?: string;
985
981
  disabled?: boolean;
986
982
  form?: string;
@@ -993,7 +989,6 @@ export declare namespace JSXBase {
993
989
  interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
994
990
  form?: string;
995
991
  htmlFor?: string;
996
- htmlfor?: string;
997
992
  }
998
993
  interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
999
994
  value?: string | string[] | number;
@@ -1104,7 +1099,6 @@ export declare namespace JSXBase {
1104
1099
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1105
1100
  form?: string;
1106
1101
  htmlFor?: string;
1107
- htmlfor?: string;
1108
1102
  name?: string;
1109
1103
  }
1110
1104
  interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1129,7 +1123,6 @@ export declare namespace JSXBase {
1129
1123
  type?: string;
1130
1124
  }
1131
1125
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1132
- autoFocus?: boolean;
1133
1126
  disabled?: boolean;
1134
1127
  form?: string;
1135
1128
  multiple?: boolean;
@@ -1164,8 +1157,6 @@ export declare namespace JSXBase {
1164
1157
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1165
1158
  autoComplete?: string;
1166
1159
  autocomplete?: string;
1167
- autoFocus?: boolean;
1168
- autofocus?: boolean | string;
1169
1160
  cols?: number;
1170
1161
  disabled?: boolean;
1171
1162
  form?: string;
@@ -1218,6 +1209,8 @@ export declare namespace JSXBase {
1218
1209
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1219
1210
  innerHTML?: string;
1220
1211
  accessKey?: string;
1212
+ autoFocus?: boolean;
1213
+ autofocus?: boolean | string;
1221
1214
  class?: string | {
1222
1215
  [className: string]: boolean;
1223
1216
  };
@@ -0,0 +1,2 @@
1
+ export type UIPreferenceType = 'animation' | 'consumption' | 'contrast' | 'theme';
2
+ export type ConsumptionModeType = 'high' | 'medium' | 'low';
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-07-29T15:05:26",
2
+ "timestamp": "2024-09-05T13:13:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.10.0",
6
- "typescriptVersion": "5.3.3"
5
+ "version": "4.21.0",
6
+ "typescriptVersion": "5.5.3"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -12,7 +12,12 @@
12
12
  "tag": "mds-input-range",
13
13
  "readme": "# mds-input-range\n\n\n\nThis is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), 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.\n",
14
14
  "docs": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), 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.",
15
- "docsTags": [],
15
+ "docsTags": [
16
+ {
17
+ "name": "part",
18
+ "text": "header - The element containing the labels displayed over the input element"
19
+ }
20
+ ],
16
21
  "usage": {},
17
22
  "props": [
18
23
  {
@@ -149,7 +154,12 @@
149
154
  }
150
155
  ],
151
156
  "slots": [],
152
- "parts": [],
157
+ "parts": [
158
+ {
159
+ "name": "header",
160
+ "docs": "The element containing the labels displayed over the input element"
161
+ }
162
+ ],
153
163
  "dependents": [],
154
164
  "dependencies": [
155
165
  "mds-text"
@@ -332,26 +342,6 @@
332
342
  "docstring": "",
333
343
  "path": "src/components/mds-filter-item/meta/event-detail.ts"
334
344
  },
335
- "src/components/mds-form/meta/types.ts::CharacterSetType": {
336
- "declaration": "export type CharacterSetType =\n | '8859-1'\n | 'ansi'\n | 'ascii'\n | 'utf-8'",
337
- "docstring": "",
338
- "path": "src/components/mds-form/meta/types.ts"
339
- },
340
- "src/components/mds-form/meta/types.ts::FormAutocompleteType": {
341
- "declaration": "export type FormAutocompleteType =\n | 'off'\n | 'on'",
342
- "docstring": "",
343
- "path": "src/components/mds-form/meta/types.ts"
344
- },
345
- "src/components/mds-form/meta/types.ts::EnctypeType": {
346
- "declaration": "export type EnctypeType =\n | 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'",
347
- "docstring": "",
348
- "path": "src/components/mds-form/meta/types.ts"
349
- },
350
- "src/components/mds-form/meta/types.ts::FormMethodType": {
351
- "declaration": "export type FormMethodType =\n | 'get'\n | 'post'",
352
- "docstring": "",
353
- "path": "src/components/mds-form/meta/types.ts"
354
- },
355
345
  "src/components/mds-header-bar/meta/types.ts::MenuType": {
356
346
  "declaration": "export type MenuType =\n | 'all'\n | 'desktop'\n | 'mobile'\n | 'none'",
357
347
  "docstring": "",
@@ -462,6 +452,16 @@
462
452
  "docstring": "",
463
453
  "path": "src/components/mds-input-switch/meta/event-detail.ts"
464
454
  },
455
+ "src/components/mds-input-tip/meta/types.ts::InputTipPositionType": {
456
+ "declaration": "export type InputTipPositionType =\n | 'top'\n | 'bottom'",
457
+ "docstring": "",
458
+ "path": "src/components/mds-input-tip/meta/types.ts"
459
+ },
460
+ "src/components/mds-input-tip-item/meta/types.ts::InputTipItemVariantType": {
461
+ "declaration": "export type InputTipItemVariantType =\n | 'required'\n | 'required-success'\n | 'disabled'\n | 'readonly'\n | 'text'",
462
+ "docstring": "",
463
+ "path": "src/components/mds-input-tip-item/meta/types.ts"
464
+ },
465
465
  "src/components/mds-input-upload/meta/types.ts::AttachmentSort": {
466
466
  "declaration": "type AttachmentSort =\n 'status' |\n 'date'",
467
467
  "docstring": "",
@@ -502,6 +502,31 @@
502
502
  "docstring": "",
503
503
  "path": "src/components/mds-paginator/meta/event-detail.ts"
504
504
  },
505
+ "src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
506
+ "declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
507
+ "docstring": "",
508
+ "path": "src/components/mds-pref-animation/meta/types.ts"
509
+ },
510
+ "src/type/preference.ts::ConsumptionModeType": {
511
+ "declaration": "export type ConsumptionModeType =\n | 'high'\n | 'medium'\n | 'low'",
512
+ "docstring": "",
513
+ "path": "src/type/preference.ts"
514
+ },
515
+ "src/components/mds-pref-contrast/meta/types.ts::ContrastModeType": {
516
+ "declaration": "export type ContrastModeType =\n | 'more'\n | 'no-preference'\n | 'system'",
517
+ "docstring": "",
518
+ "path": "src/components/mds-pref-contrast/meta/types.ts"
519
+ },
520
+ "src/components/mds-pref-theme/meta/types.ts::ThemeModeType": {
521
+ "declaration": "export type ThemeModeType =\n | 'light'\n | 'dark'\n | 'system'",
522
+ "docstring": "",
523
+ "path": "src/components/mds-pref-theme/meta/types.ts"
524
+ },
525
+ "src/components/mds-pref-theme/meta/types.ts::ThemeTransitionType": {
526
+ "declaration": "export type ThemeTransitionType =\n | 'none'\n | 'flash'\n | 'smooth'",
527
+ "docstring": "",
528
+ "path": "src/components/mds-pref-theme/meta/types.ts"
529
+ },
505
530
  "src/components/mds-price-table-features-cell/meta/types.ts::PriceTableFeaturesCellType": {
506
531
  "declaration": "export type PriceTableFeaturesCellType =\n | 'custom'\n | 'label'\n | 'supported'\n | 'text'\n | 'unsupported'",
507
532
  "docstring": "",
package/loader/cdn.js CHANGED
@@ -1,3 +1,2 @@
1
-
2
1
  module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
2
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,3 +1,2 @@
1
-
2
1
  module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
2
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
package/loader/index.d.ts CHANGED
@@ -9,6 +9,9 @@ export interface CustomElementsDefineOptions {
9
9
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
10
  }
11
11
  export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
+ /**
13
+ * @deprecated
14
+ */
12
15
  export declare function applyPolyfills(): Promise<void>;
13
16
 
14
17
  /**
@@ -1,3 +1,2 @@
1
-
2
1
  export * from '../dist/esm/polyfills/index.js';
3
- export * from '../dist/esm/loader.js';
2
+ export * from '../dist/esm/loader.js';
package/loader/index.js CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
2
  export * from '../dist/esm/polyfills/index.js';
4
- export * from '../dist/esm-es5/loader.js';
3
+ export * from '../dist/esm-es5/loader.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-input-range",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "mds-input-range is a web-component from Magma Design System, 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",
@@ -24,9 +24,9 @@
24
24
  "test": "stencil test --spec --e2e"
25
25
  },
26
26
  "dependencies": {
27
- "@maggioli-design-system/styles": "14.3.2",
28
- "@maggioli-design-system/mds-text": "4.3.6",
29
- "@stencil/core": "4.10.0"
27
+ "@maggioli-design-system/styles": "15.3.0",
28
+ "@maggioli-design-system/mds-text": "4.4.0",
29
+ "@stencil/core": "4.21.0"
30
30
  },
31
31
  "license": "MIT",
32
32
  "author": {
@@ -36,14 +36,14 @@
36
36
  },
37
37
  "contributors": [
38
38
  {
39
- "name": "Nicola Tamburini",
40
- "email": "nicola.tamburini@maggioli.it",
41
- "role": "Software Engineer"
39
+ "name": "Nicola Tamburini",
40
+ "email": "nicola.tamburini@maggioli.it",
41
+ "role": "Software Engineer"
42
42
  },
43
43
  {
44
- "name": "Vittorio Vittori",
45
- "email": "vittorio.vittori@maggioli.it",
46
- "role": "Product Designer"
44
+ "name": "Vittorio Vittori",
45
+ "email": "vittorio.vittori@maggioli.it",
46
+ "role": "Product Designer"
47
47
  }
48
48
  ]
49
49
  }
package/readme.md CHANGED
@@ -24,6 +24,13 @@ This is a web-component from Maggioli Design System [Magma](https://magma.maggio
24
24
  | `mdsInputRangeChange` | Emits when the input range is changed | `CustomEvent<number>` |
25
25
 
26
26
 
27
+ ## Shadow Parts
28
+
29
+ | Part | Description |
30
+ | ---------- | ------------------------------------------------------------------ |
31
+ | `"header"` | The element containing the labels displayed over the input element |
32
+
33
+
27
34
  ## CSS Custom Properties
28
35
 
29
36
  | Name | Description |