@maggioli-design-system/mds-table-row 5.1.0 → 5.3.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.
- package/dist/cjs/{index-cb928c36.js → index-27c9aefd.js} +146 -108
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/floating-controller.js +3 -3
- package/dist/collection/common/string.js +30 -0
- package/dist/collection/components/mds-table-row/mds-table-row.css +131 -28
- package/dist/collection/dictionary/keyboard.js +84 -0
- package/dist/collection/type/keyboard.js +1 -0
- package/dist/components/mds-table-row.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-8134a00a.js → index-81f966aa.js} +146 -108
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-table-row.entry.js +2 -2
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm-es5/index-81f966aa.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.js +1 -1
- package/dist/mds-table-row/mds-table-row.esm.js +1 -1
- package/dist/mds-table-row/mds-table-row.js +1 -1
- package/dist/mds-table-row/p-133f1581.system.js +2 -0
- package/dist/mds-table-row/p-25b773c1.js +2 -0
- package/dist/mds-table-row/p-dea08b0f.system.entry.js +6 -0
- package/dist/mds-table-row/p-e71445fa.system.js +1 -0
- package/dist/mds-table-row/p-f83384f1.entry.js +6 -0
- package/dist/stats.json +38 -33
- package/dist/types/common/string.d.ts +4 -0
- package/dist/types/dictionary/keyboard.d.ts +2 -0
- package/dist/types/type/keyboard.d.ts +12 -0
- package/documentation.json +22 -2
- package/package.json +4 -4
- package/src/common/floating-controller.ts +6 -6
- package/src/common/string.ts +42 -0
- package/src/components/mds-table-row/css/mds-table-row-actions.css +8 -10
- package/src/components/mds-table-row/css/mds-table-row-interactive.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-pref-animation.css +5 -14
- package/src/components/mds-table-row/css/mds-table-row-selected.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-sorted.css +0 -2
- package/src/components/mds-table-row/mds-table-row.css +1 -3
- package/src/dictionary/keyboard.ts +87 -0
- package/src/fixtures/icons.json +18 -1
- package/src/meta/keyboard/keys.json +83 -0
- package/src/tailwind/components.css +11 -46
- package/src/tailwind/fouc.css +118 -0
- package/src/tailwind/index.css +4 -0
- package/src/type/keyboard.ts +93 -0
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +1 -1
- package/www/build/p-133f1581.system.js +2 -0
- package/www/build/p-25b773c1.js +2 -0
- package/www/build/p-dea08b0f.system.entry.js +6 -0
- package/www/build/p-e71445fa.system.js +1 -0
- package/www/build/p-f83384f1.entry.js +6 -0
- package/dist/esm-es5/index-8134a00a.js +0 -1
- package/dist/mds-table-row/p-11048c96.system.js +0 -1
- package/dist/mds-table-row/p-12e458ac.entry.js +0 -6
- package/dist/mds-table-row/p-22d4881a.js +0 -2
- package/dist/mds-table-row/p-88f814c9.system.js +0 -2
- package/dist/mds-table-row/p-95fc715e.system.entry.js +0 -6
- package/www/build/p-11048c96.system.js +0 -1
- package/www/build/p-12e458ac.entry.js +0 -6
- package/www/build/p-22d4881a.js +0 -2
- package/www/build/p-88f814c9.system.js +0 -2
- package/www/build/p-95fc715e.system.entry.js +0 -6
package/documentation.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-03-05T16:16:01",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.27.2",
|
|
6
6
|
"typescriptVersion": "5.5.4"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -399,6 +399,11 @@
|
|
|
399
399
|
"docstring": "",
|
|
400
400
|
"path": "src/components/mds-header/meta/event-detail.ts"
|
|
401
401
|
},
|
|
402
|
+
"src/components/mds-header/meta/event-detail.ts::MdsHeaderVisibilityEventDetail": {
|
|
403
|
+
"declaration": "export interface MdsHeaderVisibilityEventDetail {\n visibility: boolean\n}",
|
|
404
|
+
"docstring": "",
|
|
405
|
+
"path": "src/components/mds-header/meta/event-detail.ts"
|
|
406
|
+
},
|
|
402
407
|
"src/components/mds-horizontal-scroll/meta/types.ts::ViewportType": {
|
|
403
408
|
"declaration": "export type ViewportType =\n | 'all'\n | 'tv'\n | 'xlarge'\n | 'large'\n | 'wide'\n | 'desktop'\n | 'tablet'\n | 'none'",
|
|
404
409
|
"docstring": "",
|
|
@@ -514,6 +519,16 @@
|
|
|
514
519
|
"docstring": "",
|
|
515
520
|
"path": "src/components/mds-input-upload/meta/types.ts"
|
|
516
521
|
},
|
|
522
|
+
"src/components/mds-keyboard/meta/type.ts::KeyboardTest": {
|
|
523
|
+
"declaration": "export type KeyboardTest =\n | 'pass'\n | 'fail'",
|
|
524
|
+
"docstring": "",
|
|
525
|
+
"path": "src/components/mds-keyboard/meta/type.ts"
|
|
526
|
+
},
|
|
527
|
+
"src/type/keyboard.ts::KeyboardKeyName": {
|
|
528
|
+
"declaration": "export type KeyboardKeyName =\n | '0'\n | '1'\n | '2'\n | '3'\n | '4'\n | '5'\n | '6'\n | '7'\n | '8'\n | '9'\n | 'a'\n | 'alt'\n | 'altleft'\n | 'altright'\n | 'arrowdown'\n | 'arrowleft'\n | 'arrowright'\n | 'arrowup'\n | 'b'\n | 'backspace'\n | 'c'\n | 'capslock'\n | 'command'\n | 'commandleft'\n | 'commandright'\n | 'control'\n | 'controlleft'\n | 'controlright'\n | 'd'\n | 'delete'\n | 'e'\n | 'end'\n | 'enter'\n | 'escape'\n | 'f'\n | 'f1'\n | 'f10'\n | 'f11'\n | 'f12'\n | 'f2'\n | 'f3'\n | 'f4'\n | 'f5'\n | 'f6'\n | 'f7'\n | 'f8'\n | 'f9'\n | 'g'\n | 'h'\n | 'home'\n | 'i'\n | 'j'\n | 'k'\n | 'l'\n | 'm'\n | 'n'\n | 'o'\n | 'option'\n | 'optionleft'\n | 'optionright'\n | 'p'\n | 'pagedown'\n | 'pageup'\n | 'q'\n | 'r'\n | 's'\n | 'shift'\n | 'shiftleft'\n | 'shiftright'\n | 'space'\n | 't'\n | 'tab'\n | 'u'\n | 'v'\n | 'w'\n | 'windows'\n | 'windowsleft'\n | 'windowsright'\n | 'x'\n | 'y'\n | 'z'",
|
|
529
|
+
"docstring": "",
|
|
530
|
+
"path": "src/type/keyboard.ts"
|
|
531
|
+
},
|
|
517
532
|
"src/type/typography.ts::TypographyType": {
|
|
518
533
|
"declaration": "export type TypographyType =\n | 'action'\n | 'caption'\n | 'snippet'\n | 'detail'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hack'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
|
|
519
534
|
"docstring": "",
|
|
@@ -534,6 +549,11 @@
|
|
|
534
549
|
"docstring": "",
|
|
535
550
|
"path": "src/components/mds-modal/meta/types.ts"
|
|
536
551
|
},
|
|
552
|
+
"src/components/mds-modal/meta/types.ts::ModalOverflowType": {
|
|
553
|
+
"declaration": "export type ModalOverflowType =\n | 'auto'\n | 'manual'",
|
|
554
|
+
"docstring": "",
|
|
555
|
+
"path": "src/components/mds-modal/meta/types.ts"
|
|
556
|
+
},
|
|
537
557
|
"src/type/variant.ts::LabelVariantType": {
|
|
538
558
|
"declaration": "export type LabelVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'green'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'violet'\n | 'yellow'",
|
|
539
559
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-table-row",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "mds-table-row 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",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@maggioli-design-system/mds-table-cell": "5.0
|
|
27
|
-
"@maggioli-design-system/styles": "15.
|
|
28
|
-
"@stencil/core": "4.
|
|
26
|
+
"@maggioli-design-system/mds-table-cell": "5.2.0",
|
|
27
|
+
"@maggioli-design-system/styles": "15.9.0",
|
|
28
|
+
"@stencil/core": "4.27.2"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|
|
@@ -214,21 +214,21 @@ export class FloatingController {
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export class Backdrop {
|
|
217
|
-
private readonly defaultBackdropId = '
|
|
217
|
+
private readonly defaultBackdropId = 'magma-backdrop'
|
|
218
218
|
private readonly backdropBackgroundVisible = 'rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))'
|
|
219
219
|
private readonly backdropBackgroundHidden = 'rgba(var(--magma-backdrop-color, 0 0 0) / 0)'
|
|
220
220
|
|
|
221
|
-
private readonly backdropId
|
|
222
|
-
private readonly cssBackdropZIndex
|
|
223
|
-
private readonly cssBackdropDuration
|
|
221
|
+
private readonly backdropId: string
|
|
222
|
+
private readonly cssBackdropZIndex: string
|
|
223
|
+
private readonly cssBackdropDuration: string
|
|
224
224
|
|
|
225
225
|
private backdropEl: HTMLElement
|
|
226
226
|
private backdropTimer: NodeJS.Timeout
|
|
227
227
|
|
|
228
228
|
constructor (backdropId?: string) {
|
|
229
229
|
this.backdropId = backdropId ?? this.defaultBackdropId
|
|
230
|
-
this.cssBackdropZIndex = `var(--${this.backdropId}-z-index)`
|
|
231
|
-
this.cssBackdropDuration = `var(--${this.backdropId}-duration)`
|
|
230
|
+
this.cssBackdropZIndex = `var(--${this.backdropId}-z-index, 4000)`
|
|
231
|
+
this.cssBackdropDuration = `var(--${this.backdropId}-animation-duration, 300ms)`
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
attachBackdrop (): void {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const levenshteinDistance = (a: string, b: string): number => {
|
|
2
|
+
const dp: number[][] = Array.from({ length: a.length + 1 }, (_, i) =>
|
|
3
|
+
// eslint-disable-next-line no-nested-ternary
|
|
4
|
+
Array.from({ length: b.length + 1 }, (_, j) => (i === 0 ? j : j === 0 ? i : 0)),
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
for (let i = 1; i <= a.length; i++) {
|
|
8
|
+
for (let j = 1; j <= b.length; j++) {
|
|
9
|
+
if (a[i - 1] === b[j - 1]) {
|
|
10
|
+
dp[i][j] = dp[i - 1][j - 1]
|
|
11
|
+
} else {
|
|
12
|
+
dp[i][j] = 1 + Math.min(dp[i - 1][j], dp[i][j - 1], dp[i - 1][j - 1])
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return dp[a.length][b.length]
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
const closest = (input: string, validCodes: string[]): string => {
|
|
22
|
+
let [closest] = validCodes
|
|
23
|
+
let minDistance = levenshteinDistance(input, closest)
|
|
24
|
+
|
|
25
|
+
for (const code of validCodes) {
|
|
26
|
+
const distance = levenshteinDistance(input, code)
|
|
27
|
+
if (distance < minDistance) {
|
|
28
|
+
minDistance = distance
|
|
29
|
+
closest = code
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return closest
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const firstLetterUppercase = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
closest,
|
|
40
|
+
firstLetterUppercase,
|
|
41
|
+
levenshteinDistance,
|
|
42
|
+
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.actions {
|
|
11
|
-
|
|
12
11
|
--mds-table-row-actions-background: var(--mds-table-row-background);
|
|
13
12
|
|
|
14
13
|
align-items: center;
|
|
@@ -31,6 +30,8 @@
|
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
:host(:hover) .actions {
|
|
33
|
+
|
|
34
|
+
/* :host-context(:not(.safari)) */
|
|
34
35
|
transform: translateX(100%);
|
|
35
36
|
}
|
|
36
37
|
|
|
@@ -40,22 +41,19 @@
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
:host([overlay-actions]:hover) .actions {
|
|
43
|
-
|
|
44
44
|
--mds-table-row-actions-background: var(--mds-table-row-background);
|
|
45
45
|
|
|
46
46
|
transform: translateX(0);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:host
|
|
50
|
-
:host
|
|
51
|
-
|
|
49
|
+
:host-context(mds-table[interactive="false"]):host(:hover) .actions,
|
|
50
|
+
:host-context(mds-table:not([interactive])):host(:hover) .actions {
|
|
52
51
|
--mds-table-row-actions-background: var(--mds-table-row-background-hover);
|
|
53
52
|
}
|
|
54
53
|
|
|
55
|
-
:host(:not([
|
|
56
|
-
:host
|
|
57
|
-
:host
|
|
58
|
-
:host([
|
|
59
|
-
|
|
54
|
+
:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,
|
|
55
|
+
:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,
|
|
56
|
+
:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,
|
|
57
|
+
:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions {
|
|
60
58
|
--mds-table-row-actions-background: var(--mds-table-row-background-alt);
|
|
61
59
|
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@container style(--magma-pref-animation: reduce) {
|
|
4
|
-
:host,
|
|
5
|
-
.actions {
|
|
6
|
-
transition-duration: 0s;
|
|
7
|
-
}
|
|
1
|
+
:host-context(.pref-animation-reduce) {
|
|
2
|
+
transition-duration: 0s;
|
|
8
3
|
}
|
|
9
4
|
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
:host,
|
|
14
|
-
.actions {
|
|
15
|
-
transition-duration: 0s;
|
|
16
|
-
}
|
|
5
|
+
@media (prefers-reduced-motion) {
|
|
6
|
+
:host-context(.pref-animation-system) {
|
|
7
|
+
transition-duration: 0s;
|
|
17
8
|
}
|
|
18
9
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
:host([sorted]) {
|
|
2
|
-
|
|
3
2
|
--mds-table-row-background: var(--mds-table-row-background-alt);
|
|
4
3
|
--mds-table-row-color: var(--mds-table-row-color-alt);
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
:host([sorted][selected]) {
|
|
8
|
-
|
|
9
7
|
--mds-table-row-background: var(--mds-table-row-background-hover);
|
|
10
8
|
--mds-table-row-color: var(--mds-table-row-color-hover);
|
|
11
9
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
@tailwind utilities;
|
|
2
|
-
|
|
3
1
|
:host {
|
|
4
|
-
|
|
5
2
|
--mds-table-row-color-hover: var(--mds-table-color, theme('colors.tone-neutral-02'));
|
|
6
3
|
--mds-table-row-color-alt: var(--mds-table-color-alt, theme('colors.tone-neutral-02'));
|
|
7
4
|
--mds-table-row-background-hover: var(--mds-table-background, theme('colors.tone-neutral'));
|
|
@@ -32,3 +29,4 @@
|
|
|
32
29
|
@import './css/mds-table-row-sorted.css';
|
|
33
30
|
@import './css/mds-table-row-actions.css';
|
|
34
31
|
@import './css/mds-table-row-pref-animation.css';
|
|
32
|
+
@import '../../tailwind/fouc.css';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const keyboardKeyNameDictionary = [
|
|
2
|
+
'0',
|
|
3
|
+
'1',
|
|
4
|
+
'2',
|
|
5
|
+
'3',
|
|
6
|
+
'4',
|
|
7
|
+
'5',
|
|
8
|
+
'6',
|
|
9
|
+
'7',
|
|
10
|
+
'8',
|
|
11
|
+
'9',
|
|
12
|
+
'a',
|
|
13
|
+
'alt',
|
|
14
|
+
'altleft',
|
|
15
|
+
'altright',
|
|
16
|
+
'arrowdown',
|
|
17
|
+
'arrowleft',
|
|
18
|
+
'arrowright',
|
|
19
|
+
'arrowup',
|
|
20
|
+
'b',
|
|
21
|
+
'backspace',
|
|
22
|
+
'c',
|
|
23
|
+
'capslock',
|
|
24
|
+
'command',
|
|
25
|
+
'commandleft',
|
|
26
|
+
'commandright',
|
|
27
|
+
'control',
|
|
28
|
+
'controlleft',
|
|
29
|
+
'controlright',
|
|
30
|
+
'd',
|
|
31
|
+
'delete',
|
|
32
|
+
'e',
|
|
33
|
+
'end',
|
|
34
|
+
'enter',
|
|
35
|
+
'escape',
|
|
36
|
+
'f',
|
|
37
|
+
'f1',
|
|
38
|
+
'f10',
|
|
39
|
+
'f11',
|
|
40
|
+
'f12',
|
|
41
|
+
'f2',
|
|
42
|
+
'f3',
|
|
43
|
+
'f4',
|
|
44
|
+
'f5',
|
|
45
|
+
'f6',
|
|
46
|
+
'f7',
|
|
47
|
+
'f8',
|
|
48
|
+
'f9',
|
|
49
|
+
'g',
|
|
50
|
+
'h',
|
|
51
|
+
'home',
|
|
52
|
+
'i',
|
|
53
|
+
'j',
|
|
54
|
+
'k',
|
|
55
|
+
'l',
|
|
56
|
+
'm',
|
|
57
|
+
'n',
|
|
58
|
+
'o',
|
|
59
|
+
'option',
|
|
60
|
+
'optionleft',
|
|
61
|
+
'optionright',
|
|
62
|
+
'p',
|
|
63
|
+
'pagedown',
|
|
64
|
+
'pageup',
|
|
65
|
+
'q',
|
|
66
|
+
'r',
|
|
67
|
+
's',
|
|
68
|
+
'shift',
|
|
69
|
+
'shiftleft',
|
|
70
|
+
'shiftright',
|
|
71
|
+
'space',
|
|
72
|
+
't',
|
|
73
|
+
'tab',
|
|
74
|
+
'u',
|
|
75
|
+
'v',
|
|
76
|
+
'w',
|
|
77
|
+
'windows',
|
|
78
|
+
'windowsleft',
|
|
79
|
+
'windowsright',
|
|
80
|
+
'x',
|
|
81
|
+
'y',
|
|
82
|
+
'z',
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
keyboardKeyNameDictionary,
|
|
87
|
+
}
|
package/src/fixtures/icons.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[
|
|
2
2
|
"mdi/alien",
|
|
3
|
+
"mdi/apple-keyboard-shift",
|
|
3
4
|
"mdi/barley",
|
|
4
5
|
"mdi/baseball",
|
|
5
6
|
"mdi/crown",
|
|
@@ -12,8 +13,10 @@
|
|
|
12
13
|
"mdi/folder-open",
|
|
13
14
|
"mdi/handshake",
|
|
14
15
|
"mdi/harddisk",
|
|
16
|
+
"mdi/keyboard-space",
|
|
15
17
|
"mdi/license",
|
|
16
18
|
"mdi/map-marker",
|
|
19
|
+
"mdi/npm",
|
|
17
20
|
"mdi/replay",
|
|
18
21
|
"mdi/vector-curve",
|
|
19
22
|
"mgg/abitazione-principale",
|
|
@@ -368,8 +371,16 @@
|
|
|
368
371
|
"mi/baseline/indeterminate-check-box",
|
|
369
372
|
"mi/baseline/info",
|
|
370
373
|
"mi/baseline/insert-drive-file",
|
|
374
|
+
"mi/baseline/keyboard",
|
|
371
375
|
"mi/baseline/keyboard-arrow-down",
|
|
376
|
+
"mi/baseline/keyboard-arrow-left",
|
|
377
|
+
"mi/baseline/keyboard-arrow-right",
|
|
372
378
|
"mi/baseline/keyboard-arrow-up",
|
|
379
|
+
"mi/baseline/keyboard-capslock",
|
|
380
|
+
"mi/baseline/keyboard-command-key",
|
|
381
|
+
"mi/baseline/keyboard-option-key",
|
|
382
|
+
"mi/baseline/keyboard-return",
|
|
383
|
+
"mi/baseline/keyboard-tab",
|
|
373
384
|
"mi/baseline/light-mode",
|
|
374
385
|
"mi/baseline/local-activity",
|
|
375
386
|
"mi/baseline/location-city",
|
|
@@ -379,6 +390,7 @@
|
|
|
379
390
|
"mi/baseline/meeting-room",
|
|
380
391
|
"mi/baseline/more-vert",
|
|
381
392
|
"mi/baseline/navigate-next",
|
|
393
|
+
"mi/baseline/north",
|
|
382
394
|
"mi/baseline/panorama",
|
|
383
395
|
"mi/baseline/person",
|
|
384
396
|
"mi/baseline/pets",
|
|
@@ -389,6 +401,7 @@
|
|
|
389
401
|
"mi/baseline/route",
|
|
390
402
|
"mi/baseline/send",
|
|
391
403
|
"mi/baseline/settings",
|
|
404
|
+
"mi/baseline/south",
|
|
392
405
|
"mi/baseline/sports",
|
|
393
406
|
"mi/baseline/sports-soccer",
|
|
394
407
|
"mi/baseline/stadium",
|
|
@@ -397,6 +410,8 @@
|
|
|
397
410
|
"mi/baseline/tv",
|
|
398
411
|
"mi/baseline/unfold-less",
|
|
399
412
|
"mi/baseline/unfold-more",
|
|
413
|
+
"mi/baseline/vertical-align-bottom",
|
|
414
|
+
"mi/baseline/vertical-align-top",
|
|
400
415
|
"mi/baseline/videocam",
|
|
401
416
|
"mi/baseline/visibility",
|
|
402
417
|
"mi/baseline/visibility-off",
|
|
@@ -405,6 +420,7 @@
|
|
|
405
420
|
"mi/baseline/web",
|
|
406
421
|
"mi/baseline/wysiwyg",
|
|
407
422
|
"mi/outline/auto-awesome",
|
|
423
|
+
"mi/outline/backspace",
|
|
408
424
|
"mi/outline/circle",
|
|
409
425
|
"mi/outline/dark-mode",
|
|
410
426
|
"mi/outline/help-outline",
|
|
@@ -413,5 +429,6 @@
|
|
|
413
429
|
"mi/round/email",
|
|
414
430
|
"mi/round/menu",
|
|
415
431
|
"mi/round/more-vert",
|
|
416
|
-
"mi/round/person"
|
|
432
|
+
"mi/round/person",
|
|
433
|
+
"mi/sharp/window"
|
|
417
434
|
]
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"0": { "description": "keyNumber", "group": "Number", "alias": "0", "keyCodes": ["Digit0", "Numpad0"] },
|
|
3
|
+
"1": { "description": "keyNumber", "group": "Number", "alias": "1", "keyCodes": ["Digit1", "Numpad1"] },
|
|
4
|
+
"2": { "description": "keyNumber", "group": "Number", "alias": "2", "keyCodes": ["Digit2", "Numpad2"] },
|
|
5
|
+
"3": { "description": "keyNumber", "group": "Number", "alias": "3", "keyCodes": ["Digit3", "Numpad3"] },
|
|
6
|
+
"4": { "description": "keyNumber", "group": "Number", "alias": "4", "keyCodes": ["Digit4", "Numpad4"] },
|
|
7
|
+
"5": { "description": "keyNumber", "group": "Number", "alias": "5", "keyCodes": ["Digit5", "Numpad5"] },
|
|
8
|
+
"6": { "description": "keyNumber", "group": "Number", "alias": "6", "keyCodes": ["Digit6", "Numpad6"] },
|
|
9
|
+
"7": { "description": "keyNumber", "group": "Number", "alias": "7", "keyCodes": ["Digit7", "Numpad7"] },
|
|
10
|
+
"8": { "description": "keyNumber", "group": "Number", "alias": "8", "keyCodes": ["Digit8", "Numpad8"] },
|
|
11
|
+
"9": { "description": "keyNumber", "group": "Number", "alias": "9", "keyCodes": ["Digit9", "Numpad9"] },
|
|
12
|
+
"a": { "description": "keyCharacter", "group": "Character", "alias": "A", "keyCodes": ["KeyA"] },
|
|
13
|
+
"alt": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyCodes": ["AltLeft", "AltRight"] },
|
|
14
|
+
"altleft": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"left": true}, "keyCodes": ["AltLeft"] },
|
|
15
|
+
"altright": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"right": true}, "keyCodes": ["AltRight"] },
|
|
16
|
+
"arrowdown": { "description": "navArrowDown", "group": "Arrow", "alias": "ArrowDown", "keyCodes": ["ArrowDown"] },
|
|
17
|
+
"arrowleft": { "description": "navArrowLeft", "group": "Arrow", "alias": "ArrowLeft", "keyCodes": ["ArrowLeft"] },
|
|
18
|
+
"arrowright": { "description": "navArrowRight", "group": "Arrow", "alias": "ArrowRight", "keyCodes": ["ArrowRight"] },
|
|
19
|
+
"arrowup": { "description": "navArrowUp", "group": "Arrow", "alias": "ArrowUp", "keyCodes": ["ArrowUp"] },
|
|
20
|
+
"b": { "description": "keyCharacter", "group": "Character", "alias": "B", "keyCodes": ["KeyB"] },
|
|
21
|
+
"backspace": { "description": "specBackspace", "group": "Special", "alias": "Backspace", "keyCodes": ["Backspace"] },
|
|
22
|
+
"c": { "description": "keyCharacter", "group": "Character", "alias": "C", "keyCodes": ["KeyC"] },
|
|
23
|
+
"capslock": { "description": "specCapsLock", "group": "Special", "alias": "CapsLock", "keyCodes": ["CapsLock"] },
|
|
24
|
+
"command": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyCodes": ["MetaLeft", "MetaRight"] },
|
|
25
|
+
"commandleft": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyboardPosition": {"left": true}, "keyCodes": ["MetaLeft"] },
|
|
26
|
+
"commandright": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyboardPosition": {"right": true}, "keyCodes": ["MetaRight"] },
|
|
27
|
+
"control": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyCodes": ["ControlLeft", "ControlRight"] },
|
|
28
|
+
"controlleft": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyboardPosition": {"left": true}, "keyCode": "Control", "keyCodes": ["ControlLeft"] },
|
|
29
|
+
"controlright": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyboardPosition": {"right": true}, "keyCode": "Control", "keyCodes": ["ControlRight"] },
|
|
30
|
+
"d": { "description": "keyCharacter", "group": "Character", "alias": "D", "keyCodes": ["KeyD"] },
|
|
31
|
+
"delete": { "description": "specDelete", "group": "Special", "alias": "Delete", "keyCodes": ["Delete"] },
|
|
32
|
+
"e": { "description": "keyCharacter", "group": "Character", "alias": "E", "keyCodes": ["KeyE"] },
|
|
33
|
+
"end": { "description": "navEnd", "group": "Navigator", "alias": "End", "keyCodes": ["End"] },
|
|
34
|
+
"enter": { "description": "specEnter", "group": "Special", "alias": "Enter", "keyCodes": ["Enter"] },
|
|
35
|
+
"escape": { "description": "specEscape", "group": "Special", "alias": "Esc", "keyCodes": ["Escape"] },
|
|
36
|
+
"f": { "description": "keyCharacter", "group": "Character", "alias": "F", "keyCodes": ["KeyF"] },
|
|
37
|
+
"f1": { "description": "keyFunction", "group": "Function", "alias": "F1", "keyCodes": ["F1"] },
|
|
38
|
+
"f10": { "description": "keyFunction", "group": "Function", "alias": "F10", "keyCodes": ["F10"] },
|
|
39
|
+
"f11": { "description": "keyFunction", "group": "Function", "alias": "F11", "keyCodes": ["F11"] },
|
|
40
|
+
"f12": { "description": "keyFunction", "group": "Function", "alias": "F12", "keyCodes": ["F12"] },
|
|
41
|
+
"f2": { "description": "keyFunction", "group": "Function", "alias": "F2", "keyCodes": ["F2"] },
|
|
42
|
+
"f3": { "description": "keyFunction", "group": "Function", "alias": "F3", "keyCodes": ["F3"] },
|
|
43
|
+
"f4": { "description": "keyFunction", "group": "Function", "alias": "F4", "keyCodes": ["F4"] },
|
|
44
|
+
"f5": { "description": "keyFunction", "group": "Function", "alias": "F5", "keyCodes": ["F5"] },
|
|
45
|
+
"f6": { "description": "keyFunction", "group": "Function", "alias": "F6", "keyCodes": ["F6"] },
|
|
46
|
+
"f7": { "description": "keyFunction", "group": "Function", "alias": "F7", "keyCodes": ["F7"] },
|
|
47
|
+
"f8": { "description": "keyFunction", "group": "Function", "alias": "F8", "keyCodes": ["F8"] },
|
|
48
|
+
"f9": { "description": "keyFunction", "group": "Function", "alias": "F9", "keyCodes": ["F9"] },
|
|
49
|
+
"g": { "description": "keyCharacter", "group": "Character", "alias": "G", "keyCodes": ["KeyG"] },
|
|
50
|
+
"h": { "description": "keyCharacter", "group": "Character", "alias": "H", "keyCodes": ["KeyH"] },
|
|
51
|
+
"home": { "description": "navHome", "group": "Navigator", "alias": "Home", "keyCodes": ["Home"] },
|
|
52
|
+
"i": { "description": "keyCharacter", "group": "Character", "alias": "I", "keyCodes": ["KeyI"] },
|
|
53
|
+
"j": { "description": "keyCharacter", "group": "Character", "alias": "J", "keyCodes": ["KeyJ"] },
|
|
54
|
+
"k": { "description": "keyCharacter", "group": "Character", "alias": "K", "keyCodes": ["KeyK"] },
|
|
55
|
+
"l": { "description": "keyCharacter", "group": "Character", "alias": "L", "keyCodes": ["KeyL"] },
|
|
56
|
+
"m": { "description": "keyCharacter", "group": "Character", "alias": "M", "keyCodes": ["KeyM"] },
|
|
57
|
+
"n": { "description": "keyCharacter", "group": "Character", "alias": "N", "keyCodes": ["KeyN"] },
|
|
58
|
+
"o": { "description": "keyCharacter", "group": "Character", "alias": "O", "keyCodes": ["KeyO"] },
|
|
59
|
+
"option": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyCodes": ["AltLeft", "AltRight"] },
|
|
60
|
+
"optionleft": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"left": true}, "keyCodes": ["AltLeft"] },
|
|
61
|
+
"optionright": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"right": true}, "keyCodes": ["AltRight"] },
|
|
62
|
+
"p": { "description": "keyCharacter", "group": "Character", "alias": "P", "keyCodes": ["KeyP"] },
|
|
63
|
+
"pagedown": { "description": "navPageDown", "group": "Navigator", "alias": "PageDown", "keyCodes": ["PageDown"] },
|
|
64
|
+
"pageup": { "description": "navPageUp", "group": "Navigator", "alias": "PageUp", "keyCodes": ["PageUp"] },
|
|
65
|
+
"q": { "description": "keyCharacter", "group": "Character", "alias": "Q", "keyCodes": ["KeyQ"] },
|
|
66
|
+
"r": { "description": "keyCharacter", "group": "Character", "alias": "R", "keyCodes": ["KeyR"] },
|
|
67
|
+
"s": { "description": "keyCharacter", "group": "Character", "alias": "S", "keyCodes": ["KeyS"] },
|
|
68
|
+
"shift": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyCodes": ["ShiftLeft", "ShiftRight"] },
|
|
69
|
+
"shiftleft": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyboardPosition": {"left": true}, "keyCodes": ["ShiftLeft"] },
|
|
70
|
+
"shiftright": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyboardPosition": {"right": true}, "keyCodes": ["ShiftRight"] },
|
|
71
|
+
"space": { "description": "specSpace", "group": "Special", "alias": "Space", "keyCodes": ["Space"] },
|
|
72
|
+
"t": { "description": "keyCharacter", "group": "Character", "alias": "T", "keyCodes": ["KeyT"] },
|
|
73
|
+
"tab": { "description": "specTab", "group": "Special", "alias": "Tab", "keyCodes": ["Tab"] },
|
|
74
|
+
"u": { "description": "keyCharacter", "group": "Character", "alias": "U", "keyCodes": ["KeyU"] },
|
|
75
|
+
"v": { "description": "keyCharacter", "group": "Character", "alias": "V", "keyCodes": ["KeyV"] },
|
|
76
|
+
"w": { "description": "keyCharacter", "group": "Character", "alias": "W", "keyCodes": ["KeyW"] },
|
|
77
|
+
"windows": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyCodes": ["MetaLeft", "MetaRight"] },
|
|
78
|
+
"windowsleft": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyboardPosition": {"left": true}, "keyCodes": ["MetaLeft"] },
|
|
79
|
+
"windowsright": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyboardPosition": {"right": true}, "keyCodes": ["MetaRight"] },
|
|
80
|
+
"x": { "description": "keyCharacter", "group": "Character", "alias": "X", "keyCodes": ["KeyX"] },
|
|
81
|
+
"y": { "description": "keyCharacter", "group": "Character", "alias": "Y", "keyCodes": ["KeyY"] },
|
|
82
|
+
"z": { "description": "keyCharacter", "group": "Character", "alias": "Z", "keyCodes": ["KeyZ"] }
|
|
83
|
+
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
@import '~@maggioli-design-system/styles/dist/tailwind/components.css';
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
2
|
|
|
5
3
|
@layer components {
|
|
6
4
|
.svg {
|
|
@@ -38,49 +36,16 @@
|
|
|
38
36
|
box-shadow: theme('boxShadow.outline') inset;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} */
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@container style(--magma-pref-contrast: system) {
|
|
55
|
-
|
|
56
|
-
@media (prefers-contrast: more) {
|
|
57
|
-
.contrast-area,
|
|
58
|
-
.contrast-area-50 {
|
|
59
|
-
@apply
|
|
60
|
-
block
|
|
61
|
-
opacity-100;
|
|
62
|
-
|
|
63
|
-
/* @starting-style {
|
|
64
|
-
opacity: 0;
|
|
65
|
-
} */
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@container style(--magma-pref-animation: reduce) {
|
|
71
|
-
.contrast-area,
|
|
72
|
-
.contrast-area-50 {
|
|
73
|
-
@apply duration-0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@container style(--magma-pref-animation: system) {
|
|
78
|
-
|
|
79
|
-
@media (prefers-reduced-motion) {
|
|
80
|
-
.contrast-area,
|
|
81
|
-
.contrast-area-50 {
|
|
82
|
-
@apply duration-0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
39
|
+
.not-hydrated {
|
|
40
|
+
animation-duration: 0s;
|
|
41
|
+
border-color: transparent;
|
|
42
|
+
box-shadow: 0 0 0 transparent;
|
|
43
|
+
opacity: 0;
|
|
44
|
+
outline-color: transparent;
|
|
45
|
+
transition-delay: 0s;
|
|
46
|
+
transition-duration: 0s;
|
|
47
|
+
visibility: hidden;
|
|
85
48
|
}
|
|
86
49
|
}
|
|
50
|
+
|
|
51
|
+
@tailwind components;
|