barbican-reset 1.7.3 → 1.7.4
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/helpers/mixins/_hide.scss +27 -0
- package/helpers/mixins/index.scss +1 -0
- package/index.js +2 -2
- package/package.json +1 -1
- package/scss/index.scss +1 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
@mixin hide-visually($state:"hide") {
|
|
3
|
+
@if $state == "hide" {
|
|
4
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
5
|
+
clip-path: inset(100%);
|
|
6
|
+
position: absolute;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
height: 1px;
|
|
9
|
+
padding: 0;
|
|
10
|
+
width: 1px;
|
|
11
|
+
border: 0;
|
|
12
|
+
}
|
|
13
|
+
@if $state == "unhide" {
|
|
14
|
+
overflow: visible;
|
|
15
|
+
position: static;
|
|
16
|
+
clip-path: none;
|
|
17
|
+
height: auto;
|
|
18
|
+
width: auto;
|
|
19
|
+
clip: auto;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin hide-text {
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
text-indent: 101%;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
package/index.js
CHANGED
|
@@ -7,7 +7,6 @@ import TypeText from './components/type_text'
|
|
|
7
7
|
import Placeholder from './components/placeholder'
|
|
8
8
|
import CardDisplay from './components/card_display'
|
|
9
9
|
import FooterLogos from './components/footer_logos'
|
|
10
|
-
import FooterLower from './components/footer_lower'
|
|
11
10
|
import FluidIframe from './components/fluid_iframe'
|
|
12
11
|
import HelpRow from './components/help_row'
|
|
13
12
|
import VideoContent from './components/video_content'
|
|
@@ -26,6 +25,7 @@ import BrFormUpdate from './components/br_form_update'
|
|
|
26
25
|
import BrLoader from './components/br_loader'
|
|
27
26
|
import BrWrap from './components/br_wrap'
|
|
28
27
|
import BrFooterUpper from './components/br_footer/upper'
|
|
28
|
+
import BrFooterLower from './components/br_footer/lower'
|
|
29
29
|
|
|
30
30
|
export {
|
|
31
31
|
BrLoader,
|
|
@@ -41,9 +41,9 @@ export {
|
|
|
41
41
|
BrFormUpdate,
|
|
42
42
|
BrFormRow,
|
|
43
43
|
EventSummary,
|
|
44
|
+
BrFooterLower,
|
|
44
45
|
BrFooterUpper,
|
|
45
46
|
FooterLogos,
|
|
46
|
-
FooterLower,
|
|
47
47
|
FluidIframe,
|
|
48
48
|
HelpRow,
|
|
49
49
|
CardDisplay,
|
package/package.json
CHANGED