@autoguru/overdrive 4.1.13 → 4.1.16

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @autoguru/overdrive
2
2
 
3
+ ## 4.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 11d9730: Button: Gets new intent border colours for border colour
8
+
9
+ ## 4.1.15
10
+
11
+ ### Patch Changes
12
+
13
+ - 5293616: NumberInput: Changed event lister to passive TabList: Changed event
14
+ lister to passive useMedia: Changed event lister to passive
15
+
16
+ ## 4.1.14
17
+
18
+ ### Patch Changes
19
+
20
+ - 14ee239: Tooltip: Gets test size option
21
+
3
22
  ## 4.1.13
4
23
 
5
24
  ### Patch Changes
@@ -62,17 +62,17 @@ export const variant = {
62
62
  primary: style({
63
63
  color: vars.colours.intent.primary.foreground,
64
64
  backgroundColor: vars.colours.intent.primary.background.standard,
65
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['2']}`,
65
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['2']}`,
66
66
  }),
67
67
  secondary: style({
68
68
  color: vars.colours.intent.secondary.foreground,
69
69
  backgroundColor: vars.colours.intent.secondary.background.standard,
70
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.foreground}, ${vars.elevation['2']}`,
70
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['2']}`,
71
71
  }),
72
72
  danger: style({
73
73
  backgroundColor: vars.colours.intent.danger.background.standard,
74
74
  color: vars.colours.intent.danger.foreground,
75
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.standard}, ${vars.elevation['2']}`,
75
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['2']}`,
76
76
  }),
77
77
  };
78
78
  export const defaultStates = {
@@ -80,11 +80,11 @@ export const defaultStates = {
80
80
  ':hover': {
81
81
  color: vars.colours.intent.primary.foreground,
82
82
  backgroundColor: vars.colours.intent.primary.background.strong,
83
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['3']}`,
83
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['3']}`,
84
84
  },
85
85
  ':active': {
86
86
  transform: 'scale(0.97)',
87
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['1']}`,
87
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['1']}`,
88
88
  color: vars.colours.intent.primary.foreground,
89
89
  backgroundColor: vars.colours.intent.primary.background.strong,
90
90
  },
@@ -93,26 +93,26 @@ export const defaultStates = {
93
93
  ':hover': {
94
94
  color: vars.colours.intent.secondary.foreground,
95
95
  backgroundColor: vars.colours.intent.secondary.background.strong,
96
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.foreground}, ${vars.elevation['3']}`,
96
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['3']}`,
97
97
  },
98
98
  ':active': {
99
99
  transform: 'scale(0.97)',
100
100
  color: vars.colours.intent.secondary.foreground,
101
101
  backgroundColor: vars.colours.intent.secondary.background.strong,
102
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.background.strong}, ${vars.elevation['1']}`,
102
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['1']}`,
103
103
  },
104
104
  }),
105
105
  danger: style({
106
106
  ':hover': {
107
107
  color: vars.colours.intent.danger.foreground,
108
108
  backgroundColor: vars.colours.intent.danger.background.strong,
109
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.strong}, ${vars.elevation['3']}`,
109
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['3']}`,
110
110
  },
111
111
  ':active': {
112
112
  transform: 'scale(0.97)',
113
113
  color: vars.colours.intent.danger.foreground,
114
114
  backgroundColor: vars.colours.intent.danger.background.strong,
115
- boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.strong}, ${vars.elevation['1']}`,
115
+ boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['1']}`,
116
116
  },
117
117
  }),
