@maggioli-design-system/mds-progress 2.8.3 → 2.9.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 (85) hide show
  1. package/dist/cjs/mds-progress.cjs.entry.js +1 -1
  2. package/dist/cjs/mds-progress.cjs.js +1 -1
  3. package/dist/collection/collection-manifest.json +2 -2
  4. package/dist/collection/common/file.js +48 -0
  5. package/dist/collection/common/icon.js +15 -0
  6. package/dist/collection/common/unit.js +15 -3
  7. package/dist/collection/common/yugop/core.js +16 -0
  8. package/dist/collection/common/yugop/index.js +3 -0
  9. package/dist/collection/common/yugop/random-text.js +59 -0
  10. package/dist/collection/common/yugop/utils/math.js +11 -0
  11. package/dist/collection/common/yugop/utils/noop.js +1 -0
  12. package/dist/collection/common/yugop/utils/prng.js +21 -0
  13. package/dist/collection/common/yugop/utils/string.js +2 -0
  14. package/dist/collection/components/mds-progress/mds-progress.css +195 -0
  15. package/dist/collection/dictionary/file-extensions.js +64 -0
  16. package/dist/collection/dictionary/icon.js +6 -1
  17. package/dist/collection/dictionary/text.js +6 -0
  18. package/dist/collection/dictionary/variant.js +18 -1
  19. package/dist/collection/fixtures/filenames.js +57 -0
  20. package/dist/collection/type/file-types.js +1 -0
  21. package/dist/collection/type/text.js +1 -0
  22. package/dist/collection/type/variant-file-format.js +111 -0
  23. package/dist/components/mds-progress.js +1 -1
  24. package/dist/documentation.json +3 -3
  25. package/dist/esm/mds-progress.entry.js +1 -1
  26. package/dist/esm/mds-progress.js +1 -1
  27. package/dist/esm-es5/mds-progress.entry.js +1 -1
  28. package/dist/mds-progress/mds-progress.esm.js +1 -1
  29. package/dist/mds-progress/mds-progress.js +1 -1
  30. package/dist/mds-progress/p-20cc5857.system.entry.js +1 -0
  31. package/{www/build/p-690d2715.system.js → dist/mds-progress/p-91249106.system.js} +1 -1
  32. package/dist/mds-progress/p-b8ddb760.entry.js +1 -0
  33. package/dist/stats.json +57 -18
  34. package/dist/types/common/file.d.ts +12 -0
  35. package/dist/types/common/icon.d.ts +5 -0
  36. package/dist/types/common/unit.d.ts +2 -1
  37. package/dist/types/common/yugop/core.d.ts +10 -0
  38. package/dist/types/common/yugop/index.d.ts +1 -0
  39. package/dist/types/common/yugop/random-text.d.ts +31 -0
  40. package/dist/types/common/yugop/utils/math.d.ts +3 -0
  41. package/dist/types/common/yugop/utils/noop.d.ts +1 -0
  42. package/dist/types/common/yugop/utils/prng.d.ts +8 -0
  43. package/dist/types/common/yugop/utils/string.d.ts +1 -0
  44. package/dist/types/dictionary/file-extensions.d.ts +11 -0
  45. package/dist/types/dictionary/icon.d.ts +2 -1
  46. package/dist/types/dictionary/text.d.ts +2 -0
  47. package/dist/types/dictionary/variant.d.ts +2 -1
  48. package/dist/types/fixtures/filenames.d.ts +2 -0
  49. package/dist/types/type/file-types.d.ts +1 -0
  50. package/dist/types/type/text.d.ts +1 -0
  51. package/dist/types/type/variant-file-format.d.ts +11 -0
  52. package/dist/types/type/variant.d.ts +1 -0
  53. package/documentation.json +51 -12
  54. package/package.json +3 -3
  55. package/readme.md +2 -0
  56. package/src/common/file.ts +63 -0
  57. package/src/common/icon.ts +25 -0
  58. package/src/common/unit.ts +21 -2
  59. package/src/common/yugop/core.ts +47 -0
  60. package/src/common/yugop/index.ts +4 -0
  61. package/src/common/yugop/random-text.ts +95 -0
  62. package/src/common/yugop/utils/math.ts +21 -0
  63. package/src/common/yugop/utils/noop.ts +1 -0
  64. package/src/common/yugop/utils/prng.ts +35 -0
  65. package/src/common/yugop/utils/string.ts +4 -0
  66. package/src/dictionary/file-extensions.ts +81 -0
  67. package/src/dictionary/icon.ts +6 -0
  68. package/src/dictionary/text.ts +9 -0
  69. package/src/dictionary/variant.ts +19 -0
  70. package/src/fixtures/filenames.ts +60 -0
  71. package/src/fixtures/icons.json +10 -0
  72. package/src/fixtures/iconsauce.json +3 -0
  73. package/src/type/file-types.ts +55 -0
  74. package/src/type/text.ts +4 -0
  75. package/src/type/variant-file-format.ts +128 -0
  76. package/src/type/variant.ts +17 -0
  77. package/www/build/mds-progress.esm.js +1 -1
  78. package/www/build/mds-progress.js +1 -1
  79. package/www/build/p-20cc5857.system.entry.js +1 -0
  80. package/{dist/mds-progress/p-690d2715.system.js → www/build/p-91249106.system.js} +1 -1
  81. package/www/build/p-b8ddb760.entry.js +1 -0
  82. package/dist/mds-progress/p-3e473a5b.entry.js +0 -1
  83. package/dist/mds-progress/p-9135177f.system.entry.js +0 -1
  84. package/www/build/p-3e473a5b.entry.js +0 -1
  85. package/www/build/p-9135177f.system.entry.js +0 -1
