@nl-rvo/css-hero 1.6.0 → 1.7.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/CHANGELOG.md +18 -0
- package/dist/index.css +9 -4
- package/dist/index.min.css +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/index.scss +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# `@nl-rvo/css-hero`
|
|
2
2
|
|
|
3
|
+
## 1.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2ed4a39: Add new `violet` color option to the hero component.
|
|
8
|
+
|
|
9
|
+
## 1.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- fa36e07: Project structure updates
|
|
14
|
+
|
|
15
|
+
- Moved all Storybook stories to the /stories directory.
|
|
16
|
+
- Moved all documentation files to the /docs directory.
|
|
17
|
+
- Removed React components from library-component-react and moved them into this package.
|
|
18
|
+
- Update all .stories imports to the right react package "component-library-react"
|
|
19
|
+
- Fix all Redundant / PascalCase lint warnings for .stories files.
|
|
20
|
+
|
|
3
21
|
## 1.6.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/index.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
margin-inline-end: auto;
|
|
7
7
|
margin-inline-start: auto;
|
|
8
8
|
min-height: 200px;
|
|
9
|
+
overflow: hidden;
|
|
9
10
|
position: relative;
|
|
10
11
|
}
|
|
11
12
|
.rvo-hero .rvo-hero__content {
|
|
@@ -33,11 +34,15 @@
|
|
|
33
34
|
font-weight: var(--rvo-hero-subtitle-font-weight);
|
|
34
35
|
line-height: var(--rvo-hero-subtitle-line-height);
|
|
35
36
|
}
|
|
36
|
-
.rvo-hero--
|
|
37
|
-
background-color: var(--rvo-
|
|
38
|
-
|
|
37
|
+
.rvo-hero--violet {
|
|
38
|
+
--rvo-hero-box-background-color: var(--rvo-color-violet);
|
|
39
|
+
}
|
|
40
|
+
.rvo-hero--lichtblauw {
|
|
41
|
+
--rvo-hero-box-background-color: var(--rvo-hero-kind-lichtblauw-background-color);
|
|
39
42
|
}
|
|
40
|
-
.rvo-hero--lichtblauw .rvo-
|
|
43
|
+
.rvo-hero--lichtblauw .rvo-hero__content,
|
|
44
|
+
.rvo-hero--lichtblauw .rvo-hero__title,
|
|
45
|
+
.rvo-hero--lichtblauw .rvo-hero__subtitle {
|
|
41
46
|
color: var(--rvo-hero-kind-lichtblauw-color);
|
|
42
47
|
}
|
|
43
48
|
|
package/dist/index.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.rvo-hero{margin-inline-end:auto;margin-inline-start:auto;min-height:200px;position:relative}.rvo-hero .rvo-hero__content{background-color:var(--rvo-hero-box-background-color);border-start-end-radius:var(--rvo-hero-box-border-start-end-radius);bottom:0;margin-block-end:0;max-width:var(--rvo-hero-box-max-width);padding-block-end:var(--rvo-hero-box-padding-block-end);padding-block-start:var(--rvo-hero-box-padding-block-start);padding-inline-end:var(--rvo-hero-box-padding-inline-end);padding-inline-start:var(--rvo-hero-box-padding-inline-start);position:absolute;z-index:1}.rvo-hero .rvo-hero__content,.rvo-hero .rvo-hero__subtitle,.rvo-hero .rvo-hero__title{color:var(--rvo-hero-title-color)}.rvo-hero .rvo-hero__subtitle{display:block;font-size:var(--rvo-hero-subtitle-font-size);font-style:var(--rvo-hero-subtitle-font-style);font-weight:var(--rvo-hero-subtitle-font-weight);line-height:var(--rvo-hero-subtitle-line-height)}.rvo-hero--
|
|
1
|
+
.rvo-hero{margin-inline-end:auto;margin-inline-start:auto;min-height:200px;overflow:hidden;position:relative}.rvo-hero .rvo-hero__content{background-color:var(--rvo-hero-box-background-color);border-start-end-radius:var(--rvo-hero-box-border-start-end-radius);bottom:0;margin-block-end:0;max-width:var(--rvo-hero-box-max-width);padding-block-end:var(--rvo-hero-box-padding-block-end);padding-block-start:var(--rvo-hero-box-padding-block-start);padding-inline-end:var(--rvo-hero-box-padding-inline-end);padding-inline-start:var(--rvo-hero-box-padding-inline-start);position:absolute;z-index:1}.rvo-hero .rvo-hero__content,.rvo-hero .rvo-hero__subtitle,.rvo-hero .rvo-hero__title{color:var(--rvo-hero-title-color)}.rvo-hero .rvo-hero__subtitle{display:block;font-size:var(--rvo-hero-subtitle-font-size);font-style:var(--rvo-hero-subtitle-font-style);font-weight:var(--rvo-hero-subtitle-font-weight);line-height:var(--rvo-hero-subtitle-line-height)}.rvo-hero--violet{--rvo-hero-box-background-color:var(--rvo-color-violet)}.rvo-hero--lichtblauw{--rvo-hero-box-background-color:var(--rvo-hero-kind-lichtblauw-background-color)}.rvo-hero--lichtblauw .rvo-hero__content,.rvo-hero--lichtblauw .rvo-hero__subtitle,.rvo-hero--lichtblauw .rvo-hero__title{color:var(--rvo-hero-kind-lichtblauw-color)}.rvo-hero__image-container{line-height:0;min-height:300px;overflow:hidden;padding-block-end:20%}@media (min-width:540px){.rvo-hero__image-container{max-height:500px;padding-block-end:0}}@media (min-width:780px){.rvo-hero__image-container{border-end-end-radius:var(--rvo-hero-border-end-end-radius)}}.rvo-hero__image-container--lined:after{border-color:var(--rvo-hero-image-line-border-color);border-end-start-radius:var(--rvo-hero-image-line-border-radius);border-style:var(--rvo-hero-image-line-border-style);border-width:var(--rvo-hero-image-line-border-width);content:"";display:block;height:100%;inset-block-start:calc(var(--rvo-hero-image-line-inset) - 25%);inset-inline-end:var(--rvo-hero-image-line-inset);position:absolute;width:100%}@media (min-width:540px){.rvo-hero__image-container--lined:after{inset-block-start:var(--rvo-hero-image-line-inset)}}.rvo-hero__custom-image-wrapper img,.rvo-hero__image{height:100%;object-fit:cover;width:100%}
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ".rvo-hero{margin-inline-end:auto;margin-inline-start:auto;min-height:200px;position:relative}.rvo-hero .rvo-hero__content{background-color:var(--rvo-hero-box-background-color);border-start-end-radius:var(--rvo-hero-box-border-start-end-radius);bottom:0;margin-block-end:0;max-width:var(--rvo-hero-box-max-width);padding-block-end:var(--rvo-hero-box-padding-block-end);padding-block-start:var(--rvo-hero-box-padding-block-start);padding-inline-end:var(--rvo-hero-box-padding-inline-end);padding-inline-start:var(--rvo-hero-box-padding-inline-start);position:absolute;z-index:1}.rvo-hero .rvo-hero__content,.rvo-hero .rvo-hero__subtitle,.rvo-hero .rvo-hero__title{color:var(--rvo-hero-title-color)}.rvo-hero .rvo-hero__subtitle{display:block;font-size:var(--rvo-hero-subtitle-font-size);font-style:var(--rvo-hero-subtitle-font-style);font-weight:var(--rvo-hero-subtitle-font-weight);line-height:var(--rvo-hero-subtitle-line-height)}.rvo-hero--
|
|
1
|
+
export default ".rvo-hero{margin-inline-end:auto;margin-inline-start:auto;min-height:200px;overflow:hidden;position:relative}.rvo-hero .rvo-hero__content{background-color:var(--rvo-hero-box-background-color);border-start-end-radius:var(--rvo-hero-box-border-start-end-radius);bottom:0;margin-block-end:0;max-width:var(--rvo-hero-box-max-width);padding-block-end:var(--rvo-hero-box-padding-block-end);padding-block-start:var(--rvo-hero-box-padding-block-start);padding-inline-end:var(--rvo-hero-box-padding-inline-end);padding-inline-start:var(--rvo-hero-box-padding-inline-start);position:absolute;z-index:1}.rvo-hero .rvo-hero__content,.rvo-hero .rvo-hero__subtitle,.rvo-hero .rvo-hero__title{color:var(--rvo-hero-title-color)}.rvo-hero .rvo-hero__subtitle{display:block;font-size:var(--rvo-hero-subtitle-font-size);font-style:var(--rvo-hero-subtitle-font-style);font-weight:var(--rvo-hero-subtitle-font-weight);line-height:var(--rvo-hero-subtitle-line-height)}.rvo-hero--violet{--rvo-hero-box-background-color:var(--rvo-color-violet)}.rvo-hero--lichtblauw{--rvo-hero-box-background-color:var(--rvo-hero-kind-lichtblauw-background-color)}.rvo-hero--lichtblauw .rvo-hero__content,.rvo-hero--lichtblauw .rvo-hero__subtitle,.rvo-hero--lichtblauw .rvo-hero__title{color:var(--rvo-hero-kind-lichtblauw-color)}.rvo-hero__image-container{line-height:0;min-height:300px;overflow:hidden;padding-block-end:20%}@media (min-width:540px){.rvo-hero__image-container{max-height:500px;padding-block-end:0}}@media (min-width:780px){.rvo-hero__image-container{border-end-end-radius:var(--rvo-hero-border-end-end-radius)}}.rvo-hero__image-container--lined:after{border-color:var(--rvo-hero-image-line-border-color);border-end-start-radius:var(--rvo-hero-image-line-border-radius);border-style:var(--rvo-hero-image-line-border-style);border-width:var(--rvo-hero-image-line-border-width);content:\"\";display:block;height:100%;inset-block-start:calc(var(--rvo-hero-image-line-inset) - 25%);inset-inline-end:var(--rvo-hero-image-line-inset);position:absolute;width:100%}@media (min-width:540px){.rvo-hero__image-container--lined:after{inset-block-start:var(--rvo-hero-image-line-inset)}}.rvo-hero__custom-image-wrapper img,.rvo-hero__image{height:100%;object-fit:cover;width:100%}";
|
package/package.json
CHANGED
package/src/index.scss
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
margin-inline-end: auto;
|
|
7
7
|
margin-inline-start: auto;
|
|
8
8
|
min-height: 200px;
|
|
9
|
+
overflow: hidden;
|
|
9
10
|
position: relative;
|
|
10
11
|
|
|
11
12
|
.rvo-hero__content {
|
|
@@ -36,17 +37,17 @@
|
|
|
36
37
|
line-height: var(--rvo-hero-subtitle-line-height);
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
&--violet {
|
|
41
|
+
--rvo-hero-box-background-color: var(--rvo-color-violet);
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
&--lichtblauw {
|
|
40
|
-
|
|
41
|
-
&__content {
|
|
42
|
-
background-color: var(--rvo-hero-kind-lichtblauw-background-color);
|
|
43
|
-
color: var(--rvo-hero-kind-lichtblauw-color);
|
|
44
|
-
}
|
|
45
|
+
--rvo-hero-box-background-color: var(--rvo-hero-kind-lichtblauw-background-color);
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
.rvo-hero__content,
|
|
48
|
+
.rvo-hero__title,
|
|
49
|
+
.rvo-hero__subtitle {
|
|
50
|
+
color: var(--rvo-hero-kind-lichtblauw-color);
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
}
|