@maggioli-design-system/mds-input-range 2.5.0 → 2.5.2

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.
@@ -31,9 +31,18 @@ const TemplateFormatLabel = args => {
31
31
  document.querySelector('#custom-labeled').formatValue = formatValue;
32
32
  }, []);
33
33
  function formatValue(v) {
34
- return `Hai selezionato il valore ${v}`;
34
+ return formatBytes(v);
35
35
  }
36
- return h("div", null, h("mds-input-range", Object.assign({ id: "custom-labeled" }, args), "Range label"));
36
+ const formatBytes = (bytes, decimals = 2) => {
37
+ if (bytes === 0)
38
+ return '0 B';
39
+ const k = 1024;
40
+ const sizes = ['B', 'kB', 'MB', 'GB', 'TB', 'PB'];
41
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
42
+ const value = parseFloat((bytes / Math.pow(k, i)).toFixed(decimals));
43
+ return `${value} ${sizes[i]}`;
44
+ };
45
+ return h("div", null, h("mds-input-range", Object.assign({ id: "custom-labeled" }, args, { step: "1048576", min: "0", max: "1073741824" }), "File size"));
37
46
  };
38
47
  const hideHeaderCss = `
39
48
  mds-input-range::part(header) {
@@ -1,14 +1,15 @@
1
1
  const buttonVariantDictionary = [
2
+ 'ai',
3
+ 'apple',
2
4
  'dark',
3
5
  'error',
6
+ 'google',
4
7
  'info',
5
8
  'light',
6
9
  'primary',
7
10
  'secondary',
8
11
  'success',
9
12
  'warning',
10
- 'google',
11
- 'apple',
12
13
  ];
13
14
  const buttonToneVariantDictionary = [
14
15
  'strong',
@@ -1,4 +1,5 @@
1
1
  const themeVariantDictionary = [
2
+ 'ai',
2
3
  'dark',
3
4
  'error',
4
5
  'info',
@@ -17,6 +18,14 @@ const themeStatusVariantDictionary = [
17
18
  'success',
18
19
  'warning',
19
20
  ];
21
+ const themeInputVariantDictionary = [
22
+ 'ai',
23
+ 'error',
24
+ 'info',
25
+ 'primary',
26
+ 'success',
27
+ 'warning',
28
+ ];
20
29
  const themeFullVariantDictionary = [
21
30
  'amaranth',
22
31
  'aqua',
@@ -71,13 +80,24 @@ const toneVariantDictionary = [
71
80
  'quiet',
72
81
  ];
73
82
  const themeVariantChipDictionary = [
74
- 'primary',
75
- 'secondary',
83
+ 'ai',
84
+ 'amaranth',
85
+ 'aqua',
86
+ 'blue',
76
87
  'dark',
77
88
  'error',
89
+ 'green',
78
90
  'info',
91
+ 'lime',
92
+ 'orange',
93
+ 'orchid',
94
+ 'primary',
95
+ 'secondary',
96
+ 'sky',
79
97
  'success',
98
+ 'violet',
80
99
  'warning',
100
+ 'yellow',
81
101
  ];
82
102
  const toneActionVariantDictionary = [
83
103
  'primary',
@@ -101,4 +121,4 @@ const toneMinimalVariantDictionary = [
101
121
  'strong',
102
122
  'weak',
103
123
  ];
104
- export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
124
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeInputVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantChipDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-04-02T09:16:45",
2
+ "timestamp": "2025-06-03T13:05:00",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.27.2",
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-04-02T09:16:46",
2
+ "timestamp": "2025-06-03T13:05:01",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "22.11.0"
@@ -1,6 +1,7 @@
1
1
  declare const themeVariantDictionary: string[];
2
2
  declare const themeLuminanceVariantDictionary: string[];
3
3
  declare const themeStatusVariantDictionary: string[];
4
+ declare const themeInputVariantDictionary: string[];
4
5
  declare const themeFullVariantDictionary: string[];
5
6
  declare const themeFullVariantAvatarDictionary: string[];
6
7
  declare const themeLabelVariantDictionary: string[];
@@ -10,4 +11,4 @@ declare const toneActionVariantDictionary: string[];
10
11
  declare const toneSimpleVariantDictionary: string[];
11
12
  declare const toneSmartVariantDictionary: string[];
12
13
  declare const toneMinimalVariantDictionary: string[];
13
- export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
14
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeInputVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantChipDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
@@ -2,4 +2,4 @@ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
2
  export type ButtonTargetType = 'self' | 'blank';
3
3
  export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type ButtonIconPositionType = 'left' | 'right';
5
- export type ButtonVariantType = 'primary' | 'secondary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning' | 'google' | 'apple';
5
+ export type ButtonVariantType = 'ai' | 'apple' | 'dark' | 'error' | 'google' | 'info' | 'light' | 'primary' | 'secondary' | 'success' | 'warning';
@@ -1,7 +1,7 @@
1
1
  export type InputControlsLayoutType = 'horizontal' | 'vertical';
2
2
  export type InputControlsIconType = 'arrow' | 'arithmetic';
3
3
  export type InputValueType = null | number | string | undefined;
4
- export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
4
+ export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url' | 'cc' | 'cf' | 'isbn' | 'piva';
5
5
  export interface MdsInputEventDetail {
6
6
  value?: File | string | FormData | null;
7
7
  }
@@ -1,11 +1,12 @@
1
1
  export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
- export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
2
+ export type ThemeInputVariantType = 'primary' | 'ai' | 'error' | 'info' | 'success' | 'warning';
3
+ export type ThemeVariantType = 'ai' | 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
4
  export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
5
  export type ThemeFullVariantAvatarType = 'amaranth' | 'aqua' | 'blue' | 'error' | 'green' | 'info' | 'lime' | 'orange' | 'orchid' | 'primary' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
5
6
  export type ThemeLuminanceVariantType = 'dark' | 'light';
6
7
  export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
7
8
  export type ActionVariantType = 'primary' | 'dark' | 'light';
8
- export type ChipVariantType = 'primary' | 'secondary' | 'dark' | 'error' | 'info' | 'success' | 'warning';
9
+ export type ChipVariantType = 'ai' | 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'lime' | 'orange' | 'orchid' | 'primary' | 'secondary' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
9
10
  export type StateVariantType = 'disabled' | 'focused' | 'readonly';
10
11
  export type ToneActionVariantType = 'primary' | 'secondary' | 'strong' | 'weak' | 'ghost' | 'quiet';
11
12
  export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-04-02T08:30:40",
2
+ "timestamp": "2025-06-03T08:10:23",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.27.2",
@@ -231,6 +231,11 @@
231
231
  }
232
232
  ],
233
233
  "typeLibrary": {
234
+ "src/components/mds-input-date-range/mds-input-date-range.tsx::EventDate": {
235
+ "declaration": "export interface EventDate {\n caller: HTMLMdsInputDateRangePreselectionElement\n start: string,\n end?: string\n}",
236
+ "docstring": "",
237
+ "path": "src/components/mds-input-date-range/mds-input-date-range.tsx"
238
+ },
234
239
  "src/components/mds-accordion/meta/event-detail.ts::MdsAccordionEventDetail": {
235
240
  "declaration": "export interface MdsAccordionEventDetail {\n children: NodeListOf<HTMLMdsAccordionItemElement>\n selected: string\n}",
236
241
  "docstring": "",
@@ -266,6 +271,11 @@
266
271
  "docstring": "",
267
272
  "path": "src/type/variant.ts"
268
273
  },
274
+ "src/components/mds-avatar-stack/meta/types.ts::AvatarSizeType": {
275
+ "declaration": "export type AvatarSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
276
+ "docstring": "",
277
+ "path": "src/components/mds-avatar-stack/meta/types.ts"
278
+ },
269
279
  "src/type/variant.ts::ThemeFullVariantType": {
270
280
  "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'",
271
281
  "docstring": "",
@@ -292,7 +302,7 @@
292
302
  "path": "src/type/typography.ts"
293
303
  },
294
304
  "src/type/variant.ts::ThemeVariantType": {
295
- "declaration": "export type ThemeVariantType =\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
305
+ "declaration": "export type ThemeVariantType =\n | 'ai'\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
296
306
  "docstring": "",
297
307
  "path": "src/type/variant.ts"
298
308
  },
@@ -337,7 +347,7 @@
337
347
  "path": "src/type/button.ts"
338
348
  },
339
349
  "src/type/button.ts::ButtonVariantType": {
340
- "declaration": "export type ButtonVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'light'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'\n | 'google'\n | 'apple'",
350
+ "declaration": "export type ButtonVariantType =\n | 'ai'\n | 'apple'\n | 'dark'\n | 'error'\n | 'google'\n | 'info'\n | 'light'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning'",
341
351
  "docstring": "",
342
352
  "path": "src/type/button.ts"
343
353
  },
@@ -356,8 +366,23 @@
356
366
  "docstring": "",
357
367
  "path": "src/type/text.ts"
358
368
  },
369
+ "src/components/mds-calendar-cell/meta/types.ts::CalendarCellType": {
370
+ "declaration": "export type CalendarCellType =\n | 'other'\n | 'current'\n | 'weekend'",
371
+ "docstring": "",
372
+ "path": "src/components/mds-calendar-cell/meta/types.ts"
373
+ },
374
+ "src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionOrieintationType": {
375
+ "declaration": "export type CalendarCellSelectionOrieintationType =\n | 'both'\n | 'horizontal'\n | 'vertical'",
376
+ "docstring": "",
377
+ "path": "src/components/mds-calendar-cell/meta/types.ts"
378
+ },
379
+ "src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionPositionType": {
380
+ "declaration": "export type CalendarCellSelectionPositionType =\n | 'end'\n | 'middle'\n | 'none'\n | 'start'\n | 'single'",
381
+ "docstring": "",
382
+ "path": "src/components/mds-calendar-cell/meta/types.ts"
383
+ },
359
384
  "src/type/variant.ts::ChipVariantType": {
360
- "declaration": "export type ChipVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
385
+ "declaration": "export type ChipVariantType =\n | 'ai'\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'dark'\n | 'error'\n | 'green'\n | 'info'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'primary'\n | 'secondary'\n | 'sky'\n | 'success'\n | 'violet'\n | 'warning'\n | 'yellow'",
361
386
  "docstring": "",
362
387
  "path": "src/type/variant.ts"
363
388
  },
@@ -481,13 +506,13 @@
481
506
  "docstring": "",
482
507
  "path": "src/type/input.ts"
483
508
  },
484
- "src/type/variant.ts::ThemeStatusVariantType": {
485
- "declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
509
+ "src/type/variant.ts::ThemeInputVariantType": {
510
+ "declaration": "export type ThemeInputVariantType =\n | 'primary'\n | 'ai'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
486
511
  "docstring": "",
487
512
  "path": "src/type/variant.ts"
488
513
  },
489
514
  "src/type/input.ts::InputTextType": {
490
- "declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
515
+ "declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'\n | 'cc'\n | 'cf'\n | 'isbn'\n | 'piva'",
491
516
  "docstring": "",
492
517
  "path": "src/type/input.ts"
493
518
  },
@@ -501,20 +526,20 @@
501
526
  "docstring": "",
502
527
  "path": "src/type/input.ts"
503
528
  },
504
- "src/components/mds-input-field/meta/types.ts::InputFieldType": {
505
- "declaration": "export type InputFieldType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'\n | 'cc'\n | 'cf'\n | 'isbn'\n | 'piva'",
506
- "docstring": "",
507
- "path": "src/components/mds-input-field/meta/types.ts"
508
- },
509
- "src/components/mds-input-field/meta/validators.ts::MdsValidatorFn": {
529
+ "src/components/mds-input/meta/validators.ts::MdsValidatorFn": {
510
530
  "declaration": "(input: string) => null | MdsValidationErrors",
511
531
  "docstring": "",
512
- "path": "src/components/mds-input-field/meta/validators.ts"
532
+ "path": "src/components/mds-input/meta/validators.ts"
513
533
  },
514
- "src/components/mds-input-field/meta/validators.ts::MdsValidationErrors": {
534
+ "src/components/mds-input/meta/validators.ts::MdsValidationErrors": {
515
535
  "declaration": "export interface MdsValidationErrors {\n [key: string]: string\n}",
516
536
  "docstring": "",
517
- "path": "src/components/mds-input-field/meta/validators.ts"
537
+ "path": "src/components/mds-input/meta/validators.ts"
538
+ },
539
+ "src/type/variant.ts::ThemeStatusVariantType": {
540
+ "declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
541
+ "docstring": "",
542
+ "path": "src/type/variant.ts"
518
543
  },
519
544
  "src/components/mds-input-switch/meta/types.ts::InputSwitchSizeType": {
520
545
  "declaration": "export type InputSwitchSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
@@ -606,6 +631,11 @@
606
631
  "docstring": "",
607
632
  "path": "src/components/mds-paginator/meta/event-detail.ts"
608
633
  },
634
+ "src/components/mds-policy-ai/meta/types.ts::PolicyAiVariant": {
635
+ "declaration": "export type PolicyAiVariant =\n | 'icon'\n | 'chip'\n | 'card'\n | 'banner'",
636
+ "docstring": "",
637
+ "path": "src/components/mds-policy-ai/meta/types.ts"
638
+ },
609
639
  "src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
610
640
  "declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
611
641
  "docstring": "",
@@ -676,6 +706,16 @@
676
706
  "docstring": "",
677
707
  "path": "src/type/text.ts"
678
708
  },
709
+ "src/components/mds-radial-menu/meta/types.ts::Direction": {
710
+ "declaration": "export type Direction =\n | 'clockwise'\n | 'counterclockwise'",
711
+ "docstring": "",
712
+ "path": "src/components/mds-radial-menu/meta/types.ts"
713
+ },
714
+ "src/components/mds-radial-menu/meta/types.ts::Interaction": {
715
+ "declaration": "export type Interaction =\n | 'click'\n | 'rightclick'",
716
+ "docstring": "",
717
+ "path": "src/components/mds-radial-menu/meta/types.ts"
718
+ },
679
719
  "src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
680
720
  "declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
681
721
  "docstring": "",
@@ -736,11 +776,6 @@
736
776
  "docstring": "",
737
777
  "path": "src/type/text.ts"
738
778
  },
739
- "src/type/variant.ts::ThemeLuminanceVariantType": {
740
- "declaration": "export type ThemeLuminanceVariantType =\n | 'dark'\n | 'light'",
741
- "docstring": "",
742
- "path": "src/type/variant.ts"
743
- },
744
779
  "src/components/mds-toast/meta/types.ts::ToastPosition": {
745
780
  "declaration": "export type ToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'",
746
781
  "docstring": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-input-range",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
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 JavaScript framework you are using.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "test": "stencil test --spec --e2e"
25
25
  },
26
26
  "dependencies": {
27
- "@maggioli-design-system/styles": "15.9.1",
28
- "@maggioli-design-system/mds-text": "4.7.2",
27
+ "@maggioli-design-system/styles": "15.11.0",
28
+ "@maggioli-design-system/mds-text": "4.7.4",
29
29
  "@stencil/core": "4.27.2"
30
30
  },
31
31
  "license": "MIT",
@@ -37,11 +37,23 @@ const TemplateFormatLabel = args => {
37
37
  (document.querySelector('#custom-labeled') as HTMLMdsInputRangeElement).formatValue = formatValue
38
38
  }, [])
39
39
  function formatValue (v: number) {
40
- return `Hai selezionato il valore ${v}`
40
+ return formatBytes(v)
41
41
  }
42
+
43
+ const formatBytes = (bytes, decimals = 2) => {
44
+ if (bytes === 0) return '0 B'
45
+
46
+ const k = 1024
47
+ const sizes = ['B', 'kB', 'MB', 'GB', 'TB', 'PB']
48
+ const i = Math.floor(Math.log(bytes) / Math.log(k))
49
+
50
+ const value = parseFloat((bytes / Math.pow(k, i)).toFixed(decimals))
51
+ return `${value} ${sizes[i]}`
52
+ }
53
+
42
54
  return <div>
43
- <mds-input-range id="custom-labeled" {...args}>
44
- Range label
55
+ <mds-input-range id="custom-labeled" {...args} step="1048576" min="0" max="1073741824">
56
+ File size
45
57
  </mds-input-range>
46
58
  </div>
47
59
  }
@@ -1,14 +1,15 @@
1
1
  const buttonVariantDictionary = [
2
+ 'ai',
3
+ 'apple',
2
4
  'dark',
3
5
  'error',
6
+ 'google',
4
7
  'info',
5
8
  'light',
6
9
  'primary',
7
10
  'secondary',
8
11
  'success',
9
12
  'warning',
10
- 'google',
11
- 'apple',
12
13
  ]
13
14
 
14
15
  const buttonToneVariantDictionary = [
@@ -1,4 +1,5 @@
1
1
  const themeVariantDictionary = [
2
+ 'ai',
2
3
  'dark',
3
4
  'error',
4
5
  'info',
@@ -20,6 +21,15 @@ const themeStatusVariantDictionary = [
20
21
  'warning',
21
22
  ]
22
23
 
24
+ const themeInputVariantDictionary = [
25
+ 'ai',
26
+ 'error',
27
+ 'info',
28
+ 'primary',
29
+ 'success',
30
+ 'warning',
31
+ ]
32
+
23
33
  const themeFullVariantDictionary = [
24
34
  'amaranth',
25
35
  'aqua',
@@ -78,13 +88,24 @@ const toneVariantDictionary = [
78
88
  ]
79
89
 
80
90
  const themeVariantChipDictionary = [
81
- 'primary',
82
- 'secondary',
91
+ 'ai',
92
+ 'amaranth',
93
+ 'aqua',
94
+ 'blue',
83
95
  'dark',
84
96
  'error',
97
+ 'green',
85
98
  'info',
99
+ 'lime',
100
+ 'orange',
101
+ 'orchid',
102
+ 'primary',
103
+ 'secondary',
104
+ 'sky',
86
105
  'success',
106
+ 'violet',
87
107
  'warning',
108
+ 'yellow',
88
109
  ]
89
110
 
90
111
  const toneActionVariantDictionary = [
@@ -116,11 +137,12 @@ const toneMinimalVariantDictionary = [
116
137
  export {
117
138
  themeFullVariantAvatarDictionary,
118
139
  themeFullVariantDictionary,
140
+ themeInputVariantDictionary,
119
141
  themeLabelVariantDictionary,
120
142
  themeLuminanceVariantDictionary,
121
143
  themeStatusVariantDictionary,
122
- themeVariantDictionary,
123
144
  themeVariantChipDictionary,
145
+ themeVariantDictionary,
124
146
  toneActionVariantDictionary,
125
147
  toneMinimalVariantDictionary,
126
148
  toneSimpleVariantDictionary,
@@ -19,6 +19,14 @@
19
19
  "mdi/license",
20
20
  "mdi/map-marker",
21
21
  "mdi/npm",
22
+ "mdi/numeric-1",
23
+ "mdi/numeric-2",
24
+ "mdi/numeric-3",
25
+ "mdi/numeric-4",
26
+ "mdi/numeric-5",
27
+ "mdi/numeric-6",
28
+ "mdi/numeric-7",
29
+ "mdi/numeric-8",
22
30
  "mdi/replay",
23
31
  "mdi/vector-curve",
24
32
  "mgg/abitazione-principale",
@@ -45,6 +53,8 @@
45
53
  "mgg/adv-denied",
46
54
  "mgg/ai-brain",
47
55
  "mgg/ai-brain-outline",
56
+ "mgg/ai-chatbot",
57
+ "mgg/ai-chatbot-outline",
48
58
  "mgg/ai-human",
49
59
  "mgg/ai-message",
50
60
  "mgg/ai-outline",
@@ -108,6 +118,7 @@
108
118
  "mgg/document-magic",
109
119
  "mgg/document-rename",
110
120
  "mgg/download-csv",
121
+ "mgg/download-html",
111
122
  "mgg/download-json",
112
123
  "mgg/edit-article",
113
124
  "mgg/electronic-document",
@@ -130,6 +141,7 @@
130
141
  "mgg/file-download",
131
142
  "mgg/file-folder-tree",
132
143
  "mgg/file-folder-tree-open",
144
+ "mgg/file-html",
133
145
  "mgg/file-import",
134
146
  "mgg/file-odt",
135
147
  "mgg/file-rtf",
@@ -333,7 +345,9 @@
333
345
  "mi/baseline/agriculture",
334
346
  "mi/baseline/animation",
335
347
  "mi/baseline/arrow-back",
348
+ "mi/baseline/arrow-back-ios-new",
336
349
  "mi/baseline/arrow-forward",
350
+ "mi/baseline/arrow-forward-ios",
337
351
  "mi/baseline/attach-file",
338
352
  "mi/baseline/attachment",
339
353
  "mi/baseline/audiotrack",
@@ -343,6 +357,7 @@
343
357
  "mi/baseline/book",
344
358
  "mi/baseline/border-all",
345
359
  "mi/baseline/broken-image",
360
+ "mi/baseline/calendar-today",
346
361
  "mi/baseline/call",
347
362
  "mi/baseline/cancel",
348
363
  "mi/baseline/category",
@@ -364,6 +379,7 @@
364
379
  "mi/baseline/downhill-skiing",
365
380
  "mi/baseline/draw",
366
381
  "mi/baseline/eco",
382
+ "mi/baseline/edit",
367
383
  "mi/baseline/email",
368
384
  "mi/baseline/error",
369
385
  "mi/baseline/expand-more",
@@ -377,6 +393,7 @@
377
393
  "mi/baseline/indeterminate-check-box",
378
394
  "mi/baseline/info",
379
395
  "mi/baseline/insert-drive-file",
396
+ "mi/baseline/ios-share",
380
397
  "mi/baseline/keyboard",
381
398
  "mi/baseline/keyboard-arrow-down",
382
399
  "mi/baseline/keyboard-arrow-left",
@@ -388,6 +405,7 @@
388
405
  "mi/baseline/keyboard-return",
389
406
  "mi/baseline/keyboard-tab",
390
407
  "mi/baseline/light-mode",
408
+ "mi/baseline/list-alt",
391
409
  "mi/baseline/local-activity",
392
410
  "mi/baseline/location-city",
393
411
  "mi/baseline/lock-open",
@@ -400,6 +418,8 @@
400
418
  "mi/baseline/panorama",
401
419
  "mi/baseline/person",
402
420
  "mi/baseline/pets",
421
+ "mi/baseline/print",
422
+ "mi/baseline/privacy-tip",
403
423
  "mi/baseline/radio-button-checked",
404
424
  "mi/baseline/radio-button-unchecked",
405
425
  "mi/baseline/remove",
@@ -432,6 +452,9 @@
432
452
  "mi/outline/circle",
433
453
  "mi/outline/dark-mode",
434
454
  "mi/outline/help-outline",
455
+ "mi/outline/mic",
456
+ "mi/outline/mic-off",
457
+ "mi/outline/policy",
435
458
  "mi/outline/schedule",
436
459
  "mi/round/arrow-circle-down",
437
460
  "mi/round/email",
@@ -23,6 +23,8 @@
23
23
  "mgg/adv-denied",
24
24
  "mgg/ai-brain-outline",
25
25
  "mgg/ai-brain",
26
+ "mgg/ai-chatbot-outline",
27
+ "mgg/ai-chatbot",
26
28
  "mgg/ai-human",
27
29
  "mgg/ai-message",
28
30
  "mgg/ai-outline",
@@ -86,6 +88,7 @@
86
88
  "mgg/document-magic",
87
89
  "mgg/document-rename",
88
90
  "mgg/download-csv",
91
+ "mgg/download-html",
89
92
  "mgg/download-json",
90
93
  "mgg/edit-article",
91
94
  "mgg/electronic-document",
@@ -108,6 +111,7 @@
108
111
  "mgg/file-download",
109
112
  "mgg/file-folder-tree-open",
110
113
  "mgg/file-folder-tree",
114
+ "mgg/file-html",
111
115
  "mgg/file-import",
112
116
  "mgg/file-odt",
113
117
  "mgg/file-rtf",
@@ -19,13 +19,14 @@ export type ButtonIconPositionType =
19
19
  | 'right'
20
20
 
21
21
  export type ButtonVariantType =
22
- | 'primary'
23
- | 'secondary'
22
+ | 'ai'
23
+ | 'apple'
24
24
  | 'dark'
25
- | 'light'
26
25
  | 'error'
26
+ | 'google'
27
27
  | 'info'
28
+ | 'light'
29
+ | 'primary'
30
+ | 'secondary'
28
31
  | 'success'
29
32
  | 'warning'
30
- | 'google'
31
- | 'apple'
package/src/type/input.ts CHANGED
@@ -23,6 +23,10 @@ export type InputTextType =
23
23
  | 'textarea'
24
24
  | 'time'
25
25
  | 'url'
26
+ | 'cc'
27
+ | 'cf'
28
+ | 'isbn'
29
+ | 'piva'
26
30
 
27
31
  export interface MdsInputEventDetail {
28
32
  value?: File | string | FormData | null
@@ -4,7 +4,16 @@ export type ThemeStatusVariantType =
4
4
  | 'success'
5
5
  | 'warning'
6
6
 
7
+ export type ThemeInputVariantType =
8
+ | 'primary'
9
+ | 'ai'
10
+ | 'error'
11
+ | 'info'
12
+ | 'success'
13
+ | 'warning'
14
+
7
15
  export type ThemeVariantType =
16
+ | 'ai'
8
17
  | 'dark'
9
18
  | 'error'
10
19
  | 'info'
@@ -70,13 +79,24 @@ export type ActionVariantType =
70
79
  | 'light'
71
80
 
72
81
  export type ChipVariantType =
73
- | 'primary'
74
- | 'secondary'
82
+ | 'ai'
83
+ | 'amaranth'
84
+ | 'aqua'
85
+ | 'blue'
75
86
  | 'dark'
76
87
  | 'error'
88
+ | 'green'
77
89
  | 'info'
90
+ | 'lime'
91
+ | 'orange'
92
+ | 'orchid'
93
+ | 'primary'
94
+ | 'secondary'
95
+ | 'sky'
78
96
  | 'success'
97
+ | 'violet'
79
98
  | 'warning'
99
+ | 'yellow'
80
100
 
81
101
  export type StateVariantType =
82
102
  | 'disabled'