@@ -0,0 +1,111 @@
1
+ import baselineFolderZip from "@icon/mi/baseline/folder-zip.svg";
2
+ import baselineAttachFile from "@icon/mi/baseline/attach-file.svg";
3
+ import baselineAudiotrack from "@icon/mi/baseline/audiotrack.svg";
4
+ import baselineTerminal from "@icon/mi/baseline/terminal.svg";
5
+ import baselineInsertDriveFile from "@icon/mi/baseline/insert-drive-file.svg";
6
+ import mdiHardDisk from "@icon/mdi/harddisk.svg";
7
+ const fileFormatsVariant = {
8
+ archive: {
9
+ color: 'fill-label-amaranth-04 text-label-amaranth-04',
10
+ icon: baselineFolderZip,
11
+ iconBackground: 'bg-label-amaranth-10',
12
+ variant: 'amaranth',
13
+ },
14
+ attachment: {
15
+ color: 'fill-tone-neutral-04 text-tone-neutral-04',
16
+ icon: baselineAttachFile,
17
+ iconBackground: 'bg-tone-neutral-10',
18
+ variant: 'dark',
19
+ },
20
+ audio: {
21
+ color: 'fill-label-violet-04 text-label-violet-04',
22
+ icon: baselineAudiotrack,
23
+ iconBackground: 'bg-label-violet-10',
24
+ variant: 'violet',
25
+ },
26
+ code: {
27
+ color: 'fill-label-yellow-04 text-label-yellow-04',
28
+ icon: baselineTerminal,
29
+ iconBackground: 'bg-label-yellow-10',
30
+ variant: 'yellow',
31
+ },
32
+ data: {
33
+ color: 'fill-label-yellow-04 text-label-yellow-04',
34
+ icon: mdiHardDisk,
35
+ iconBackground: 'bg-label-yellow-10',
36
+ variant: 'yellow',
37
+ },
38
+ document: {
39
+ color: 'fill-label-orange-04 text-label-orange-04',
40
+ icon: baselineInsertDriveFile,
41
+ iconBackground: 'bg-label-orange-10',
42
+ variant: 'orange',
43
+ },
44
+ email: {
45
+ color: 'fill-label-blue-04 text-label-blue-04',
46
+ icon: 'mi/baseline/email',
47
+ iconBackground: 'bg-label-blue-10',
48
+ variant: 'blue',
49
+ },
50
+ executable: {
51
+ color: 'fill-label-amaranth-04 text-label-amaranth-04',
52
+ icon: 'mi/baseline/wysiwyg',
53
+ iconBackground: 'bg-label-amaranth-10',
54
+ variant: 'amaranth',
55
+ },
56
+ image: {
57
+ color: 'fill-label-green-04 text-label-green-04',
58
+ icon: 'mi/baseline/panorama',
59
+ iconBackground: 'bg-label-green-10',
60
+ variant: 'green',
61
+ },
62
+ imageRaster: {
63
+ color: 'fill-label-green-04 text-label-green-04',
64
+ icon: 'mi/baseline/panorama',
65
+ iconBackground: 'bg-label-green-10',
66
+ variant: 'green',
67
+ },
68
+ markup: {
69
+ color: 'fill-label-yellow-04 text-label-yellow-04',
70
+ icon: 'mi/baseline/web',
71
+ iconBackground: 'bg-label-yellow-10',
72
+ variant: 'yellow',
73
+ },
74
+ slide: {
75
+ color: 'fill-label-orchid-04 text-label-orchid-04',
76
+ icon: 'mi/baseline/tv',
77
+ iconBackground: 'bg-label-orchid-10',
78
+ variant: 'orchid',
79
+ },
80
+ spreadsheet: {
81
+ color: 'fill-label-lime-04 text-label-lime-04',
82
+ icon: 'mi/baseline/border-all',
83
+ iconBackground: 'bg-label-lime-10',
84
+ variant: 'lime',
85
+ },
86
+ text: {
87
+ color: 'fill-label-blue-04 text-label-blue-04',
88
+ icon: 'mi/baseline/description',
89
+ iconBackground: 'bg-label-blue-10',
90
+ variant: 'blue',
91
+ },
92
+ vectorImage: {
93
+ color: 'fill-label-aqua-04 text-label-aqua-04',
94
+ icon: 'mdi/vector-curve',
95
+ iconBackground: 'bg-label-aqua-10',
96
+ variant: 'aqua',
97
+ },
98
+ vector: {
99
+ color: 'fill-label-aqua-04 text-label-aqua-04',
100
+ icon: 'mdi/vector-curve',
101
+ iconBackground: 'bg-label-aqua-10',
102
+ variant: 'aqua',
103
+ },
104
+ video: {
105
+ color: 'fill-label-violet-04 text-label-violet-04',
106
+ icon: 'mi/baseline/videocam',
107
+ iconBackground: 'bg-label-violet-10',
108
+ variant: 'violet',
109
+ },
110
+ };
111
+ export { fileFormatsVariant, };
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
3
+ const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgb(var(--label-amaranth-10) / var(--tw-bg-opacity))}.bg-label-aqua-10{--tw-bg-opacity:1;background-color:rgb(var(--label-aqua-10) / var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgb(var(--label-blue-10) / var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgb(var(--label-green-10) / var(--tw-bg-opacity))}.bg-label-lime-10{--tw-bg-opacity:1;background-color:rgb(var(--label-lime-10) / var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orange-10) / var(--tw-bg-opacity))}.bg-label-orchid-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orchid-10) / var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgb(var(--label-violet-10) / var(--tw-bg-opacity))}.bg-label-yellow-10{--tw-bg-opacity:1;background-color:rgb(var(--label-yellow-10) / var(--tw-bg-opacity))}.bg-tone-neutral-10{--tw-bg-opacity:1;background-color:rgb(var(--tone-neutral-10) / var(--tw-bg-opacity))}.fill-label-amaranth-04{fill:rgb(var(--label-amaranth-04))}.fill-label-aqua-04{fill:rgb(var(--label-aqua-04))}.fill-label-blue-04{fill:rgb(var(--label-blue-04))}.fill-label-green-04{fill:rgb(var(--label-green-04))}.fill-label-lime-04{fill:rgb(var(--label-lime-04))}.fill-label-orange-04{fill:rgb(var(--label-orange-04))}.fill-label-orchid-04{fill:rgb(var(--label-orchid-04))}.fill-label-violet-04{fill:rgb(var(--label-violet-04))}.fill-label-yellow-04{fill:rgb(var(--label-yellow-04))}.fill-tone-neutral-04{fill:rgb(var(--tone-neutral-04))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgb(var(--label-amaranth-04) / var(--tw-text-opacity))}.text-label-aqua-04{--tw-text-opacity:1;color:rgb(var(--label-aqua-04) / var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgb(var(--label-blue-04) / var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgb(var(--label-green-04) / var(--tw-text-opacity))}.text-label-lime-04{--tw-text-opacity:1;color:rgb(var(--label-lime-04) / var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgb(var(--label-orange-04) / var(--tw-text-opacity))}.text-label-orchid-04{--tw-text-opacity:1;color:rgb(var(--label-orchid-04) / var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgb(var(--label-violet-04) / var(--tw-text-opacity))}.text-label-yellow-04{--tw-text-opacity:1;color:rgb(var(--label-yellow-04) / var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgb(var(--tone-neutral-04) / var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
4
4
 
5
5
  const MdsProgress$1 = /*@__PURE__*/ proxyCustomElement(class MdsProgress extends HTMLElement {
6
6
  constructor() {
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-01-10T08:26:41",
2
+ "timestamp": "2024-02-09T14:53:43",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.9.1",
6
- "typescriptVersion": "5.2.2"
5
+ "version": "4.10.0",
6
+ "typescriptVersion": "5.3.3"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-370f577b.js';
2
2
 
3
- const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
3
+ const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgb(var(--label-amaranth-10) / var(--tw-bg-opacity))}.bg-label-aqua-10{--tw-bg-opacity:1;background-color:rgb(var(--label-aqua-10) / var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgb(var(--label-blue-10) / var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgb(var(--label-green-10) / var(--tw-bg-opacity))}.bg-label-lime-10{--tw-bg-opacity:1;background-color:rgb(var(--label-lime-10) / var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orange-10) / var(--tw-bg-opacity))}.bg-label-orchid-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orchid-10) / var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgb(var(--label-violet-10) / var(--tw-bg-opacity))}.bg-label-yellow-10{--tw-bg-opacity:1;background-color:rgb(var(--label-yellow-10) / var(--tw-bg-opacity))}.bg-tone-neutral-10{--tw-bg-opacity:1;background-color:rgb(var(--tone-neutral-10) / var(--tw-bg-opacity))}.fill-label-amaranth-04{fill:rgb(var(--label-amaranth-04))}.fill-label-aqua-04{fill:rgb(var(--label-aqua-04))}.fill-label-blue-04{fill:rgb(var(--label-blue-04))}.fill-label-green-04{fill:rgb(var(--label-green-04))}.fill-label-lime-04{fill:rgb(var(--label-lime-04))}.fill-label-orange-04{fill:rgb(var(--label-orange-04))}.fill-label-orchid-04{fill:rgb(var(--label-orchid-04))}.fill-label-violet-04{fill:rgb(var(--label-violet-04))}.fill-label-yellow-04{fill:rgb(var(--label-yellow-04))}.fill-tone-neutral-04{fill:rgb(var(--tone-neutral-04))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgb(var(--label-amaranth-04) / var(--tw-text-opacity))}.text-label-aqua-04{--tw-text-opacity:1;color:rgb(var(--label-aqua-04) / var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgb(var(--label-blue-04) / var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgb(var(--label-green-04) / var(--tw-text-opacity))}.text-label-lime-04{--tw-text-opacity:1;color:rgb(var(--label-lime-04) / var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgb(var(--label-orange-04) / var(--tw-text-opacity))}.text-label-orchid-04{--tw-text-opacity:1;color:rgb(var(--label-orchid-04) / var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgb(var(--label-violet-04) / var(--tw-text-opacity))}.text-label-yellow-04{--tw-text-opacity:1;color:rgb(var(--label-yellow-04) / var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgb(var(--tone-neutral-04) / var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=\"dark\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
4
4
 
5
5
  const MdsProgress = class {
6
6
  constructor(hostRef) {
@@ -2,7 +2,7 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-370f577b.js';
2
2
  export { s as setNonce } from './index-370f577b.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.9.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-370f577b.js";var mdsProgressCss='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
1
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-370f577b.js";var mdsProgressCss='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgb(var(--label-amaranth-10) / var(--tw-bg-opacity))}.bg-label-aqua-10{--tw-bg-opacity:1;background-color:rgb(var(--label-aqua-10) / var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgb(var(--label-blue-10) / var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgb(var(--label-green-10) / var(--tw-bg-opacity))}.bg-label-lime-10{--tw-bg-opacity:1;background-color:rgb(var(--label-lime-10) / var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orange-10) / var(--tw-bg-opacity))}.bg-label-orchid-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orchid-10) / var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgb(var(--label-violet-10) / var(--tw-bg-opacity))}.bg-label-yellow-10{--tw-bg-opacity:1;background-color:rgb(var(--label-yellow-10) / var(--tw-bg-opacity))}.bg-tone-neutral-10{--tw-bg-opacity:1;background-color:rgb(var(--tone-neutral-10) / var(--tw-bg-opacity))}.fill-label-amaranth-04{fill:rgb(var(--label-amaranth-04))}.fill-label-aqua-04{fill:rgb(var(--label-aqua-04))}.fill-label-blue-04{fill:rgb(var(--label-blue-04))}.fill-label-green-04{fill:rgb(var(--label-green-04))}.fill-label-lime-04{fill:rgb(var(--label-lime-04))}.fill-label-orange-04{fill:rgb(var(--label-orange-04))}.fill-label-orchid-04{fill:rgb(var(--label-orchid-04))}.fill-label-violet-04{fill:rgb(var(--label-violet-04))}.fill-label-yellow-04{fill:rgb(var(--label-yellow-04))}.fill-tone-neutral-04{fill:rgb(var(--tone-neutral-04))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgb(var(--label-amaranth-04) / var(--tw-text-opacity))}.text-label-aqua-04{--tw-text-opacity:1;color:rgb(var(--label-aqua-04) / var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgb(var(--label-blue-04) / var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgb(var(--label-green-04) / var(--tw-text-opacity))}.text-label-lime-04{--tw-text-opacity:1;color:rgb(var(--label-lime-04) / var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgb(var(--label-orange-04) / var(--tw-text-opacity))}.text-label-orchid-04{--tw-text-opacity:1;color:rgb(var(--label-orchid-04) / var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgb(var(--label-violet-04) / var(--tw-text-opacity))}.text-label-yellow-04{--tw-text-opacity:1;color:rgb(var(--label-yellow-04) / var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgb(var(--tone-neutral-04) / var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
@@ -1 +1 @@
1
- import{p as e,b as r}from"./p-87430859.js";export{s as setNonce}from"./p-87430859.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-3e473a5b",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
1
+ import{p as r,b as e}from"./p-87430859.js";export{s as setNonce}from"./p-87430859.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),r(e)})().then((s=>e([["p-b8ddb760",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-690d2715.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-91249106.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -0,0 +1 @@
1
+ System.register(["./p-bf3c5077.system.js"],(function(r){"use strict";var t,o,a,e;return{setters:[function(r){t=r.r;o=r.h;a=r.H;e=r.g}],execute:function(){var l='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgb(var(--label-amaranth-10) / var(--tw-bg-opacity))}.bg-label-aqua-10{--tw-bg-opacity:1;background-color:rgb(var(--label-aqua-10) / var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgb(var(--label-blue-10) / var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgb(var(--label-green-10) / var(--tw-bg-opacity))}.bg-label-lime-10{--tw-bg-opacity:1;background-color:rgb(var(--label-lime-10) / var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orange-10) / var(--tw-bg-opacity))}.bg-label-orchid-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orchid-10) / var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgb(var(--label-violet-10) / var(--tw-bg-opacity))}.bg-label-yellow-10{--tw-bg-opacity:1;background-color:rgb(var(--label-yellow-10) / var(--tw-bg-opacity))}.bg-tone-neutral-10{--tw-bg-opacity:1;background-color:rgb(var(--tone-neutral-10) / var(--tw-bg-opacity))}.fill-label-amaranth-04{fill:rgb(var(--label-amaranth-04))}.fill-label-aqua-04{fill:rgb(var(--label-aqua-04))}.fill-label-blue-04{fill:rgb(var(--label-blue-04))}.fill-label-green-04{fill:rgb(var(--label-green-04))}.fill-label-lime-04{fill:rgb(var(--label-lime-04))}.fill-label-orange-04{fill:rgb(var(--label-orange-04))}.fill-label-orchid-04{fill:rgb(var(--label-orchid-04))}.fill-label-violet-04{fill:rgb(var(--label-violet-04))}.fill-label-yellow-04{fill:rgb(var(--label-yellow-04))}.fill-tone-neutral-04{fill:rgb(var(--tone-neutral-04))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgb(var(--label-amaranth-04) / var(--tw-text-opacity))}.text-label-aqua-04{--tw-text-opacity:1;color:rgb(var(--label-aqua-04) / var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgb(var(--label-blue-04) / var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgb(var(--label-green-04) / var(--tw-text-opacity))}.text-label-lime-04{--tw-text-opacity:1;color:rgb(var(--label-lime-04) / var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgb(var(--label-orange-04) / var(--tw-text-opacity))}.text-label-orchid-04{--tw-text-opacity:1;color:rgb(var(--label-orchid-04) / var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgb(var(--label-violet-04) / var(--tw-text-opacity))}.text-label-yellow-04{--tw-text-opacity:1;color:rgb(var(--label-yellow-04) / var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgb(var(--tone-neutral-04) / var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var i=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return o(a,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},o("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());i.style=l}}}));
@@ -1 +1 @@
1
- System.register(["./p-bf3c5077.system.js"],(function(e,s){"use strict";var r,t;return{setters:[function(s){r=s.p;t=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){var e=s.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return r(t)};e().then((function(e){return t([["p-9135177f.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
1
+ System.register(["./p-bf3c5077.system.js"],(function(e,s){"use strict";var r,t;return{setters:[function(s){r=s.p;t=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){var e=s.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return r(t)};e().then((function(e){return t([["p-20cc5857.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
@@ -0,0 +1 @@
1
+ import{r,h as t,H as o,g as a}from"./p-87430859.js";const e=class{constructor(t){r(this,t),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return t(o,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},t("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return a(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};e.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgb(var(--label-amaranth-10) / var(--tw-bg-opacity))}.bg-label-aqua-10{--tw-bg-opacity:1;background-color:rgb(var(--label-aqua-10) / var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgb(var(--label-blue-10) / var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgb(var(--label-green-10) / var(--tw-bg-opacity))}.bg-label-lime-10{--tw-bg-opacity:1;background-color:rgb(var(--label-lime-10) / var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orange-10) / var(--tw-bg-opacity))}.bg-label-orchid-10{--tw-bg-opacity:1;background-color:rgb(var(--label-orchid-10) / var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgb(var(--label-violet-10) / var(--tw-bg-opacity))}.bg-label-yellow-10{--tw-bg-opacity:1;background-color:rgb(var(--label-yellow-10) / var(--tw-bg-opacity))}.bg-tone-neutral-10{--tw-bg-opacity:1;background-color:rgb(var(--tone-neutral-10) / var(--tw-bg-opacity))}.fill-label-amaranth-04{fill:rgb(var(--label-amaranth-04))}.fill-label-aqua-04{fill:rgb(var(--label-aqua-04))}.fill-label-blue-04{fill:rgb(var(--label-blue-04))}.fill-label-green-04{fill:rgb(var(--label-green-04))}.fill-label-lime-04{fill:rgb(var(--label-lime-04))}.fill-label-orange-04{fill:rgb(var(--label-orange-04))}.fill-label-orchid-04{fill:rgb(var(--label-orchid-04))}.fill-label-violet-04{fill:rgb(var(--label-violet-04))}.fill-label-yellow-04{fill:rgb(var(--label-yellow-04))}.fill-tone-neutral-04{fill:rgb(var(--tone-neutral-04))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgb(var(--label-amaranth-04) / var(--tw-text-opacity))}.text-label-aqua-04{--tw-text-opacity:1;color:rgb(var(--label-aqua-04) / var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgb(var(--label-blue-04) / var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgb(var(--label-green-04) / var(--tw-text-opacity))}.text-label-lime-04{--tw-text-opacity:1;color:rgb(var(--label-lime-04) / var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgb(var(--label-orange-04) / var(--tw-text-opacity))}.text-label-orchid-04{--tw-text-opacity:1;color:rgb(var(--label-orchid-04) / var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgb(var(--label-violet-04) / var(--tw-text-opacity))}.text-label-yellow-04{--tw-text-opacity:1;color:rgb(var(--label-yellow-04) / var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgb(var(--tone-neutral-04) / var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{e as mds_progress}
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-01-10T08:26:41",
2
+ "timestamp": "2024-02-09T14:53:43",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "20.10.0"
@@ -9,15 +9,24 @@
9
9
  "fsNamespace": "mds-progress",
10
10
  "components": 1,
11
11
  "entries": 1,
12
- "bundles": 68,
12
+ "bundles": 83,
13
13
  "outputs": [
14
14
  {
15
15
  "name": "dist-collection",
16
- "files": 27,
16
+ "files": 42,
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
+ "./dist/collection/common/file.js",
20
+ "./dist/collection/common/icon.js",
19
21
  "./dist/collection/common/keyboard-manager.js",
20
22
  "./dist/collection/common/unit.js",
23
+ "./dist/collection/common/yugop/core.js",
24
+ "./dist/collection/common/yugop/index.js",
25
+ "./dist/collection/common/yugop/random-text.js",
26
+ "./dist/collection/common/yugop/utils/math.js",
27
+ "./dist/collection/common/yugop/utils/noop.js",
28
+ "./dist/collection/common/yugop/utils/prng.js",
29
+ "./dist/collection/common/yugop/utils/string.js",
21
30
  "./dist/collection/components/mds-progress/mds-progress.js",
22
31
  "./dist/collection/components/mds-progress/meta/dictionary.js",
23
32
  "./dist/collection/components/mds-progress/meta/types.js",
@@ -26,21 +35,27 @@
26
35
  "./dist/collection/dictionary/autocomplete.js",
27
36
  "./dist/collection/dictionary/button.js",
28
37
  "./dist/collection/dictionary/color.js",
38
+ "./dist/collection/dictionary/file-extensions.js",
29
39
  "./dist/collection/dictionary/floating-ui.js",
30
40
  "./dist/collection/dictionary/icon.js",
31
41
  "./dist/collection/dictionary/input.js",
32
42
  "./dist/collection/dictionary/loading.js",
43
+ "./dist/collection/dictionary/text.js",
33
44
  "./dist/collection/dictionary/typography.js",
34
45
  "./dist/collection/dictionary/variant.js",
35
46
  "./dist/collection/fixtures/cities.js",
47
+ "./dist/collection/fixtures/filenames.js",
36
48
  "./dist/collection/interface/input-value.js",
37
49
  "./dist/collection/type/autocomplete.js",
38
50
  "./dist/collection/type/button.js",
51
+ "./dist/collection/type/file-types.js",
39
52
  "./dist/collection/type/floating-ui.js",
40
53
  "./dist/collection/type/form-rel.js",
41
54
  "./dist/collection/type/input.js",
42
55
  "./dist/collection/type/loading.js",
56
+ "./dist/collection/type/text.js",
43
57
  "./dist/collection/type/typography.js",
58
+ "./dist/collection/type/variant-file-format.js",
44
59
  "./dist/collection/type/variant.js"
45
60
  ]
46
61
  },
@@ -78,20 +93,20 @@
78
93
  "./dist/mds-progress/index.esm.js",
79
94
  "./dist/mds-progress/mds-progress.esm.js",
80
95
  "./dist/mds-progress/mds-progress.js",
81
- "./dist/mds-progress/p-3e473a5b.entry.js",
96
+ "./dist/mds-progress/p-20cc5857.system.entry.js",
82
97
  "./dist/mds-progress/p-50ea2036.system.js",
83
- "./dist/mds-progress/p-690d2715.system.js",
84
98
  "./dist/mds-progress/p-87430859.js",
85
- "./dist/mds-progress/p-9135177f.system.entry.js",
99
+ "./dist/mds-progress/p-91249106.system.js",
100
+ "./dist/mds-progress/p-b8ddb760.entry.js",
86
101
  "./dist/mds-progress/p-bf3c5077.system.js",
87
102
  "./www/build/index.esm.js",
88
103
  "./www/build/mds-progress.esm.js",
89
104
  "./www/build/mds-progress.js",
90
- "./www/build/p-3e473a5b.entry.js",
105
+ "./www/build/p-20cc5857.system.entry.js",
91
106
  "./www/build/p-50ea2036.system.js",
92
- "./www/build/p-690d2715.system.js",
93
107
  "./www/build/p-87430859.js",
94
- "./www/build/p-9135177f.system.entry.js",
108
+ "./www/build/p-91249106.system.js",
109
+ "./www/build/p-b8ddb760.entry.js",
95
110
  "./www/build/p-bf3c5077.system.js"
96
111
  ]
97
112
  },
@@ -125,12 +140,12 @@
125
140
  "components": [
126
141
  "mds-progress"
127
142
  ],
128
- "bundleId": "p-3e473a5b",
129
- "fileName": "p-3e473a5b.entry.js",
143
+ "bundleId": "p-b8ddb760",
144
+ "fileName": "p-b8ddb760.entry.js",
130
145
  "imports": [
131
146
  "p-87430859.js"
132
147
  ],
133
- "originalByteSize": 4691
148
+ "originalByteSize": 7305
134
149
  }
135
150
  ],
136
151
  "esm": [
@@ -144,7 +159,7 @@
144
159
  "imports": [
145
160
  "index-370f577b.js"
146
161
  ],
147
- "originalByteSize": 4695
162
+ "originalByteSize": 7309
148
163
  }
149
164
  ],
150
165
  "es5": [
@@ -158,7 +173,7 @@
158
173
  "imports": [
159
174
  "index-370f577b.js"
160
175
  ],
161
- "originalByteSize": 4695
176
+ "originalByteSize": 7309
162
177
  }
163
178
  ],
164
179
  "system": [
@@ -167,12 +182,12 @@
167
182
  "components": [
168
183
  "mds-progress"
169
184
  ],
170
- "bundleId": "p-9135177f.system",
171
- "fileName": "p-9135177f.system.entry.js",
185
+ "bundleId": "p-20cc5857.system",
186
+ "fileName": "p-20cc5857.system.entry.js",
172
187
  "imports": [
173
188
  "p-bf3c5077.system.js"
174
189
  ],
175
- "originalByteSize": 5150
190
+ "originalByteSize": 7764
176
191
  }
177
192
  ],
178
193
  "commonjs": [
@@ -186,7 +201,7 @@
186
201
  "imports": [
187
202
  "index-ef941864.js"
188
203
  ],
189
- "originalByteSize": 4754
204
+ "originalByteSize": 7368
190
205
  }
191
206
  ]
192
207
  },
@@ -568,8 +583,26 @@
568
583
  },
569
584
  "sourceGraph": {
570
585
  "./src/common/aria.ts": [],
586
+ "./src/common/file.ts": [],
587
+ "./src/common/icon.ts": [],
571
588
  "./src/common/keyboard-manager.ts": [],
572
589
  "./src/common/unit.ts": [],
590
+ "./src/common/yugop/core.ts": [
591
+ "./src/common/yugop/utils/math",
592
+ "./src/common/yugop/utils/prng",
593
+ "./src/common/yugop/utils/string"
594
+ ],
595
+ "./src/common/yugop/index.ts": [],
596
+ "./src/common/yugop/random-text.ts": [
597
+ "./src/common/yugop/core",
598
+ "./src/common/yugop/utils/noop"
599
+ ],
600
+ "./src/common/yugop/utils/math.ts": [
601
+ "./src/common/yugop/utils/prng"
602
+ ],
603
+ "./src/common/yugop/utils/noop.ts": [],
604
+ "./src/common/yugop/utils/prng.ts": [],
605
+ "./src/common/yugop/utils/string.ts": [],
573
606
  "./src/components/mds-progress/mds-progress.tsx": [],
574
607
  "./src/components/mds-progress/meta/dictionary.ts": [],
575
608
  "./src/components/mds-progress/meta/types.ts": [],
@@ -580,6 +613,7 @@
580
613
  "./src/dictionary/autocomplete.ts": [],
581
614
  "./src/dictionary/button.ts": [],
582
615
  "./src/dictionary/color.ts": [],
616
+ "./src/dictionary/file-extensions.ts": [],
583
617
  "./src/dictionary/floating-ui.ts": [],
584
618
  "./src/dictionary/icon.ts": [
585
619
  "./src/fixtures/icons.json",
@@ -587,17 +621,22 @@
587
621
  ],
588
622
  "./src/dictionary/input.ts": [],
589
623
  "./src/dictionary/loading.ts": [],
624
+ "./src/dictionary/text.ts": [],
590
625
  "./src/dictionary/typography.ts": [],
591
626
  "./src/dictionary/variant.ts": [],
592
627
  "./src/fixtures/cities.ts": [],
628
+ "./src/fixtures/filenames.ts": [],
593
629
  "./src/interface/input-value.ts": [],
594
630
  "./src/type/autocomplete.ts": [],
595
631
  "./src/type/button.ts": [],
632
+ "./src/type/file-types.ts": [],
596
633
  "./src/type/floating-ui.ts": [],
597
634
  "./src/type/form-rel.ts": [],
598
635
  "./src/type/input.ts": [],
599
636
  "./src/type/loading.ts": [],
637
+ "./src/type/text.ts": [],
600
638
  "./src/type/typography.ts": [],
639
+ "./src/type/variant-file-format.ts": [],
601
640
  "./src/type/variant.ts": []
602
641
  },
603
642
  "rollupResults": {
@@ -0,0 +1,12 @@
1
+ import { ExtensionInfo } from '@dictionary/file-extensions';
2
+ interface FileFormatsVariants {
3
+ color: string;
4
+ icon: string;
5
+ iconBackground: string;
6
+ variant: string;
7
+ }
8
+ declare const getName: (rawFilename: string) => string;
9
+ declare const getSuffix: (rawFilename: string, suffixOverride?: string) => string;
10
+ declare const getExtensionInfos: (rawFilename: string, suffixOverride?: string) => ExtensionInfo;
11
+ declare const getFormatsVariant: (rawFilename: string, suffixOverride?: string) => FileFormatsVariants;
12
+ export { getExtensionInfos, getFormatsVariant, getSuffix, getName, };
@@ -0,0 +1,5 @@
1
+ declare const BASE64_SVG_ICON = "data:image/svg+xml;base64,";
2
+ declare const MARKUP_SVG_ICON = "<svg ";
3
+ declare const isIconFormatIsBase64: (icon?: string) => boolean;
4
+ declare const isIconFormatIsSVG: (icon?: string) => boolean;
5
+ export { isIconFormatIsBase64, isIconFormatIsSVG, BASE64_SVG_ICON, MARKUP_SVG_ICON, };
@@ -1,2 +1,3 @@
1
1
  declare const cssDurationToMilliseconds: (duration: string, defaultValue?: number) => number;
2
- export { cssDurationToMilliseconds, };
2
+ declare const cssSizeToNumber: (size: string, defaultValue?: number) => number;
3
+ export { cssDurationToMilliseconds, cssSizeToNumber, };
@@ -0,0 +1,10 @@
1
+ export declare const generateRandomCharCodeArray: (arg0: number, arg1: number) => (arg0: string) => number[];
2
+ type Options = {
3
+ str: string;
4
+ minCharCode: number;
5
+ maxCharCode: number;
6
+ placeholderChar: string;
7
+ charStep: number;
8
+ };
9
+ export declare const charCodeArrayToString: (arg0: Options) => (arg0: number[]) => string;
10
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './random-text';
@@ -0,0 +1,31 @@
1
+ type Options = {
2
+ str: string;
3
+ speed?: number;
4
+ placeholderChar?: string;
5
+ frameOffset?: number;
6
+ charOffset?: number;
7
+ charStep?: number;
8
+ minCharCode?: number;
9
+ maxCharCode?: number;
10
+ onProgress?: (arg0: string) => void;
11
+ onComplete?: (arg0: string) => void;
12
+ };
13
+ declare class RandomText {
14
+ static defaults: Options;
15
+ str: string;
16
+ speed: number;
17
+ placeholderChar: string;
18
+ frameOffset: number;
19
+ charOffset: number;
20
+ charStep: number;
21
+ minCharCode: number;
22
+ maxCharCode: number;
23
+ onProgress: (...args: Array<string>) => string;
24
+ onComplete: (...args: Array<string>) => string;
25
+ rafId: number;
26
+ constructor(options: Options);
27
+ start: () => void;
28
+ stop(): void;
29
+ step(randoms: number[], stepCount: number, speed: number): void;
30
+ }
31
+ export default RandomText;
@@ -0,0 +1,3 @@
1
+ export declare const randomSign: () => number;
2
+ export declare const generateRandomNumbers: (arg0: number) => (arg0: number) => (arg0: number) => number[];
3
+ export declare const minMaxLooped: (arg0: number, arg1: number) => (arg0: number) => number;
@@ -0,0 +1 @@
1
+ export declare const noop: (...rest: unknown[]) => unknown;
@@ -0,0 +1,8 @@
1
+ type Generator = (_?: number) => {
2
+ random: () => number;
3
+ randomFloat: () => number;
4
+ range: (min: number, max: number) => number;
5
+ rangeFloat: (min: number, max: number) => number;
6
+ };
7
+ export declare const generator: Generator;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const strToCharCodeArray: (arg0: string) => number[];
@@ -0,0 +1,11 @@
1
+ interface FileExtenstion {
2
+ [key: string]: ExtensionInfo;
3
+ }
4
+ interface ExtensionInfo {
5
+ preview?: boolean;
6
+ format: string;
7
+ description: string;
8
+ }
9
+ declare const fileExtensionsDictionary: FileExtenstion;
10
+ declare const genericMimeToExt: Map<string, string[]>;
11
+ export { FileExtenstion, ExtensionInfo, fileExtensionsDictionary, genericMimeToExt, };
@@ -1,3 +1,4 @@
1
1
  declare const iconsDictionary: string[];
2
2
  declare const mggIconsDictionary: string[];
3
- export { iconsDictionary, mggIconsDictionary, };
3
+ declare const svgIconsDictionary: string[];
4
+ export { iconsDictionary, mggIconsDictionary, svgIconsDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const truncateDictionary: string[];
2
+ export { truncateDictionary, };
@@ -2,9 +2,10 @@ declare const themeVariantDictionary: string[];
2
2
  declare const themeLuminanceVariantDictionary: string[];
3
3
  declare const themeStatusVariantDictionary: string[];
4
4
  declare const themeFullVariantDictionary: string[];
5
+ declare const themeFullVariantAvatarDictionary: string[];
5
6
  declare const themeLabelVariantDictionary: string[];
6
7
  declare const toneVariantDictionary: string[];
7
8
  declare const toneActionVariantDictionary: string[];
8
9
  declare const toneSimpleVariantDictionary: string[];
9
10
  declare const toneMinimalVariantDictionary: string[];
10
- export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
11
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const filesList: string[];
2
+ export { filesList, };
@@ -0,0 +1 @@
1
+ export type ExtensionSuffixType = '7z' | 'ace' | 'ai' | 'db' | 'default' | 'dmg' | 'doc' | 'docm' | 'docx' | 'eml' | 'eps' | 'exe' | 'flac' | 'gif' | 'heic' | 'htm' | 'html' | 'jpe' | 'jpeg' | 'jpg' | 'js' | 'json' | 'jsx' | 'm2v' | 'mp2' | 'mp3' | 'mp4' | 'mp4v' | 'mpeg' | 'mpg' | 'mpg4' | 'mpga' | 'odp' | 'ods' | 'odt' | 'pdf' | 'php' | 'png' | 'ppt' | 'rar' | 'rtf' | 'sass' | 'shtml' | 'svg' | 'tar' | 'tiff' | 'ts' | 'txt' | 'wav' | 'webp' | 'xar' | 'xls' | 'xlsx' | 'zip';
@@ -0,0 +1 @@
1
+ export type TypographyTruncateType = 'all' | 'none' | 'word';