@openwarelabs/blocks 0.10.1 → 0.11.0

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.
Files changed (2) hide show
  1. package/dist/styles.css +196 -0
  2. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -1433,6 +1433,20 @@
1433
1433
  margin: 48px 0 0 224px;
1434
1434
  }
1435
1435
 
1436
+
1437
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
1438
+ takes the card's corners. Drawn pictures are left as they are. */
1439
+
1440
+ .ow-blog03__body > img,
1441
+ .ow-blog03__body > video,
1442
+ .ow-blog03__body > picture > img {
1443
+ display: block;
1444
+ width: 100%;
1445
+ height: auto;
1446
+ border: 1px solid var(--ow-border);
1447
+ border-radius: var(--ow-radius-card);
1448
+ }
1449
+
1436
1450
  @media (max-width: 760px) {
1437
1451
  .ow-blog03 {
1438
1452
  padding: 72px var(--ow-page-gutter);
@@ -2070,6 +2084,20 @@
2070
2084
  color: var(--ow-primary-text);
2071
2085
  }
2072
2086
 
2087
+
2088
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
2089
+ takes the card's corners. Drawn pictures are left as they are. */
2090
+
2091
+ .ow-cta03__inner > img,
2092
+ .ow-cta03__inner > video,
2093
+ .ow-cta03__inner > picture > img {
2094
+ display: block;
2095
+ width: 100%;
2096
+ height: auto;
2097
+ border: 1px solid var(--ow-border);
2098
+ border-radius: var(--ow-radius-card);
2099
+ }
2100
+
2073
2101
  @media (max-width: 1024px) {
2074
2102
  .ow-cta03__inner {
2075
2103
  grid-template-columns: minmax(0, 1fr);
@@ -4132,6 +4160,20 @@
4132
4160
  flex: 1;
4133
4161
  }
4134
4162
 
4163
+
4164
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
4165
+ takes the card's corners. Drawn pictures are left as they are. */
4166
+
4167
+ .ow-error-page02__visual > img,
4168
+ .ow-error-page02__visual > video,
4169
+ .ow-error-page02__visual > picture > img {
4170
+ display: block;
4171
+ width: 100%;
4172
+ height: auto;
4173
+ border: 1px solid var(--ow-border);
4174
+ border-radius: var(--ow-radius-card);
4175
+ }
4176
+
4135
4177
  @media (max-width: 1024px) {
4136
4178
  .ow-error-page02__main {
4137
4179
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
@@ -4827,6 +4869,20 @@
4827
4869
  max-width: 480px;
4828
4870
  }
4829
4871
 
4872
+
4873
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
4874
+ takes the card's corners. Drawn pictures are left as they are. */
4875
+
4876
+ .ow-features02__stage > img,
4877
+ .ow-features02__stage > video,
4878
+ .ow-features02__stage > picture > img {
4879
+ display: block;
4880
+ width: 100%;
4881
+ height: auto;
4882
+ border: 1px solid var(--ow-border);
4883
+ border-radius: var(--ow-radius-card);
4884
+ }
4885
+
4830
4886
  @media (max-width: 1024px) {
4831
4887
  .ow-features02__row,
4832
4888
  .ow-features02__row:nth-child(even) {
@@ -4970,6 +5026,20 @@
4970
5026
  padding: 32px 32px 0;
4971
5027
  }
4972
5028
 
5029
+
5030
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
5031
+ takes the card's corners. Drawn pictures are left as they are. */
5032
+
5033
+ .ow-features03__visual > img,
5034
+ .ow-features03__visual > video,
5035
+ .ow-features03__visual > picture > img {
5036
+ display: block;
5037
+ width: 100%;
5038
+ height: auto;
5039
+ border: 1px solid var(--ow-border);
5040
+ border-radius: var(--ow-radius-card);
5041
+ }
5042
+
4973
5043
  @media (max-width: 1024px) {
4974
5044
  .ow-features03__header {
4975
5045
  grid-template-columns: minmax(0, 1fr);
@@ -5057,6 +5127,20 @@
5057
5127
  margin-top: 28px;
5058
5128
  }
5059
5129
 
5130
+
5131
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
5132
+ takes the card's corners. Drawn pictures are left as they are. */
5133
+
5134
+ .ow-features04__panel > img,
5135
+ .ow-features04__panel > video,
5136
+ .ow-features04__panel > picture > img {
5137
+ display: block;
5138
+ width: 100%;
5139
+ height: auto;
5140
+ border: 1px solid var(--ow-border);
5141
+ border-radius: var(--ow-radius-card);
5142
+ }
5143
+
5060
5144
  @media (max-width: 760px) {
5061
5145
  .ow-features04 {
5062
5146
  padding: 72px var(--ow-page-gutter);
@@ -5137,6 +5221,20 @@
5137
5221
  margin-top: 40px;
5138
5222
  }
5139
5223
 
5224
+
5225
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
5226
+ takes the card's corners. Drawn pictures are left as they are. */
5227
+
5228
+ .ow-features05__visual > img,
5229
+ .ow-features05__visual > video,
5230
+ .ow-features05__visual > picture > img {
5231
+ display: block;
5232
+ width: 100%;
5233
+ height: auto;
5234
+ border: 1px solid var(--ow-border);
5235
+ border-radius: var(--ow-radius-card);
5236
+ }
5237
+
5140
5238
  @media (max-width: 1024px) {
5141
5239
  .ow-features05__inner {
5142
5240
  grid-template-columns: minmax(0, 1fr);
@@ -6088,6 +6186,9 @@
6088
6186
  }
6089
6187
 
6090
6188
  .ow-header01__brand {
6189
+ /* The name stays on one line beside the buttons, however narrow the screen. */
6190
+ flex-shrink: 0;
6191
+ white-space: nowrap;
6091
6192
  display: inline-flex;
6092
6193
  align-items: center;
6093
6194
  gap: 9px;
@@ -6208,6 +6309,9 @@
6208
6309
  }
6209
6310
 
6210
6311
  .ow-header02__brand {
6312
+ /* The name stays on one line beside the buttons, however narrow the screen. */
6313
+ flex-shrink: 0;
6314
+ white-space: nowrap;
6211
6315
  display: inline-flex;
6212
6316
  flex-shrink: 0;
6213
6317
  align-items: center;
@@ -6490,6 +6594,9 @@
6490
6594
  }
6491
6595
 
6492
6596
  .ow-header03__brand {
6597
+ /* The name stays on one line beside the buttons, however narrow the screen. */
6598
+ flex-shrink: 0;
6599
+ white-space: nowrap;
6493
6600
  display: inline-flex;
6494
6601
  align-items: center;
6495
6602
  gap: 10px;
@@ -6737,6 +6844,9 @@
6737
6844
  }
6738
6845
 
6739
6846
  .ow-header04__brand {
6847
+ /* The name stays on one line beside the buttons, however narrow the screen. */
6848
+ flex-shrink: 0;
6849
+ white-space: nowrap;
6740
6850
  display: inline-flex;
6741
6851
  align-items: center;
6742
6852
  justify-self: start;
@@ -6880,6 +6990,9 @@
6880
6990
  }
6881
6991
 
6882
6992
  .ow-header05__brand {
6993
+ /* The name stays on one line beside the buttons, however narrow the screen. */
6994
+ flex-shrink: 0;
6995
+ white-space: nowrap;
6883
6996
  display: inline-flex;
6884
6997
  flex-shrink: 0;
6885
6998
  align-items: center;
@@ -7099,6 +7212,20 @@
7099
7212
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
7100
7213
  }
7101
7214
 
7215
+
7216
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
7217
+ takes the card's corners. Drawn pictures are left as they are. */
7218
+
7219
+ .ow-hero01__visual > img,
7220
+ .ow-hero01__visual > video,
7221
+ .ow-hero01__visual > picture > img {
7222
+ display: block;
7223
+ width: 100%;
7224
+ height: auto;
7225
+ border: 1px solid var(--ow-border);
7226
+ border-radius: var(--ow-radius-card);
7227
+ }
7228
+
7102
7229
  @media (max-width: 760px) {
7103
7230
  .ow-hero01 {
7104
7231
  padding-top: 72px;
@@ -7177,6 +7304,20 @@
7177
7304
  color: var(--ow-primary-text);
7178
7305
  }
7179
7306
 
7307
+
7308
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
7309
+ takes the card's corners. Drawn pictures are left as they are. */
7310
+
7311
+ .ow-hero02__inner > img,
7312
+ .ow-hero02__inner > video,
7313
+ .ow-hero02__inner > picture > img {
7314
+ display: block;
7315
+ width: 100%;
7316
+ height: auto;
7317
+ border: 1px solid var(--ow-border);
7318
+ border-radius: var(--ow-radius-card);
7319
+ }
7320
+
7180
7321
  @media (max-width: 960px) {
7181
7322
  .ow-hero02 {
7182
7323
  padding-top: 88px;
@@ -7322,6 +7463,20 @@
7322
7463
  }
7323
7464
  }
7324
7465
 
7466
+
7467
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
7468
+ takes the card's corners. Drawn pictures are left as they are. */
7469
+
7470
+ .ow-hero03__inner > img,
7471
+ .ow-hero03__inner > video,
7472
+ .ow-hero03__inner > picture > img {
7473
+ display: block;
7474
+ width: 100%;
7475
+ height: auto;
7476
+ border: 1px solid var(--ow-border);
7477
+ border-radius: var(--ow-radius-card);
7478
+ }
7479
+
7325
7480
  @media (max-width: 760px) {
7326
7481
  .ow-hero03 {
7327
7482
  padding: 72px var(--ow-page-gutter) 80px;
@@ -7576,6 +7731,20 @@
7576
7731
  vertical-align: middle;
7577
7732
  }
7578
7733
 
7734
+
7735
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
7736
+ takes the card's corners. Drawn pictures are left as they are. */
7737
+
7738
+ .ow-hero06__inner > img,
7739
+ .ow-hero06__inner > video,
7740
+ .ow-hero06__inner > picture > img {
7741
+ display: block;
7742
+ width: 100%;
7743
+ height: auto;
7744
+ border: 1px solid var(--ow-border);
7745
+ border-radius: var(--ow-radius-card);
7746
+ }
7747
+
7579
7748
  @media (max-width: 960px) {
7580
7749
  .ow-hero06 {
7581
7750
  padding-top: 88px;
@@ -9633,6 +9802,19 @@
9633
9802
  padding-top: 1px;
9634
9803
  }
9635
9804
 
9805
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
9806
+ takes the card's corners. Drawn pictures are left as they are. */
9807
+
9808
+ .ow-onboarding03__dialog .ow-dialog__body > img,
9809
+ .ow-onboarding03__dialog .ow-dialog__body > video,
9810
+ .ow-onboarding03__dialog .ow-dialog__body > picture > img {
9811
+ display: block;
9812
+ width: 100%;
9813
+ height: auto;
9814
+ border: 1px solid var(--ow-border);
9815
+ border-radius: var(--ow-radius-card);
9816
+ }
9817
+
9636
9818
  /* page-headings/PageHeading01/PageHeading01.css */
9637
9819
  .ow-page-heading01,
9638
9820
  .ow-page-heading01 *,
@@ -11970,6 +12152,20 @@
11970
12152
  padding: 1px 8px;
11971
12153
  }
11972
12154
 
12155
+
12156
+ /* A screenshot passed as the picture (an <img>, <picture> or <video>) fills its place, keeps its proportions and
12157
+ takes the card's corners. Drawn pictures are left as they are. */
12158
+
12159
+ .ow-sign-in02__plate-inner > img,
12160
+ .ow-sign-in02__plate-inner > video,
12161
+ .ow-sign-in02__plate-inner > picture > img {
12162
+ display: block;
12163
+ width: 100%;
12164
+ height: auto;
12165
+ border: 1px solid var(--ow-border);
12166
+ border-radius: var(--ow-radius-card);
12167
+ }
12168
+
11973
12169
  @media (max-width: 1024px) {
11974
12170
  .ow-sign-in02__form-side {
11975
12171
  padding: 24px 28px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openwarelabs/blocks",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Openware UI blocks: whole page sections (heroes and more) as React components that take their content as props.",
5
5
  "license": "MIT",
6
6
  "author": "Alexander Silver",
@@ -34,7 +34,7 @@
34
34
  "README.md"
35
35
  ],
36
36
  "peerDependencies": {
37
- "@openwarelabs/ui": "^0.10.1",
37
+ "@openwarelabs/ui": "^0.11.0",
38
38
  "react": ">=18",
39
39
  "react-dom": ">=18"
40
40
  },