@jobber/components 6.14.1-aidenfix--e9ec00c.0 → 6.15.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.
package/dist/styles.css CHANGED
@@ -8,8 +8,7 @@
8
8
  }
9
9
 
10
10
  .dL5JShAJlKM- {
11
- display: none;
12
- position: absolute;
11
+ visibility: hidden;
13
12
  z-index: calc(6 + 1001);
14
13
  z-index: calc(var(--elevation-menu) + var(--elevation-modal));
15
14
  width: 100%;
@@ -26,12 +25,13 @@
26
25
  border-radius: 8px;
27
26
  border-radius: var(--radius-base);
28
27
  overflow: auto;
29
- scroll-behavior: smooth;
30
28
  background-color: rgba(255, 255, 255, 1);
31
29
  background-color: var(--color-surface);
30
+ scroll-behavior: smooth;
31
+ opacity: 0;
32
32
  }
33
33
 
34
- .dL5JShAJlKM- h5 {
34
+ .dL5JShAJlKM- .PWZL-94hH7k- {
35
35
  padding: 8px 0 4px 8px;
36
36
  padding: var(--space-small) 0 var(--space-smaller) var(--space-small);
37
37
  border-bottom: 1px solid hsl(200, 13%, 87%);
@@ -39,11 +39,13 @@
39
39
  }
40
40
 
41
41
  .dL5JShAJlKM-._2RzcnTdaPyc- {
42
- display: block;
42
+ visibility: visible;
43
+ opacity: 1;
43
44
  }
44
45
 
45
46
  .dL5JShAJlKM-._2RzcnTdaPyc-:empty {
46
- display: none;
47
+ visibility: hidden;
48
+ opacity: 0;
47
49
  }
48
50
 
49
51
  .y9zhi8Wr8QA- {
@@ -67,8 +69,6 @@
67
69
  list-style: none;
68
70
  background-color: transparent;
69
71
  cursor: pointer;
70
- transition: all 200ms;
71
- transition: all var(--timing-base);
72
72
  }
73
73
 
74
74
  .y9zhi8Wr8QA-:hover,
@@ -91,8 +91,8 @@
91
91
  }
92
92
 
93
93
  .dL5JShAJlKM- .PWZL-94hH7k-:not(:first-child) {
94
- padding-top: 8px;
95
- padding-top: var(--space-small);
94
+ padding-top: 16px;
95
+ padding-top: var(--space-base);
96
96
  }
97
97
 
98
98
  .y9zhi8Wr8QA- .K2phy6IC3TY- {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.14.1-aidenfix--e9ec00c.0+e9ec00ce",
3
+ "version": "6.15.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -489,5 +489,5 @@
489
489
  "> 1%",
490
490
  "IE 10"
491
491
  ],
492
- "gitHead": "e9ec00ce31bcd08dc7f334f2f8c7672e133ed1a2"
492
+ "gitHead": "e4f81d6b108b7ef516bc061c0e38d6db6575b6c5"
493
493
  }
@@ -1,14 +0,0 @@
1
- import { RefObject } from "react";
2
- import { Option } from "./Option";
3
- interface MenuProps {
4
- readonly visible: boolean;
5
- readonly options: Option[];
6
- readonly selectedOption?: Option;
7
- /**
8
- * Element that it's attached to when the menu opens.
9
- */
10
- readonly attachTo: RefObject<Element | null>;
11
- onOptionSelect(chosenOption: Option): void;
12
- }
13
- export declare function Menu({ visible, options, selectedOption, onOptionSelect, attachTo, }: MenuProps): JSX.Element;
14
- export {};