@mantine/spotlight 7.0.0-alpha.17 → 7.0.0-alpha.19
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/cjs/Spotlight.module.css.js +1 -1
- package/cjs/index.css +26 -26
- package/esm/Spotlight.module.css.js +1 -1
- package/esm/index.css +26 -26
- package/package.json +4 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var classes = {"content":"
|
|
5
|
+
var classes = {"content":"m-3cd250e0","body":"m-d2abce9b","search":"m-f366a061","actionsList":"m-6e463822","action":"m-d49bb8ef","actionBody":"m-3d475731","actionSection":"m-832642f6","actionLabel":"m-6c2a1345","actionDescription":"m-a6d9d78d","empty":"m-82f78f74","footer":"m-ddcaf054","actionsGroup":"m-5a3e5f7b"};
|
|
6
6
|
|
|
7
7
|
exports.default = classes;
|
|
8
8
|
//# sourceMappingURL=Spotlight.module.css.js.map
|
package/cjs/index.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.
|
|
1
|
+
.m-3cd250e0 {
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
height: 100%;
|
|
4
4
|
max-height: var(--spotlight-max-height);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.m-d2abce9b {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.m-f366a061 {
|
|
14
14
|
border: 0;
|
|
15
15
|
background-color: transparent;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.m-6e463822 {
|
|
19
19
|
/* Used in child ScrollArea */
|
|
20
20
|
--spotlight-actions-list-padding: calc(0.25rem * var(--mantine-scale));
|
|
21
21
|
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
margin-right: calc(var(--spotlight-actions-list-padding) * -1);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
[data-mantine-color-scheme='light'] .
|
|
29
|
+
[data-mantine-color-scheme='light'] .m-6e463822 {
|
|
30
30
|
--_actions-list-border: var(--mantine-color-gray-2);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
[data-mantine-color-scheme='dark'] .
|
|
33
|
+
[data-mantine-color-scheme='dark'] .m-6e463822 {
|
|
34
34
|
--_actions-list-border: var(--mantine-color-dark-4);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.m-d49bb8ef {
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
40
40
|
width: 100%;
|
|
@@ -45,93 +45,93 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@media (hover: hover) {
|
|
48
|
-
[data-mantine-color-scheme='light'] .
|
|
48
|
+
[data-mantine-color-scheme='light'] .m-d49bb8ef:not([data-selected]):hover {
|
|
49
49
|
--_action-bg: var(--mantine-color-gray-0);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
[data-mantine-color-scheme='dark'] .
|
|
52
|
+
[data-mantine-color-scheme='dark'] .m-d49bb8ef:not([data-selected]):hover {
|
|
53
53
|
--_action-bg: var(--mantine-color-dark-6);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@media (hover: none) {
|
|
58
|
-
[data-mantine-color-scheme='light'] .
|
|
58
|
+
[data-mantine-color-scheme='light'] .m-d49bb8ef:not([data-selected]):active {
|
|
59
59
|
--_action-bg: var(--mantine-color-gray-0);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
[data-mantine-color-scheme='dark'] .
|
|
62
|
+
[data-mantine-color-scheme='dark'] .m-d49bb8ef:not([data-selected]):active {
|
|
63
63
|
--_action-bg: var(--mantine-color-dark-6);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.m-d49bb8ef[data-selected] {
|
|
68
68
|
--_action-bg: var(--mantine-color-primary);
|
|
69
69
|
--_action-color: var(--mantine-color-white);
|
|
70
70
|
--_action-description-color: var(--mantine-color-white);
|
|
71
71
|
--_action-description-opacity: 0.7;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.m-3d475731 {
|
|
75
75
|
flex: 1 1;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.
|
|
78
|
+
.m-832642f6 {
|
|
79
79
|
margin-left: var(--_action-section-ml);
|
|
80
80
|
margin-right: var(--_action-section-mr);
|
|
81
81
|
opacity: var(--_action-section-opacity, 1);
|
|
82
82
|
color: var(--_action-section-color, inherit);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.m-832642f6[data-dimmed] {
|
|
86
86
|
--_action-section-opacity: var(--_action-description-opacity, 1);
|
|
87
87
|
--_action-section-color: var(--_action-description-color, var(--mantine-color-dimmed));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.m-832642f6[data-position='left'] {
|
|
91
91
|
--_action-section-mr: var(--mantine-spacing-md);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.m-832642f6[data-position='right'] {
|
|
95
95
|
--_action-section-ml: var(--mantine-spacing-md);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.m-6c2a1345 {
|
|
99
99
|
display: block;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.m-a6d9d78d {
|
|
103
103
|
display: block;
|
|
104
104
|
font-size: var(--mantine-font-size-xs);
|
|
105
105
|
opacity: var(--_action-description-opacity, 1);
|
|
106
106
|
color: var(--_action-description-color, var(--mantine-color-dimmed));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.m-82f78f74 {
|
|
110
110
|
color: var(--mantine-color-dimmed);
|
|
111
111
|
padding: var(--mantine-spacing-md);
|
|
112
112
|
text-align: center;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.m-ddcaf054 {
|
|
116
116
|
padding: var(--mantine-spacing-xs) calc(var(--mantine-spacing-md) + calc(0.25rem * var(--mantine-scale)));
|
|
117
117
|
border-top: calc(0.0625rem * var(--mantine-scale)) solid var(--_footer-border);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
[data-mantine-color-scheme='light'] .
|
|
120
|
+
[data-mantine-color-scheme='light'] .m-ddcaf054 {
|
|
121
121
|
--_footer-border: var(--mantine-color-gray-2);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
[data-mantine-color-scheme='dark'] .
|
|
124
|
+
[data-mantine-color-scheme='dark'] .m-ddcaf054 {
|
|
125
125
|
--_footer-border: var(--mantine-color-dark-4);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
128
|
+
.m-5a3e5f7b {
|
|
129
129
|
display: var(--_display, flex);
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
margin-top: var(--mantine-spacing-md);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.m-5a3e5f7b::before {
|
|
135
135
|
content: var(--spotlight-label);
|
|
136
136
|
text-transform: uppercase;
|
|
137
137
|
font-size: var(--mantine-font-size-xs);
|
|
@@ -140,6 +140,6 @@
|
|
|
140
140
|
padding-left: var(--mantine-spacing-md);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.m-5a3e5f7b:empty {
|
|
144
144
|
--_display: none;
|
|
145
145
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var classes = {"content":"
|
|
1
|
+
var classes = {"content":"m-3cd250e0","body":"m-d2abce9b","search":"m-f366a061","actionsList":"m-6e463822","action":"m-d49bb8ef","actionBody":"m-3d475731","actionSection":"m-832642f6","actionLabel":"m-6c2a1345","actionDescription":"m-a6d9d78d","empty":"m-82f78f74","footer":"m-ddcaf054","actionsGroup":"m-5a3e5f7b"};
|
|
2
2
|
|
|
3
3
|
export default classes;
|
|
4
4
|
//# sourceMappingURL=Spotlight.module.css.js.map
|
package/esm/index.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.
|
|
1
|
+
.m-3cd250e0 {
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
height: 100%;
|
|
4
4
|
max-height: var(--spotlight-max-height);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.m-d2abce9b {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.m-f366a061 {
|
|
14
14
|
border: 0;
|
|
15
15
|
background-color: transparent;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.m-6e463822 {
|
|
19
19
|
/* Used in child ScrollArea */
|
|
20
20
|
--spotlight-actions-list-padding: calc(0.25rem * var(--mantine-scale));
|
|
21
21
|
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
margin-right: calc(var(--spotlight-actions-list-padding) * -1);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
[data-mantine-color-scheme='light'] .
|
|
29
|
+
[data-mantine-color-scheme='light'] .m-6e463822 {
|
|
30
30
|
--_actions-list-border: var(--mantine-color-gray-2);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
[data-mantine-color-scheme='dark'] .
|
|
33
|
+
[data-mantine-color-scheme='dark'] .m-6e463822 {
|
|
34
34
|
--_actions-list-border: var(--mantine-color-dark-4);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.m-d49bb8ef {
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
40
40
|
width: 100%;
|
|
@@ -45,93 +45,93 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@media (hover: hover) {
|
|
48
|
-
[data-mantine-color-scheme='light'] .
|
|
48
|
+
[data-mantine-color-scheme='light'] .m-d49bb8ef:not([data-selected]):hover {
|
|
49
49
|
--_action-bg: var(--mantine-color-gray-0);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
[data-mantine-color-scheme='dark'] .
|
|
52
|
+
[data-mantine-color-scheme='dark'] .m-d49bb8ef:not([data-selected]):hover {
|
|
53
53
|
--_action-bg: var(--mantine-color-dark-6);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@media (hover: none) {
|
|
58
|
-
[data-mantine-color-scheme='light'] .
|
|
58
|
+
[data-mantine-color-scheme='light'] .m-d49bb8ef:not([data-selected]):active {
|
|
59
59
|
--_action-bg: var(--mantine-color-gray-0);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
[data-mantine-color-scheme='dark'] .
|
|
62
|
+
[data-mantine-color-scheme='dark'] .m-d49bb8ef:not([data-selected]):active {
|
|
63
63
|
--_action-bg: var(--mantine-color-dark-6);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.m-d49bb8ef[data-selected] {
|
|
68
68
|
--_action-bg: var(--mantine-color-primary);
|
|
69
69
|
--_action-color: var(--mantine-color-white);
|
|
70
70
|
--_action-description-color: var(--mantine-color-white);
|
|
71
71
|
--_action-description-opacity: 0.7;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.m-3d475731 {
|
|
75
75
|
flex: 1 1;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.
|
|
78
|
+
.m-832642f6 {
|
|
79
79
|
margin-left: var(--_action-section-ml);
|
|
80
80
|
margin-right: var(--_action-section-mr);
|
|
81
81
|
opacity: var(--_action-section-opacity, 1);
|
|
82
82
|
color: var(--_action-section-color, inherit);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.m-832642f6[data-dimmed] {
|
|
86
86
|
--_action-section-opacity: var(--_action-description-opacity, 1);
|
|
87
87
|
--_action-section-color: var(--_action-description-color, var(--mantine-color-dimmed));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.m-832642f6[data-position='left'] {
|
|
91
91
|
--_action-section-mr: var(--mantine-spacing-md);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.m-832642f6[data-position='right'] {
|
|
95
95
|
--_action-section-ml: var(--mantine-spacing-md);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.m-6c2a1345 {
|
|
99
99
|
display: block;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.m-a6d9d78d {
|
|
103
103
|
display: block;
|
|
104
104
|
font-size: var(--mantine-font-size-xs);
|
|
105
105
|
opacity: var(--_action-description-opacity, 1);
|
|
106
106
|
color: var(--_action-description-color, var(--mantine-color-dimmed));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.m-82f78f74 {
|
|
110
110
|
color: var(--mantine-color-dimmed);
|
|
111
111
|
padding: var(--mantine-spacing-md);
|
|
112
112
|
text-align: center;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.m-ddcaf054 {
|
|
116
116
|
padding: var(--mantine-spacing-xs) calc(var(--mantine-spacing-md) + calc(0.25rem * var(--mantine-scale)));
|
|
117
117
|
border-top: calc(0.0625rem * var(--mantine-scale)) solid var(--_footer-border);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
[data-mantine-color-scheme='light'] .
|
|
120
|
+
[data-mantine-color-scheme='light'] .m-ddcaf054 {
|
|
121
121
|
--_footer-border: var(--mantine-color-gray-2);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
[data-mantine-color-scheme='dark'] .
|
|
124
|
+
[data-mantine-color-scheme='dark'] .m-ddcaf054 {
|
|
125
125
|
--_footer-border: var(--mantine-color-dark-4);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
128
|
+
.m-5a3e5f7b {
|
|
129
129
|
display: var(--_display, flex);
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
margin-top: var(--mantine-spacing-md);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.m-5a3e5f7b::before {
|
|
135
135
|
content: var(--spotlight-label);
|
|
136
136
|
text-transform: uppercase;
|
|
137
137
|
font-size: var(--mantine-font-size-xs);
|
|
@@ -140,6 +140,6 @@
|
|
|
140
140
|
padding-left: var(--mantine-spacing-md);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.m-5a3e5f7b:empty {
|
|
144
144
|
--_display: none;
|
|
145
145
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/spotlight",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.19",
|
|
4
4
|
"types": "./lib/index.d.ts",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -32,14 +32,13 @@
|
|
|
32
32
|
"command-center"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@mantine/core": "7.0.0-alpha.
|
|
36
|
-
"@mantine/hooks": "7.0.0-alpha.
|
|
35
|
+
"@mantine/core": "7.0.0-alpha.19",
|
|
36
|
+
"@mantine/hooks": "7.0.0-alpha.19",
|
|
37
37
|
"react": ">=18.0.0",
|
|
38
38
|
"react-dom": ">=18.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mantine/store": "7.0.0-alpha.
|
|
42
|
-
"tslib": "^2.5.2"
|
|
41
|
+
"@mantine/store": "7.0.0-alpha.19"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {}
|
|
45
44
|
}
|