@leaflink/stash 44.0.0-beta.9 → 44.0.1
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/assets/illustrations/FileUpload/document.svg +17 -1
- package/dist/FileUpload.js +8 -6
- package/dist/FileUpload.js.map +1 -1
- package/dist/Filters.js +1 -1
- package/dist/Filters.js.map +1 -1
- package/dist/LicenseChip.js +20 -17
- package/dist/LicenseChip.js.map +1 -1
- package/dist/ListView.js +4 -4
- package/dist/ListView.js.map +1 -1
- package/dist/MenuItem.js +5 -5
- package/dist/MenuItem.js.map +1 -1
- package/dist/Select.js +4 -4
- package/dist/Select.js.map +1 -1
- package/dist/Textarea.js +25 -25
- package/dist/Textarea.js.map +1 -1
- package/dist/components.css +1 -1
- package/package.json +1 -1
- package/styles/backwards-compat.css +22 -5
- package/styles/base.css +27 -15
package/styles/base.css
CHANGED
|
@@ -9,6 +9,32 @@
|
|
|
9
9
|
@tailwind utilities;
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
+
@layer components {
|
|
13
|
+
/**
|
|
14
|
+
* ll-grid is a legacy grid class that conflicts with tailwinds out of the box grid class.
|
|
15
|
+
* It's quite hard to replace it with a 1-1 swap, because there's so many default styles included in ll-grid, but it's
|
|
16
|
+
* also used in conjunction with other grid classes. For example:
|
|
17
|
+
* <div class="ll-grid ll-grid-cols-4 md:ll-grid-cols-8 lg:ll-grid-cols-12">
|
|
18
|
+
*
|
|
19
|
+
* In this example, ll-grid has default grid-cols styles, but the dev is overriding those defaults. If we were to
|
|
20
|
+
* replace ll-grid with tw-grid in a simple find/replace, we would HAVE to include
|
|
21
|
+
* `tw-grid-cols-1 tw-gap-x-gutter tw-gap-y-6 md:tw-grid-cols-12` as well, and then in examples like the one above,
|
|
22
|
+
* you'd have weird conflicts and specificity issues.
|
|
23
|
+
*
|
|
24
|
+
* Conclusion: So, for now,
|
|
25
|
+
* - `.ll-grid` & `.grid` will continue to exist in backwards-compat.css as is.
|
|
26
|
+
* - `.tw-grid` will behave as expected and is a simple utility with no baked in defaults.
|
|
27
|
+
* - We're creating a custom .tw-ll-grid class that will have the same styles but won't cause weird issues downstream.
|
|
28
|
+
* In the future we can remove this class OR keep it around if we decide we want to keep a grid utility with
|
|
29
|
+
* some baked in defaults.
|
|
30
|
+
*/
|
|
31
|
+
.tw-ll-grid {
|
|
32
|
+
@apply tw-grid tw-grid-cols-1 tw-gap-x-gutter tw-gap-y-6 md:tw-grid-cols-12;
|
|
33
|
+
|
|
34
|
+
--deprecated: "WARNING: Use `tw-grid` instead";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
12
38
|
/**
|
|
13
39
|
* This is a custom .container class that conflicts with tailwinds out of the box container class.
|
|
14
40
|
* Placed here before tw utilities, and specifically not within @layer components, so that it is
|
|
@@ -22,20 +48,6 @@
|
|
|
22
48
|
width: 100%;
|
|
23
49
|
}
|
|
24
50
|
|
|
25
|
-
/**
|
|
26
|
-
* This is a legacy grid class that conflicts with tailwinds out of the box grid class.
|
|
27
|
-
* Placed here before tw utilities, and specifically not within @layer components, so that it is
|
|
28
|
-
* always included in the output css.
|
|
29
|
-
*
|
|
30
|
-
* @deprecated - Todo: Migrate to tailwind grid classes. Too tricky to do in one find/replace cause you may have
|
|
31
|
-
* conflicts with other grid classes meant to override ll-grid.
|
|
32
|
-
*/
|
|
33
|
-
.ll-grid {
|
|
34
|
-
@apply tw-grid tw-grid-cols-1 tw-gap-x-gutter tw-gap-y-6 md:tw-grid-cols-12;
|
|
35
|
-
|
|
36
|
-
--deprecated: "WARNING: Use `tw-grid` instead";
|
|
37
|
-
}
|
|
38
|
-
|
|
39
51
|
/**
|
|
40
52
|
* Variables
|
|
41
53
|
*/
|
|
@@ -217,7 +229,7 @@
|
|
|
217
229
|
*,
|
|
218
230
|
::before,
|
|
219
231
|
::after {
|
|
220
|
-
@apply tw-border-0 tw-border-ice-500;
|
|
232
|
+
@apply tw-border-0 tw-border-solid tw-border-ice-500;
|
|
221
233
|
|
|
222
234
|
background-repeat: no-repeat;
|
|
223
235
|
box-sizing: border-box;
|