@maggioli-design-system/mds-input-tip 1.5.1 → 1.5.3
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.
- package/dist/collection/common/floating-controller.js +7 -4
- package/dist/collection/dictionary/button.js +3 -0
- package/dist/collection/dictionary/variant.js +14 -2
- package/dist/documentation.json +1 -1
- package/dist/stats.json +1 -1
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/input.d.ts +1 -1
- package/dist/types/type/variant.d.ts +2 -2
- package/documentation.json +72 -27
- package/package.json +3 -3
- package/src/common/floating-controller.ts +6 -3
- package/src/dictionary/button.ts +3 -0
- package/src/dictionary/variant.ts +14 -2
- package/src/fixtures/icons.json +23 -0
- package/src/type/button.ts +6 -3
- package/src/type/input.ts +4 -0
- package/src/type/variant.ts +14 -2
@@ -117,6 +117,7 @@ export class FloatingController {
|
|
117
117
|
left: `${x}px`,
|
118
118
|
top: `${y}px`,
|
119
119
|
transformOrigin: this.convertToTransformOrigin(placement),
|
120
|
+
position: this._host.strategy,
|
120
121
|
});
|
121
122
|
const arrowStyle = {};
|
122
123
|
const arrowPosition = {
|
@@ -151,12 +152,14 @@ export class FloatingController {
|
|
151
152
|
return caller;
|
152
153
|
}
|
153
154
|
updatePosition() {
|
154
|
-
if (this.
|
155
|
-
this.
|
156
|
-
|
155
|
+
if (this._host.visible) {
|
156
|
+
this.dismiss(); // to clean the old update function before update function
|
157
|
+
this.cleanupAutoUpdate = autoUpdate(this._caller, this._host, this.calculatePosition);
|
158
|
+
}
|
157
159
|
}
|
158
160
|
dismiss() {
|
159
|
-
this.cleanupAutoUpdate
|
161
|
+
if (this.cleanupAutoUpdate)
|
162
|
+
this.cleanupAutoUpdate();
|
160
163
|
}
|
161
164
|
}
|
162
165
|
export class Backdrop {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
const themeVariantDictionary = [
|
2
|
+
'ai',
|
2
3
|
'dark',
|
3
4
|
'error',
|
4
5
|
'info',
|
@@ -71,13 +72,24 @@ const toneVariantDictionary = [
|
|
71
72
|
'quiet',
|
72
73
|
];
|
73
74
|
const themeVariantChipDictionary = [
|
74
|
-
'
|
75
|
-
'
|
75
|
+
'ai',
|
76
|
+
'amaranth',
|
77
|
+
'aqua',
|
78
|
+
'blue',
|
76
79
|
'dark',
|
77
80
|
'error',
|
81
|
+
'green',
|
78
82
|
'info',
|
83
|
+
'lime',
|
84
|
+
'orange',
|
85
|
+
'orchid',
|
86
|
+
'primary',
|
87
|
+
'secondary',
|
88
|
+
'sky',
|
79
89
|
'success',
|
90
|
+
'violet',
|
80
91
|
'warning',
|
92
|
+
'yellow',
|
81
93
|
];
|
82
94
|
const toneActionVariantDictionary = [
|
83
95
|
'primary',
|
package/dist/documentation.json
CHANGED
package/dist/stats.json
CHANGED
@@ -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 = '
|
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,11 @@
|
|
1
1
|
export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
|
2
|
-
export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
2
|
+
export type ThemeVariantType = 'ai' | 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
3
3
|
export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
4
4
|
export type ThemeFullVariantAvatarType = 'amaranth' | 'aqua' | 'blue' | 'error' | 'green' | 'info' | 'lime' | 'orange' | 'orchid' | 'primary' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
5
5
|
export type ThemeLuminanceVariantType = 'dark' | 'light';
|
6
6
|
export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
7
7
|
export type ActionVariantType = 'primary' | 'dark' | 'light';
|
8
|
-
export type ChipVariantType = '
|
8
|
+
export type ChipVariantType = 'ai' | 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'lime' | 'orange' | 'orchid' | 'primary' | 'secondary' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
9
9
|
export type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
10
10
|
export type ToneActionVariantType = 'primary' | 'secondary' | 'strong' | 'weak' | 'ghost' | 'quiet';
|
11
11
|
export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
package/documentation.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2025-
|
2
|
+
"timestamp": "2025-05-14T12:14:14",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "4.27.2",
|
@@ -109,6 +109,11 @@
|
|
109
109
|
}
|
110
110
|
],
|
111
111
|
"typeLibrary": {
|
112
|
+
"src/components/mds-input-date-range/mds-input-date-range.tsx::EventDate": {
|
113
|
+
"declaration": "export interface EventDate {\n caller: HTMLMdsInputDateRangePreselectionElement\n start: string,\n end?: string\n}",
|
114
|
+
"docstring": "",
|
115
|
+
"path": "src/components/mds-input-date-range/mds-input-date-range.tsx"
|
116
|
+
},
|
112
117
|
"src/components/mds-accordion/meta/event-detail.ts::MdsAccordionEventDetail": {
|
113
118
|
"declaration": "export interface MdsAccordionEventDetail {\n children: NodeListOf<HTMLMdsAccordionItemElement>\n selected: string\n}",
|
114
119
|
"docstring": "",
|
@@ -144,6 +149,11 @@
|
|
144
149
|
"docstring": "",
|
145
150
|
"path": "src/type/variant.ts"
|
146
151
|
},
|
152
|
+
"src/components/mds-avatar-stack/meta/types.ts::AvatarSizeType": {
|
153
|
+
"declaration": "export type AvatarSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
154
|
+
"docstring": "",
|
155
|
+
"path": "src/components/mds-avatar-stack/meta/types.ts"
|
156
|
+
},
|
147
157
|
"src/type/variant.ts::ThemeFullVariantType": {
|
148
158
|
"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'",
|
149
159
|
"docstring": "",
|
@@ -170,7 +180,7 @@
|
|
170
180
|
"path": "src/type/typography.ts"
|
171
181
|
},
|
172
182
|
"src/type/variant.ts::ThemeVariantType": {
|
173
|
-
"declaration": "export type ThemeVariantType =\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
183
|
+
"declaration": "export type ThemeVariantType =\n | 'ai'\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
174
184
|
"docstring": "",
|
175
185
|
"path": "src/type/variant.ts"
|
176
186
|
},
|
@@ -215,7 +225,7 @@
|
|
215
225
|
"path": "src/type/button.ts"
|
216
226
|
},
|
217
227
|
"src/type/button.ts::ButtonVariantType": {
|
218
|
-
"declaration": "export type ButtonVariantType =\n | '
|
228
|
+
"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'",
|
219
229
|
"docstring": "",
|
220
230
|
"path": "src/type/button.ts"
|
221
231
|
},
|
@@ -234,8 +244,23 @@
|
|
234
244
|
"docstring": "",
|
235
245
|
"path": "src/type/text.ts"
|
236
246
|
},
|
247
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellType": {
|
248
|
+
"declaration": "export type CalendarCellType =\n | 'other'\n | 'current'\n | 'weekend'",
|
249
|
+
"docstring": "",
|
250
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
251
|
+
},
|
252
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionOrieintationType": {
|
253
|
+
"declaration": "export type CalendarCellSelectionOrieintationType =\n | 'both'\n | 'horizontal'\n | 'vertical'",
|
254
|
+
"docstring": "",
|
255
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
256
|
+
},
|
257
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionPositionType": {
|
258
|
+
"declaration": "export type CalendarCellSelectionPositionType =\n | 'end'\n | 'middle'\n | 'none'\n | 'start'\n | 'single'",
|
259
|
+
"docstring": "",
|
260
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
261
|
+
},
|
237
262
|
"src/type/variant.ts::ChipVariantType": {
|
238
|
-
"declaration": "export type ChipVariantType =\n | '
|
263
|
+
"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'",
|
239
264
|
"docstring": "",
|
240
265
|
"path": "src/type/variant.ts"
|
241
266
|
},
|
@@ -314,6 +339,11 @@
|
|
314
339
|
"docstring": "",
|
315
340
|
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
316
341
|
},
|
342
|
+
"src/components/mds-horizontal-scroll/meta/types.ts::NavigationType": {
|
343
|
+
"declaration": "export type NavigationType =\n | 'none'\n | 'scrollbar'\n | 'position'",
|
344
|
+
"docstring": "",
|
345
|
+
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
346
|
+
},
|
317
347
|
"src/components/mds-horizontal-scroll/meta/types.ts::SnapType": {
|
318
348
|
"declaration": "export type SnapType =\n | 'center'\n | 'end'\n | 'none'\n | 'start'",
|
319
349
|
"docstring": "",
|
@@ -360,7 +390,7 @@
|
|
360
390
|
"path": "src/type/variant.ts"
|
361
391
|
},
|
362
392
|
"src/type/input.ts::InputTextType": {
|
363
|
-
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
|
393
|
+
"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'",
|
364
394
|
"docstring": "",
|
365
395
|
"path": "src/type/input.ts"
|
366
396
|
},
|
@@ -374,20 +404,15 @@
|
|
374
404
|
"docstring": "",
|
375
405
|
"path": "src/type/input.ts"
|
376
406
|
},
|
377
|
-
"src/components/mds-input
|
378
|
-
"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'",
|
379
|
-
"docstring": "",
|
380
|
-
"path": "src/components/mds-input-field/meta/types.ts"
|
381
|
-
},
|
382
|
-
"src/components/mds-input-field/meta/validators.ts::MdsValidatorFn": {
|
407
|
+
"src/components/mds-input/meta/validators.ts::MdsValidatorFn": {
|
383
408
|
"declaration": "(input: string) => null | MdsValidationErrors",
|
384
409
|
"docstring": "",
|
385
|
-
"path": "src/components/mds-input
|
410
|
+
"path": "src/components/mds-input/meta/validators.ts"
|
386
411
|
},
|
387
|
-
"src/components/mds-input
|
412
|
+
"src/components/mds-input/meta/validators.ts::MdsValidationErrors": {
|
388
413
|
"declaration": "export interface MdsValidationErrors {\n [key: string]: string\n}",
|
389
414
|
"docstring": "",
|
390
|
-
"path": "src/components/mds-input
|
415
|
+
"path": "src/components/mds-input/meta/validators.ts"
|
391
416
|
},
|
392
417
|
"src/components/mds-input-switch/meta/types.ts::InputSwitchSizeType": {
|
393
418
|
"declaration": "export type InputSwitchSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
@@ -454,6 +479,11 @@
|
|
454
479
|
"docstring": "",
|
455
480
|
"path": "src/components/mds-modal/meta/types.ts"
|
456
481
|
},
|
482
|
+
"src/components/mds-modal/meta/types.ts::ModalAnimationStyleType": {
|
483
|
+
"declaration": "export type ModalAnimationStyleType =\n | 'slide'\n | 'custom'\n | '3d'",
|
484
|
+
"docstring": "",
|
485
|
+
"path": "src/components/mds-modal/meta/types.ts"
|
486
|
+
},
|
457
487
|
"src/components/mds-modal/meta/types.ts::ModalOverflowType": {
|
458
488
|
"declaration": "export type ModalOverflowType =\n | 'auto'\n | 'manual'",
|
459
489
|
"docstring": "",
|
@@ -474,6 +504,11 @@
|
|
474
504
|
"docstring": "",
|
475
505
|
"path": "src/components/mds-paginator/meta/event-detail.ts"
|
476
506
|
},
|
507
|
+
"src/components/mds-policy-ai/meta/types.ts::PolicyAiVariant": {
|
508
|
+
"declaration": "export type PolicyAiVariant =\n | 'icon'\n | 'chip'\n | 'card'\n | 'banner'",
|
509
|
+
"docstring": "",
|
510
|
+
"path": "src/components/mds-policy-ai/meta/types.ts"
|
511
|
+
},
|
477
512
|
"src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
|
478
513
|
"declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
|
479
514
|
"docstring": "",
|
@@ -519,26 +554,41 @@
|
|
519
554
|
"docstring": "",
|
520
555
|
"path": "src/components/mds-progress/meta/types.ts"
|
521
556
|
},
|
522
|
-
"src/components/mds-push-notification/meta/
|
557
|
+
"src/components/mds-push-notification/meta/event-detail.ts::MdsPushNotificationEventDetail": {
|
558
|
+
"declaration": "export interface MdsPushNotificationEventDetail {\n visible: boolean\n}",
|
559
|
+
"docstring": "",
|
560
|
+
"path": "src/components/mds-push-notification/meta/event-detail.ts"
|
561
|
+
},
|
562
|
+
"src/components/mds-push-notification-item/meta/types.ts::NotificationItemDateFormatType": {
|
523
563
|
"declaration": "string",
|
524
564
|
"docstring": "",
|
525
|
-
"path": "src/components/mds-push-notification/meta/types.ts"
|
565
|
+
"path": "src/components/mds-push-notification-item/meta/types.ts"
|
526
566
|
},
|
527
|
-
"src/components/mds-push-notification/meta/types.ts::
|
528
|
-
"declaration": "export type
|
567
|
+
"src/components/mds-push-notification-item/meta/types.ts::NotificationItemPreviewType": {
|
568
|
+
"declaration": "export type NotificationItemPreviewType =\n | 'avatar'\n | 'image'",
|
529
569
|
"docstring": "",
|
530
|
-
"path": "src/components/mds-push-notification/meta/types.ts"
|
570
|
+
"path": "src/components/mds-push-notification-item/meta/types.ts"
|
531
571
|
},
|
532
|
-
"src/components/mds-push-notification/meta/event-detail.ts::
|
533
|
-
"declaration": "export interface
|
572
|
+
"src/components/mds-push-notification-item/meta/event-detail.ts::MdsPushNotificationItemEventDetail": {
|
573
|
+
"declaration": "export interface MdsPushNotificationItemEventDetail {\n id: string;\n}",
|
534
574
|
"docstring": "",
|
535
|
-
"path": "src/components/mds-push-notification/meta/event-detail.ts"
|
575
|
+
"path": "src/components/mds-push-notification-item/meta/event-detail.ts"
|
536
576
|
},
|
537
577
|
"src/type/text.ts::TypographyHeadingTagType": {
|
538
578
|
"declaration": "export type TypographyHeadingTagType =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'",
|
539
579
|
"docstring": "",
|
540
580
|
"path": "src/type/text.ts"
|
541
581
|
},
|
582
|
+
"src/components/mds-radial-menu/meta/types.ts::Direction": {
|
583
|
+
"declaration": "export type Direction =\n | 'clockwise'\n | 'counterclockwise'",
|
584
|
+
"docstring": "",
|
585
|
+
"path": "src/components/mds-radial-menu/meta/types.ts"
|
586
|
+
},
|
587
|
+
"src/components/mds-radial-menu/meta/types.ts::Interaction": {
|
588
|
+
"declaration": "export type Interaction =\n | 'click'\n | 'rightclick'",
|
589
|
+
"docstring": "",
|
590
|
+
"path": "src/components/mds-radial-menu/meta/types.ts"
|
591
|
+
},
|
542
592
|
"src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
|
543
593
|
"declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
|
544
594
|
"docstring": "",
|
@@ -599,11 +649,6 @@
|
|
599
649
|
"docstring": "",
|
600
650
|
"path": "src/type/text.ts"
|
601
651
|
},
|
602
|
-
"src/type/variant.ts::ThemeLuminanceVariantType": {
|
603
|
-
"declaration": "export type ThemeLuminanceVariantType =\n | 'dark'\n | 'light'",
|
604
|
-
"docstring": "",
|
605
|
-
"path": "src/type/variant.ts"
|
606
|
-
},
|
607
652
|
"src/components/mds-toast/meta/types.ts::ToastPosition": {
|
608
653
|
"declaration": "export type ToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'",
|
609
654
|
"docstring": "",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@maggioli-design-system/mds-input-tip",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.3",
|
4
4
|
"description": "mds-input-tip 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/mds-input-tip-item": "1.5.
|
28
|
-
"@maggioli-design-system/styles": "15.
|
27
|
+
"@maggioli-design-system/mds-input-tip-item": "1.5.2",
|
28
|
+
"@maggioli-design-system/styles": "15.10.0",
|
29
29
|
"@stencil/core": "4.27.2"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
@@ -201,6 +201,7 @@ export class FloatingController {
|
|
201
201
|
left: `${x}px`,
|
202
202
|
top: `${y}px`,
|
203
203
|
transformOrigin: this.convertToTransformOrigin(placement),
|
204
|
+
position: this._host.strategy,
|
204
205
|
})
|
205
206
|
|
206
207
|
const arrowStyle = {}
|
@@ -224,12 +225,14 @@ export class FloatingController {
|
|
224
225
|
}
|
225
226
|
|
226
227
|
updatePosition (): void {
|
227
|
-
if (this.
|
228
|
-
|
228
|
+
if (this._host.visible) {
|
229
|
+
this.dismiss() // to clean the old update function before update function
|
230
|
+
this.cleanupAutoUpdate = autoUpdate(this._caller, this._host, this.calculatePosition)
|
231
|
+
}
|
229
232
|
}
|
230
233
|
|
231
234
|
dismiss (): void {
|
232
|
-
this.cleanupAutoUpdate()
|
235
|
+
if (this.cleanupAutoUpdate) this.cleanupAutoUpdate()
|
233
236
|
}
|
234
237
|
}
|
235
238
|
|
package/src/dictionary/button.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
const themeVariantDictionary = [
|
2
|
+
'ai',
|
2
3
|
'dark',
|
3
4
|
'error',
|
4
5
|
'info',
|
@@ -78,13 +79,24 @@ const toneVariantDictionary = [
|
|
78
79
|
]
|
79
80
|
|
80
81
|
const themeVariantChipDictionary = [
|
81
|
-
'
|
82
|
-
'
|
82
|
+
'ai',
|
83
|
+
'amaranth',
|
84
|
+
'aqua',
|
85
|
+
'blue',
|
83
86
|
'dark',
|
84
87
|
'error',
|
88
|
+
'green',
|
85
89
|
'info',
|
90
|
+
'lime',
|
91
|
+
'orange',
|
92
|
+
'orchid',
|
93
|
+
'primary',
|
94
|
+
'secondary',
|
95
|
+
'sky',
|
86
96
|
'success',
|
97
|
+
'violet',
|
87
98
|
'warning',
|
99
|
+
'yellow',
|
88
100
|
]
|
89
101
|
|
90
102
|
const toneActionVariantDictionary = [
|
package/src/fixtures/icons.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[
|
2
2
|
"mdi/alien",
|
3
|
+
"mdi/apple",
|
3
4
|
"mdi/apple-keyboard-shift",
|
4
5
|
"mdi/barley",
|
5
6
|
"mdi/baseball",
|
@@ -7,6 +8,7 @@
|
|
7
8
|
"mdi/delete",
|
8
9
|
"mdi/dots-vertical",
|
9
10
|
"mdi/email",
|
11
|
+
"mdi/eye-off-outline",
|
10
12
|
"mdi/file-document-remove-outline",
|
11
13
|
"mdi/file-download-outline",
|
12
14
|
"mdi/file-upload-outline",
|
@@ -17,6 +19,14 @@
|
|
17
19
|
"mdi/license",
|
18
20
|
"mdi/map-marker",
|
19
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",
|
20
30
|
"mdi/replay",
|
21
31
|
"mdi/vector-curve",
|
22
32
|
"mgg/abitazione-principale",
|
@@ -331,18 +341,23 @@
|
|
331
341
|
"mi/baseline/agriculture",
|
332
342
|
"mi/baseline/animation",
|
333
343
|
"mi/baseline/arrow-back",
|
344
|
+
"mi/baseline/arrow-back-ios-new",
|
334
345
|
"mi/baseline/arrow-forward",
|
346
|
+
"mi/baseline/arrow-forward-ios",
|
335
347
|
"mi/baseline/attach-file",
|
336
348
|
"mi/baseline/attachment",
|
337
349
|
"mi/baseline/audiotrack",
|
338
350
|
"mi/baseline/auto-awesome",
|
339
351
|
"mi/baseline/badge",
|
352
|
+
"mi/baseline/block",
|
340
353
|
"mi/baseline/book",
|
341
354
|
"mi/baseline/border-all",
|
342
355
|
"mi/baseline/broken-image",
|
356
|
+
"mi/baseline/calendar-today",
|
343
357
|
"mi/baseline/call",
|
344
358
|
"mi/baseline/cancel",
|
345
359
|
"mi/baseline/category",
|
360
|
+
"mi/baseline/check",
|
346
361
|
"mi/baseline/check-box",
|
347
362
|
"mi/baseline/check-box-outline-blank",
|
348
363
|
"mi/baseline/check-circle",
|
@@ -360,6 +375,7 @@
|
|
360
375
|
"mi/baseline/downhill-skiing",
|
361
376
|
"mi/baseline/draw",
|
362
377
|
"mi/baseline/eco",
|
378
|
+
"mi/baseline/edit",
|
363
379
|
"mi/baseline/email",
|
364
380
|
"mi/baseline/error",
|
365
381
|
"mi/baseline/expand-more",
|
@@ -373,6 +389,7 @@
|
|
373
389
|
"mi/baseline/indeterminate-check-box",
|
374
390
|
"mi/baseline/info",
|
375
391
|
"mi/baseline/insert-drive-file",
|
392
|
+
"mi/baseline/ios-share",
|
376
393
|
"mi/baseline/keyboard",
|
377
394
|
"mi/baseline/keyboard-arrow-down",
|
378
395
|
"mi/baseline/keyboard-arrow-left",
|
@@ -384,6 +401,7 @@
|
|
384
401
|
"mi/baseline/keyboard-return",
|
385
402
|
"mi/baseline/keyboard-tab",
|
386
403
|
"mi/baseline/light-mode",
|
404
|
+
"mi/baseline/list-alt",
|
387
405
|
"mi/baseline/local-activity",
|
388
406
|
"mi/baseline/location-city",
|
389
407
|
"mi/baseline/lock-open",
|
@@ -396,10 +414,13 @@
|
|
396
414
|
"mi/baseline/panorama",
|
397
415
|
"mi/baseline/person",
|
398
416
|
"mi/baseline/pets",
|
417
|
+
"mi/baseline/print",
|
418
|
+
"mi/baseline/privacy-tip",
|
399
419
|
"mi/baseline/radio-button-checked",
|
400
420
|
"mi/baseline/radio-button-unchecked",
|
401
421
|
"mi/baseline/remove",
|
402
422
|
"mi/baseline/remove-circle",
|
423
|
+
"mi/baseline/remove-red-eye",
|
403
424
|
"mi/baseline/route",
|
404
425
|
"mi/baseline/send",
|
405
426
|
"mi/baseline/settings",
|
@@ -410,6 +431,7 @@
|
|
410
431
|
"mi/baseline/terminal",
|
411
432
|
"mi/baseline/timer",
|
412
433
|
"mi/baseline/tv",
|
434
|
+
"mi/baseline/undo",
|
413
435
|
"mi/baseline/unfold-less",
|
414
436
|
"mi/baseline/unfold-more",
|
415
437
|
"mi/baseline/vertical-align-bottom",
|
@@ -426,6 +448,7 @@
|
|
426
448
|
"mi/outline/circle",
|
427
449
|
"mi/outline/dark-mode",
|
428
450
|
"mi/outline/help-outline",
|
451
|
+
"mi/outline/policy",
|
429
452
|
"mi/outline/schedule",
|
430
453
|
"mi/round/arrow-circle-down",
|
431
454
|
"mi/round/email",
|
package/src/type/button.ts
CHANGED
@@ -19,11 +19,14 @@ export type ButtonIconPositionType =
|
|
19
19
|
| 'right'
|
20
20
|
|
21
21
|
export type ButtonVariantType =
|
22
|
-
| '
|
23
|
-
| '
|
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'
|
package/src/type/input.ts
CHANGED
package/src/type/variant.ts
CHANGED
@@ -5,6 +5,7 @@ export type ThemeStatusVariantType =
|
|
5
5
|
| 'warning'
|
6
6
|
|
7
7
|
export type ThemeVariantType =
|
8
|
+
| 'ai'
|
8
9
|
| 'dark'
|
9
10
|
| 'error'
|
10
11
|
| 'info'
|
@@ -70,13 +71,24 @@ export type ActionVariantType =
|
|
70
71
|
| 'light'
|
71
72
|
|
72
73
|
export type ChipVariantType =
|
73
|
-
| '
|
74
|
-
| '
|
74
|
+
| 'ai'
|
75
|
+
| 'amaranth'
|
76
|
+
| 'aqua'
|
77
|
+
| 'blue'
|
75
78
|
| 'dark'
|
76
79
|
| 'error'
|
80
|
+
| 'green'
|
77
81
|
| 'info'
|
82
|
+
| 'lime'
|
83
|
+
| 'orange'
|
84
|
+
| 'orchid'
|
85
|
+
| 'primary'
|
86
|
+
| 'secondary'
|
87
|
+
| 'sky'
|
78
88
|
| 'success'
|
89
|
+
| 'violet'
|
79
90
|
| 'warning'
|
91
|
+
| 'yellow'
|
80
92
|
|
81
93
|
export type StateVariantType =
|
82
94
|
| 'disabled'
|