|
15 | 15 | padding: 0; |
16 | 16 | padding: 1; |
17 | 17 | padding: 2; |
| 18 | + // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 19 | + // warning: Numeric operator detected. |
18 | 20 | padding: #{16px + 16px}; |
19 | 21 | padding: layout-width(nav); |
20 | 22 | padding: 10em; |
|
23 | 25 | padding: var(--p-space-4, 16px); |
24 | 26 | // Comment |
25 | 27 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
26 | | - // padding: 10px; |
| 28 | + // error: Non-tokenizable value '10px' |
27 | 29 | padding: 10px; |
28 | 30 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
29 | | - // padding: 10rem; |
| 31 | + // error: Non-tokenizable value '10rem' |
30 | 32 | padding: 10rem; |
31 | 33 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
32 | | - // padding: 10px 10px; |
| 34 | + // error: Non-tokenizable value '10px' |
33 | 35 | padding: 10px 10px; |
34 | 36 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 37 | + // error: Non-tokenizable value '10px' |
35 | 38 | // padding: var(--p-space-4) 10px; |
36 | 39 | padding: 16px 10px; |
37 | 40 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
38 | | - // padding: 10rem 10rem; |
| 41 | + // error: Non-tokenizable value '10rem' |
39 | 42 | padding: 10rem 10rem; |
40 | 43 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 44 | + // error: Non-tokenizable value '10rem' |
41 | 45 | // padding: var(--p-space-4) 10rem; |
42 | 46 | padding: 1rem 10rem; |
43 | 47 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
44 | | - // padding: 10px 10rem; |
| 48 | + // error: Non-tokenizable value '10px' |
| 49 | + // error: Non-tokenizable value '10rem' |
45 | 50 | padding: 10px 10rem; |
46 | 51 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 52 | + // error: Non-tokenizable value '10rem' |
47 | 53 | // padding: var(--p-space-4) 10rem; |
48 | 54 | padding: 16px 10rem; |
49 | 55 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 56 | + // error: Non-tokenizable value '10px' |
50 | 57 | // padding: 10px var(--p-space-4); |
51 | 58 | padding: 10px 1rem; |
52 | 59 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 60 | + // error: Non-tokenizable value '-16px' |
53 | 61 | // padding: var(--p-space-4) -16px; |
54 | 62 | padding: 16px -16px; |
55 | 63 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 64 | + // warning: Numeric operator detected. |
56 | 65 | // padding: var(--p-space-4) + var(--p-space-4); |
57 | 66 | padding: 16px + 16px; |
58 | 67 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 68 | + // warning: Numeric operator detected. |
59 | 69 | // padding: var(--p-space-4) + var(--p-space-4) var(--p-space-4); |
60 | 70 | padding: 16px + 16px 16px; |
61 | 71 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 72 | + // warning: Numeric operator detected. |
62 | 73 | // padding: $var + var(--p-space-4); |
63 | 74 | padding: $var + 16px; |
64 | 75 | padding: calc(16px + 16px); |
65 | 76 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 77 | + // warning: Numeric operator detected. |
66 | 78 | // padding: var(--p-space-4) + #{16px + 16px}; |
67 | 79 | padding: 16px + #{16px + 16px}; |
68 | 80 | // Skip negative lengths. Need to discuss replacement strategy e.g. |
69 | 81 | // calc(-1 * var(--p-space-*)) vs var(--p-space--*) |
70 | 82 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
71 | | - // padding: -16px; |
| 83 | + // error: Non-tokenizable value '-16px' |
72 | 84 | padding: -16px; |
73 | 85 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
74 | | - // padding: -10px; |
| 86 | + // error: Non-tokenizable value '-10px' |
75 | 87 | padding: -10px; |
76 | 88 |
|
77 | 89 | // REM FUNCTION |
|
86 | 98 | padding: calc(10rem + var(--p-choice-size, #{rem(10px)})); |
87 | 99 | // Comment |
88 | 100 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
89 | | - // padding: rem(10px); |
| 101 | + // error: Non-tokenizable value '10px' |
90 | 102 | padding: rem(10px); |
91 | 103 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
92 | | - // padding: rem(10px) rem(10px); |
| 104 | + // error: Non-tokenizable value '10px' |
93 | 105 | padding: rem(10px) rem(10px); |
94 | 106 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 107 | + // error: Non-tokenizable value '10px' |
95 | 108 | // padding: var(--p-space-4) rem(10px); |
96 | 109 | padding: rem(16px) rem(10px); |
97 | 110 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 111 | + // error: Non-tokenizable value '-16px' |
98 | 112 | // padding: var(--p-space-4) -16px; |
99 | 113 | padding: rem(16px) -16px; |
100 | 114 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 115 | + // warning: Numeric operator detected. |
101 | 116 | // padding: var(--p-space-4) + var(--p-space-4); |
102 | 117 | padding: rem(16px) + 16px; |
103 | 118 | // polaris-migrator: Unable to migrate the following expression. Please upgrade manually. |
| 119 | + // error: Non-tokenizable value '$var \* 16px' |
| 120 | + // warning: Numeric operator detected. |
104 | 121 | // padding: rem($var * var(--p-space-4)); |
105 | 122 | padding: rem($var * 16px); |
106 | 123 | } |
0 commit comments