@linzjs/lui 15.1.11 → 15.1.12

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [15.1.12](https://github.com/linz/lui/compare/v15.1.11...v15.1.12) (2022-03-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added mixin for drop shadows ([#618](https://github.com/linz/lui/issues/618)) ([7b50db7](https://github.com/linz/lui/commit/7b50db743f9cbe6c4a8333adc915700b2740edd9))
7
+
1
8
  ## [15.1.11](https://github.com/linz/lui/compare/v15.1.10...v15.1.11) (2022-03-11)
2
9
 
3
10
 
@@ -5,3 +5,23 @@
5
5
  @mixin box-shadow {
6
6
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
7
7
  }
8
+
9
+ // Drop shadow declarations - Medium is default and if no value is passed. There are three variations of drop shadows in FIGLUI
10
+ @mixin drop-shadow ($size: "md") {
11
+
12
+ @if ($size == sm) {
13
+ box-shadow: 0px 2px 3px 0px #00000040,
14
+ 0px 0px 3px 0px #00000026;
15
+ }
16
+
17
+ @if ($size == lg) {
18
+ box-shadow: 0px 3px 12px 0px #00000026,
19
+ 0px 12px 18px 4px #00000040;
20
+
21
+ }
22
+
23
+ @else {
24
+ box-shadow: 0px 1px 6px 0px #00000026,
25
+ 0px 6px 10px 0px #00000040;
26
+ }
27
+ }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "15.1.11",
2
+ "version": "15.1.12",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",