118
118
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../lib/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,UAAU,KACT,SAAQ,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC,CAAC;IAC/D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,oTA0EvB,CAAC"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../lib/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,UAAU,KACT,SAAQ,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC,CAAC;IAC/D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,oTA6EvB,CAAC"}
@@ -15,9 +15,9 @@ export const NumberInput = withEnhancedInput(({ field: { ref, ...incomingFieldPr
15
15
  let onWheelListener;
16
16
  let wheelListener;
17
17
  if (preventMouseWheel && inputRef?.current) {
18
- mouseWheelListener = inputRef.current.addEventListener('mousewheel', preventWheel);
19
- onWheelListener = inputRef.current.addEventListener('onwheel', preventWheel);
20
- wheelListener = inputRef.current.addEventListener('wheel', preventWheel);
18
+ mouseWheelListener = inputRef.current.addEventListener('mousewheel', preventWheel, { passive: true });
19
+ onWheelListener = inputRef.current.addEventListener('onwheel', preventWheel, { passive: true });
20
+ wheelListener = inputRef.current.addEventListener('wheel', preventWheel, { passive: true });
21
21
  }
22
22
  return () => {
23
23
  if (mouseWheelListener)
@@ -53,7 +53,7 @@ export const TabList = ({ children, stretch = false, scrollable = false, }) => {
53
53
  const handleResize = () => {
54
54
  updateScrollButtonState();
55
55
  };
56
- win.addEventListener('resize', handleResize);
56
+ win.addEventListener('resize', handleResize, { passive: true });
57
57
  return () => {
58
58
  win.removeEventListener('resize', handleResize);
59
59
  };
@@ -1,10 +1,13 @@
1
1
  import { FunctionComponent, ReactElement } from 'react';
2
2
  import { EAlignment } from '../Positioner/alignment';
3
+ declare type ToolTipSize = 'medium' | 'large';
3
4
  export interface Props {
5
+ size?: ToolTipSize;
4
6
  label: string;
5
7
  alignment?: EAlignment;
6
8
  children: ReactElement;
7
9
  closeAfter?: number;
8
10
  }
9
11
  export declare const Tooltip: FunctionComponent<Props>;
12
+ export {};
10
13
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAGN,iBAAiB,EACjB,YAAY,EAKZ,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKrD,MAAM,WAAW,KAAK;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,KAAK,CA6D5C,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAIN,iBAAiB,EACjB,YAAY,EAKZ,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKrD,aAAK,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AACtC,MAAM,WAAW,KAAK;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAiE5C,CAAC"}
@@ -5,7 +5,11 @@ import { Positioner } from '../Positioner';
5
5
  import { EAlignment } from '../Positioner/alignment';
6
6
  import { Text } from '../Text';
7
7
  import * as styles from './Tooltip.css';
8
- export const Tooltip = ({ alignment = EAlignment.RIGHT, label, children, closeAfter = null, }) => {
8
+ const sizeMap = {
9
+ medium: '2',
10
+ large: '3',
11
+ };
12
+ export const Tooltip = ({ alignment = EAlignment.RIGHT, label, children, size = 'medium', closeAfter = null, }) => {
9
13
  const [isOpen, setIsOpen] = useState(false);
10
14
  const childRef = useRef(null);
11
15
  const triggerRef = useRef(null);
@@ -34,6 +38,6 @@ export const Tooltip = ({ alignment = EAlignment.RIGHT, label, children, closeAf
34
38
  onMouseLeave: leaveHandler,
35
39
  }),
36
40
  React.createElement(Positioner, { triggerRef: triggerRef, alignment: alignment, isOpen: isOpen },
37
- React.createElement(Box, { ref: childRef, className: styles.root, width: "full", pointerEvents: "none", userSelect: "none", overflow: "hidden", borderRadius: "1", boxShadow: "4", backgroundColour: "gray900", padding: "4" },
38
- React.createElement(Text, { colour: "white" }, label)))));
41
+ React.createElement(Box, { ref: childRef, className: styles.root, width: "full", pointerEvents: "none", userSelect: "none", overflow: "hidden", borderRadius: "1", boxShadow: "4", backgroundColour: "gray900", paddingY: "2", paddingX: "3" },
42
+ React.createElement(Text, { size: sizeMap[size], colour: "white" }, label)))));
39
43
  };
@@ -10,6 +10,7 @@ import * as React from 'react';
10
10
  import { EAlignment } from "../Positioner/alignment.js";
11
11
  import { Tooltip } from "./index.js";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
+ const sizeScale = ['medium', 'large'];
13
14
  export default {
14
15
  title: 'Components/Tooltip',
15
16
  decorators: [Story => _jsx("div", {
@@ -32,6 +33,13 @@ export default {
32
33
  type: 'select'
33
34
  }
34
35
  },
36
+ size: {
37
+ options: sizeScale,
38
+ defaultValue: void 0,
39
+ control: {
40
+ type: 'select'
41
+ }
42
+ },
35
43
  label: {
36
44
  defaultValue: ''
37
45
  },
@@ -70,4 +78,11 @@ const withLongTextProps = {
70
78
  alignment: EAlignment.BOTTOM
71
79
  };
72
80
  export const withLongText = Template.bind(withLongTextProps);
73
- withLongText.args = withLongTextProps;
81
+ withLongText.args = withLongTextProps;
82
+ const withSmallTextSizePropsProps = {
83
+ label: 'Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.',
84
+ alignment: EAlignment.BOTTOM,
85
+ size: 'large'
86
+ };
87
+ export const withLargeTextSize = Template.bind(withSmallTextSizePropsProps);
88
+ withLargeTextSize.args = withSmallTextSizePropsProps;
@@ -21,7 +21,7 @@ export const useMedia = (queries, fallbackCase = false) => {
21
21
  return newState;
22
22
  });
23
23
  };
24
- matcher.addEventListener('change', handler);
24
+ matcher.addEventListener('change', handler, { passive: true });
25
25
  return () => matcher.removeEventListener('change', handler);
26
26
  });
27
27
  return () => {
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/base/tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,MAoNpB,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/base/tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,MA4NpB,CAAC"}
@@ -104,6 +104,7 @@ export const tokens = {
104
104
  strong: colours.green['900'],
105
105
  },
106
106
  foreground: white,
107
+ border: colours.green['900'],
107
108
  },
108
109
  secondary: {
109
110
  background: {
@@ -112,6 +113,7 @@ export const tokens = {
112
113
  strong: colours.gray['200'],
113
114
  },
114
115
  foreground: secondaryForeground,
116
+ border: colours.gray['300'],
115
117
  },
116
118
  shine: {
117
119
  background: {
@@ -120,6 +122,7 @@ export const tokens = {
120
122
  strong: colours.gray['300'],
121
123
  },
122
124
  foreground: colours.yellow['500'],
125
+ border: colours.gray['300'],
123
126
  },
124
127
  danger: {
125
128
  background: {
@@ -128,6 +131,7 @@ export const tokens = {
128
131
  strong: colours.red['800'],
129
132
  },
130
133
  foreground: white,
134
+ border: colours.red['800'],
131
135
  },
132
136
  warning: {
133
137
  background: {
@@ -136,6 +140,7 @@ export const tokens = {
136
140
  strong: colours.yellow['900'],
137
141
  },
138
142
  foreground: colours.yellow['200'],
143
+ border: colours.yellow['900'],
139
144
  },
140
145
  neutral: {
141
146
  background: {
@@ -144,6 +149,7 @@ export const tokens = {
144
149
  strong: colours.gray['900'],
145
150
  },
146
151
  foreground: white,
152
+ border: colours.gray['900'],
147
153
  },
148
154
  success: {
149
155
  background: {
@@ -152,6 +158,7 @@ export const tokens = {
152
158
  strong: colours.green['900'],
153
159
  },
154
160
  foreground: colours.green['200'],
161
+ border: colours.green['900'],
155
162
  },
156
163
  information: {
157
164
  background: {
@@ -160,6 +167,7 @@ export const tokens = {
160
167
  strong: colours.blue['900'],
161
168
  },
162
169
  foreground: colours.blue['200'],
170
+ border: colours.blue['900'],
163
171
  },
164
172
  },
165
173
  },
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAoE9C,eAAO,MAAM,MAAM,EAAE,MAuHpB,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,MA+HpB,CAAC"}
@@ -58,7 +58,6 @@ const colours = {
58
58
  },
59
59
  };
60
60
  const white = '#fff';
61
- const secondaryForeground = colours.blue['800'];
62
61
  const flatElevation = '0 0 0 0 rgba(0, 0, 0, 0.0)';
63
62
  export const tokens = {
64
63
  ...baseTokens,
@@ -85,6 +84,7 @@ export const tokens = {
85
84
  strong: colours.red['900'],
86
85
  },
87
86
  foreground: white,
87
+ border: colours.red['900'],
88
88
  },
89
89
  secondary: {
90
90
  background: {
@@ -92,7 +92,8 @@ export const tokens = {
92
92
  mild: white,
93
93
  strong: colours.gray['100'],
94
94
  },
95
- foreground: secondaryForeground,
95
+ foreground: colours.blue['800'],
96
+ border: colours.blue['300'],
96
97
  },
97
98
  shine: {
98
99
  background: {
@@ -101,6 +102,7 @@ export const tokens = {
101
102
  strong: colours.gray['300'],
102
103
  },
103
104
  foreground: colours.yellow['500'],
105
+ border: colours.gray['300'],
104
106
  },
105
107
  danger: {
106
108
  background: {
@@ -109,6 +111,7 @@ export const tokens = {
109
111
  strong: colours.red['800'],
110
112
  },
111
113
  foreground: white,
114
+ border: colours.red['800'],
112
115
  },
113
116
  warning: {
114
117
  background: {
@@ -117,6 +120,7 @@ export const tokens = {
117
120
  strong: colours.yellow['900'],
118
121
  },
119
122
  foreground: colours.yellow['200'],
123
+ border: colours.yellow['900'],
120
124
  },
121
125
  neutral: {
122
126
  background: {
@@ -125,6 +129,7 @@ export const tokens = {
125
129
  strong: colours.gray['900'],
126
130
  },
127
131
  foreground: white,
132
+ border: colours.gray['900'],
128
133
  },
129
134
  success: {
130
135
  background: {
@@ -133,6 +138,7 @@ export const tokens = {
133
138
  strong: colours.green['900'],
134
139
  },
135
140
  foreground: colours.green['200'],
141
+ border: colours.green['900'],
136
142
  },
137
143
  information: {
138
144
  background: {
@@ -141,6 +147,7 @@ export const tokens = {
141
147
  strong: colours.blue['900'],
142
148
  },
143
149
  foreground: colours.blue['200'],
150
+ border: colours.blue['900'],
144
151
  },
145
152
  },
146
153
  },
@@ -54,6 +54,7 @@ export interface Tokens extends VanillaTokens {
54
54
  };
55
55
  intent: Record<Intent, {
56
56
  foreground: string;
57
+ border: string;
57
58
  background: ColourIntensityMap;
58
59
  }>;
59
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../lib/themes/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,kDAAkD,CAAC;AAC3F,aAAK,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAC/E,aAAK,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACzE,aAAK,gBAAgB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AACjD,aAAK,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD,aAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,CAAC;AAEnE,aAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE1C,UAAU,kBAAmB,SAAQ,aAAa;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAEpD,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;QACX,IAAI,EAAE,MAAM,CACX,aAAa,EACb;YACC,QAAQ,EAAE,MAAM,CAAC;YACjB,UAAU,EAAE,MAAM,CAAC;SACnB,CACD,CAAC;QAEF,MAAM,EAAE,MAAM,CACX,MAAM,GACN,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,GAC1B,MAAM,GACN,OAAO,GACP,SAAS,GACT,OAAO,GACP,WAAW,EACb,MAAM,CACN,CAAC;QACF,UAAU,EAAE,MAAM,CAAC,QAAQ,GAAG,UAAU,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;KAC3D,CAAC;IACF,SAAS,EAAE;QACV,MAAM,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC;YACjB,UAAU,EAAE,MAAM,CAAC;YACnB,UAAU,EAAE,MAAM,CAAC;SACnB,CAAC;KACF,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;KACpC,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autoguru/overdrive",
3
- "version": "4.1.13",
3
+ "version": "4.1.16",
4
4
  "description": "Overdrive is a product component library, and design system for AutoGuru.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",