@canonical/svelte-ds-app-launchpad 0.35.0 → 0.36.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.
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-column: 1 / -1;
|
|
5
5
|
grid-template-columns: subgrid;
|
|
6
|
-
font: var(--
|
|
7
|
-
color: var(--
|
|
6
|
+
font: var(--ds-typography-text-secondary-code);
|
|
7
|
+
color: var(--color-text);
|
|
8
8
|
|
|
9
|
-
--log-line-background-color: var(--
|
|
10
|
-
--log-line-target-highlight-color: var(--
|
|
9
|
+
--log-line-background-color: var(--color-foreground-input);
|
|
10
|
+
--log-line-target-highlight-color: var(--color-foreground-input-hover);
|
|
11
11
|
--log-line-target-highlight-time: 5s;
|
|
12
12
|
|
|
13
13
|
> td,
|
|
14
14
|
> th {
|
|
15
|
-
padding-block: var(--
|
|
16
|
-
font-weight: var(--
|
|
15
|
+
padding-block: var(--dimension-025);
|
|
16
|
+
font-weight: var(--typography-weight-regular);
|
|
17
17
|
background-color: var(--log-line-background-color);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
animation:
|
|
24
24
|
target-highlight-hold var(--log-line-target-highlight-time) step-end
|
|
25
25
|
forwards,
|
|
26
|
-
target-highlight-fade var(--
|
|
26
|
+
target-highlight-fade var(--ds-transition-duration-sleepy) ease-out
|
|
27
27
|
var(--log-line-target-highlight-time) forwards;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
> .line-number {
|
|
32
32
|
grid-column: line-number;
|
|
33
33
|
text-align: right;
|
|
34
|
-
color: var(--
|
|
34
|
+
color: var(--color-text-muted);
|
|
35
35
|
position: sticky;
|
|
36
36
|
left: 0;
|
|
37
37
|
padding-inline-start: var(--log-padding-inline);
|
|
38
|
-
padding-inline-end: var(--
|
|
38
|
+
padding-inline-end: var(--dimension-150);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
> .timestamp {
|
|
42
42
|
grid-column: timestamp;
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
|
|
45
|
-
padding-inline-end: var(--
|
|
45
|
+
padding-inline-end: var(--dimension-200);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
> .content {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
contain: inline-size layout paint;
|
|
4
4
|
overflow: auto;
|
|
5
5
|
|
|
6
|
-
--log-padding-inline: var(--
|
|
6
|
+
--log-padding-inline: var(--dimension-200);
|
|
7
7
|
|
|
8
|
-
background-color: var(--
|
|
8
|
+
background-color: var(--color-foreground-input);
|
|
9
9
|
padding-inline-end: var(--log-padding-inline);
|
|
10
|
-
padding-block-end: var(--
|
|
10
|
+
padding-block-end: var(--dimension-400);
|
|
11
11
|
|
|
12
12
|
tbody {
|
|
13
13
|
display: grid;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
outline-offset: 0;
|
|
6
6
|
|
|
7
|
-
width: var(--
|
|
8
|
-
height: var(--
|
|
9
|
-
background-color: var(--
|
|
10
|
-
border-radius: var(--
|
|
7
|
+
width: var(--dimension-400);
|
|
8
|
+
height: var(--dimension-200);
|
|
9
|
+
background-color: var(--color-foreground-switch-unselected);
|
|
10
|
+
border-radius: var(--dimension-radius-full);
|
|
11
11
|
|
|
12
12
|
&::after {
|
|
13
13
|
content: "";
|
|
@@ -15,27 +15,40 @@
|
|
|
15
15
|
top: 50%;
|
|
16
16
|
left: 0;
|
|
17
17
|
transform: translateY(-50%);
|
|
18
|
-
width: var(--
|
|
19
|
-
height: var(--
|
|
20
|
-
background-color: var(--
|
|
21
|
-
border-radius: var(--
|
|
22
|
-
border: var(--
|
|
23
|
-
var(--
|
|
24
|
-
transition: transform var(--
|
|
25
|
-
var(--
|
|
18
|
+
width: var(--dimension-200);
|
|
19
|
+
height: var(--dimension-200);
|
|
20
|
+
background-color: var(--color-foreground-switch-knob);
|
|
21
|
+
border-radius: var(--dimension-radius-full);
|
|
22
|
+
border: var(--dimension-stroke-thickness-medium) solid
|
|
23
|
+
var(--color-foreground-switch-unselected);
|
|
24
|
+
transition: transform var(--ds-transition-duration-slow)
|
|
25
|
+
var(--ds-transition-timing-ease-out);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:checked {
|
|
29
|
-
background-color: var(--
|
|
29
|
+
background-color: var(--color-foreground-switch-selected);
|
|
30
30
|
|
|
31
31
|
&::after {
|
|
32
|
-
border-color: var(--
|
|
33
|
-
transform: translate(calc(var(--
|
|
32
|
+
border-color: var(--color-foreground-switch-selected);
|
|
33
|
+
transform: translate(calc(var(--dimension-400) / 2), -50%);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&:disabled {
|
|
38
|
-
opacity: var(--lp-opacity-muted);
|
|
39
38
|
cursor: not-allowed;
|
|
39
|
+
background-color: var(--color-foreground-switch-unselected-disabled);
|
|
40
|
+
|
|
41
|
+
&::after {
|
|
42
|
+
background-color: var(--color-foreground-switch-knob-disabled);
|
|
43
|
+
border-color: var(--color-foreground-switch-unselected-disabled);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:checked {
|
|
47
|
+
background-color: var(--color-foreground-switch-selected-disabled);
|
|
48
|
+
|
|
49
|
+
&::after {
|
|
50
|
+
border-color: var(--color-foreground-switch-selected-disabled);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
40
53
|
}
|
|
41
54
|
}
|
package/dist/styles/ds-shim.css
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--ds-transition-duration-fast: 165ms;
|
|
3
|
-
--ds-transition-duration-snap: 100ms;
|
|
4
|
-
--ds-transition-duration-brisk: 333ms;
|
|
5
|
-
--ds-transition-timing-ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
6
3
|
--ds-transition-timing-ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
4
|
+
--ds-transition-duration-sleepy: 1s;
|
|
7
5
|
--ds-color-foreground-tooltip: light-dark(
|
|
8
6
|
var(--color-palette-gray-930),
|
|
9
7
|
var(--color-palette-gray-40)
|
|
@@ -23,6 +21,11 @@
|
|
|
23
21
|
var(--typography-text-secondary-bold-font-size) /
|
|
24
22
|
var(--typography-text-secondary-bold-line-height)
|
|
25
23
|
var(--typography-text-secondary-bold-font-family);
|
|
24
|
+
--ds-typography-text-secondary-code:
|
|
25
|
+
var(--typography-text-secondary-code-font-weight)
|
|
26
|
+
var(--typography-text-secondary-code-font-size) /
|
|
27
|
+
var(--typography-text-secondary-code-line-height)
|
|
28
|
+
var(--typography-text-secondary-code-font-family);
|
|
26
29
|
--ds-typography-text-primary-bold:
|
|
27
30
|
var(--typography-text-primary-bold-font-weight)
|
|
28
31
|
var(--typography-text-primary-bold-font-size) /
|
|
@@ -95,7 +98,7 @@
|
|
|
95
98
|
@media (prefers-reduced-motion: reduce) {
|
|
96
99
|
:root {
|
|
97
100
|
--ds-transition-duration-fast: 0ms;
|
|
98
|
-
--ds-transition-duration-
|
|
99
|
-
--ds-transition-duration-
|
|
101
|
+
--ds-transition-duration-slow: 0ms;
|
|
102
|
+
--ds-transition-duration-sleepy: 0ms;
|
|
100
103
|
}
|
|
101
104
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/svelte-ds-app-launchpad",
|
|
3
3
|
"description": "Launchpad-specific components for the Pragma design system.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.36.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "2.4.9",
|
|
66
|
-
"@canonical/biome-config": "^0.
|
|
66
|
+
"@canonical/biome-config": "^0.36.0",
|
|
67
67
|
"@canonical/design-tokens": "0.6.2-contrasted.0",
|
|
68
|
-
"@canonical/storybook-config": "^0.
|
|
69
|
-
"@canonical/storybook-helpers": "^0.
|
|
70
|
-
"@canonical/svelte-ssr-test": "^0.
|
|
71
|
-
"@canonical/typescript-config-svelte": "^0.
|
|
72
|
-
"@canonical/webarchitect": "^0.
|
|
68
|
+
"@canonical/storybook-config": "^0.36.0",
|
|
69
|
+
"@canonical/storybook-helpers": "^0.36.0",
|
|
70
|
+
"@canonical/svelte-ssr-test": "^0.36.0",
|
|
71
|
+
"@canonical/typescript-config-svelte": "^0.36.0",
|
|
72
|
+
"@canonical/webarchitect": "^0.36.0",
|
|
73
73
|
"@storybook/addon-docs": "^10.3.1",
|
|
74
74
|
"@storybook/addon-svelte-csf": "^5.0.11",
|
|
75
75
|
"@sveltejs/package": "^2.5.7",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@canonical/launchpad-design-tokens": "^1.1.1",
|
|
90
|
-
"@canonical/styles": "^0.
|
|
90
|
+
"@canonical/styles": "^0.36.0",
|
|
91
91
|
"@canonical/svelte-icons": "^0.0.9",
|
|
92
92
|
"@floating-ui/dom": "^1.7.6"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"svelte": "^5.47.1"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "78eb47ac10104e914eeacd331795e14b832703d4"
|
|
98
98
|
}
|