@onsvisual/svelte-components 1.0.1 → 1.0.3

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/css/main.css +11 -16
  2. package/package.json +1 -1
package/dist/css/main.css CHANGED
@@ -9,11 +9,22 @@
9
9
  margin-bottom: 2rem;
10
10
  }
11
11
 
12
+ /* Fixes for unexpected behaviour in design system */
13
+ body {
14
+ height: unset;
15
+ }
16
+ .ons-grid {
17
+ font-size: unset;
18
+ }
19
+
12
20
  /* Backfills for legacy website */
13
21
  .primary-nav__item:hover > ul,
14
22
  .primary-nav__link:focus + ul {
15
23
  top: 100%;
16
24
  }
25
+ .primary-nav__link:focus.hide-children + ul {
26
+ left: -99999px;
27
+ }
17
28
  .col-wrap:after,
18
29
  .col-wrap:before,
19
30
  .col:after,
@@ -482,19 +493,3 @@
482
493
  width: 624px;
483
494
  }
484
495
  }
485
-
486
- /* Get rid? */
487
- .hide {
488
- display: none !important;
489
- }
490
- .visuallyhidden {
491
- position: absolute;
492
- width: 1px;
493
- height: 1px;
494
- padding: 0;
495
- margin: -1px;
496
- border: 0;
497
- overflow: hidden;
498
- clip: rect(0 0 0 0);
499
- white-space: nowrap;
500
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "npm run build:package && npm run build:docs",