@autoguru/overdrive 4.13.1 → 4.14.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/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/AutoSuggest/AutoSuggest.d.ts +2 -2
- package/dist/components/AutoSuggest/AutoSuggest.d.ts.map +1 -1
- package/dist/components/BulletList/context.d.ts +1 -1
- package/dist/components/BulletList/context.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Columns/Column.d.ts +1 -1
- package/dist/components/Columns/Column.d.ts.map +1 -1
- package/dist/components/Columns/Columns.d.ts +1 -1
- package/dist/components/Columns/Columns.d.ts.map +1 -1
- package/dist/components/Flyout/stories.js +2 -1
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.d.ts +7 -0
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.d.ts.map +1 -0
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.js +36 -0
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.d.ts +15 -0
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.d.ts.map +1 -0
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.js +167 -0
- package/dist/components/HorizontalAutoScroller/index.d.ts +3 -0
- package/dist/components/HorizontalAutoScroller/index.d.ts.map +1 -0
- package/dist/components/HorizontalAutoScroller/index.js +4 -0
- package/dist/components/HorizontalAutoScroller/stories.js +88 -0
- package/dist/components/HorizontalAutoScroller/useHorizontalAutoScroller.d.ts +23 -0
- package/dist/components/HorizontalAutoScroller/useHorizontalAutoScroller.d.ts.map +1 -0
- package/dist/components/HorizontalAutoScroller/useHorizontalAutoScroller.js +159 -0
- package/dist/components/Image/types.d.ts +1 -1
- package/dist/components/Image/types.d.ts.map +1 -1
- package/dist/components/OrderedList/OrderedList.d.ts +1 -1
- package/dist/components/OrderedList/OrderedList.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/SimplePagination/SimplePagination.d.ts +1 -1
- package/dist/components/SimplePagination/SimplePagination.d.ts.map +1 -1
- package/dist/components/SliderProgress/ProgressStep.d.ts.map +1 -1
- package/dist/components/SliderProgress/SliderProgress.d.ts +2 -3
- package/dist/components/SliderProgress/SliderProgress.d.ts.map +1 -1
- package/dist/components/StandardModal/StandardModal.d.ts +1 -1
- package/dist/components/StandardModal/StandardModal.d.ts.map +1 -1
- package/dist/components/Table/TableHeadCell.d.ts +1 -1
- package/dist/components/Table/TableHeadCell.d.ts.map +1 -1
- package/dist/components/TextLink/TextLink.d.ts +2 -2
- package/dist/components/TextLink/TextLink.d.ts.map +1 -1
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts +1 -1
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts.map +1 -1
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.d.ts +1 -1
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.d.ts.map +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/components/Toaster/Toast.d.ts +2 -2
- package/dist/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/private/InputBase/withEnhancedInput.d.ts +2 -2
- package/dist/components/private/InputBase/withEnhancedInput.d.ts.map +1 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts +2 -2
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts.map +1 -1
- package/dist/themes/helpers.d.ts +3 -3
- package/dist/themes/helpers.d.ts.map +1 -1
- package/dist/themes/makeTheme.d.ts +1 -1
- package/dist/themes/makeTheme.d.ts.map +1 -1
- package/dist/themes/tokens.d.ts +17 -17
- package/dist/themes/tokens.d.ts.map +1 -1
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/mapTokenToProperty.d.ts +2 -2
- package/dist/utils/mapTokenToProperty.d.ts.map +1 -1
- package/dist/utils/resolveResponsiveProps.d.ts +2 -2
- package/dist/utils/resolveResponsiveProps.d.ts.map +1 -1
- package/dist/utils/responsiveProps.css.d.ts +1 -1
- package/dist/utils/responsiveProps.css.d.ts.map +1 -1
- package/package.json +12 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGN,eAAe,EAGf,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,SAAS,SAAgC,CAAC;AAEvD,eAAO,MAAM,sBAAsB,wBAA0C,CAAC;AAE9E,eAAO,MAAM,oBAAoB,0DAEP,IAAI,oCACT,IAAI,CAOxB,CAAC;AAGF,eAAO,MAAM,uBAAuB,sEAenC,CAAC;AAaF,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGN,eAAe,EAGf,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,SAAS,SAAgC,CAAC;AAEvD,eAAO,MAAM,sBAAsB,wBAA0C,CAAC;AAE9E,eAAO,MAAM,oBAAoB,0DAEP,IAAI,oCACT,IAAI,CAOxB,CAAC;AAGF,eAAO,MAAM,uBAAuB,sEAenC,CAAC;AAaF,eAAO,MAAM,KAAK,iBAAkB,MAAM,KAAG,MAAM,GAAG,IAmBrD,CAAC;AAEF,eAAO,MAAM,MAAM,oCAMlB,CAAC;AAEF,eAAO,MAAM,aAAa,YAAa,GAAG,uBACoB,CAAC;AAE/D,eAAO,MAAM,QAAQ,oCAIsB,CAAC;AAE5C,eAAO,MAAM,WAAW,UAAW,IAAI,KAAG,MACC,CAAC;AAC5C,eAAO,MAAM,aAAa,UAAW,IAAI,KAAG,QACZ,CAAC;AASjC,eAAO,MAAM,gBAAgB,8DAO5B,CAAC;AAMF,eAAO,MAAM,OAAO,6DAGf,MAAM,wBAER,CAAC,MAAM,IAAI,CAAC,GAAG,IA8BjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AACpD,eAAO,MAAM,wBAAwB,UAAW,SAAS,uCAKT,CAAC;AAYjD,eAAO,MAAM,eAAe,0EAK3B,CAAC;AAGF,eAAO,MAAM,IAAI,YAAW,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from '@vanilla-extract/css';
|
|
2
2
|
import { Properties } from 'csstype';
|
|
3
|
-
|
|
4
|
-
export declare const mapTokenToProperty: <T>(record: T, property: keyof Properties<0 | (string & {}), string & {}> | ((value: PropValue<T>) => CSSProperties), omitKeys?: string[]) => Record<keyof T, CSSProperties>;
|
|
3
|
+
type PropValue<T> = T extends Record<string | number, infer U> ? U : never;
|
|
4
|
+
export declare const mapTokenToProperty: <T extends {}>(record: T, property: keyof Properties<0 | (string & {}), string & {}> | ((value: PropValue<T>) => CSSProperties), omitKeys?: string[]) => Record<keyof T, CSSProperties>;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=mapTokenToProperty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapTokenToProperty.d.ts","sourceRoot":"","sources":["../../lib/utils/mapTokenToProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,
|
|
1
|
+
{"version":3,"file":"mapTokenToProperty.d.ts","sourceRoot":"","sources":["../../lib/utils/mapTokenToProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE3E,eAAO,MAAM,kBAAkB,mHAEM,aAAa,cACvC,MAAM,EAAE,mCAchB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { breakpoints } from '../themes/makeTheme';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type ResponsiveProp<T> = T | T[];
|
|
3
|
+
type BreakpointStyleMap = Record<keyof typeof breakpoints, any>;
|
|
4
4
|
export declare const resolveResponsiveStyle: <Tokens extends string | number>(responsiveArgument: ResponsiveProp<Tokens> | null | undefined, breakpointTokenMap: Record<Tokens, BreakpointStyleMap>) => any;
|
|
5
5
|
export declare function getEarliestKnownToken<Tokens extends string | number | boolean | {}>(responsiveArgument: Tokens[], counter: number): Tokens;
|
|
6
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveResponsiveProps.d.ts","sourceRoot":"","sources":["../../lib/utils/resolveResponsiveProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"resolveResponsiveProps.d.ts","sourceRoot":"","sources":["../../lib/utils/resolveResponsiveProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAExC,KAAK,kBAAkB,GAAG,MAAM,CAAC,MAAM,OAAO,WAAW,EAAE,GAAG,CAAC,CAAC;AAShE,eAAO,MAAM,sBAAsB,gKAalC,CAAC;AAwBF,wBAAgB,qBAAqB,CACpC,MAAM,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,EAAE,EAC5C,kBAAkB,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAavD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from '@vanilla-extract/css';
|
|
2
2
|
import { Properties } from 'csstype';
|
|
3
|
-
export
|
|
3
|
+
export type ResponsiveProp<T extends any> = T | T[];
|
|
4
4
|
export declare const makeResponsiveStyle: <Token extends Record<string | number, any>>(tokens: any, property: ((value: any) => CSSProperties) | keyof Properties<0 | (string & {}), string & {}>) => Record<keyof Token, any>;
|
|
5
5
|
//# sourceMappingURL=responsiveProps.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsiveProps.css.d.ts","sourceRoot":"","sources":["../../lib/utils/responsiveProps.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAS,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC,
|
|
1
|
+
{"version":3,"file":"responsiveProps.css.d.ts","sourceRoot":"","sources":["../../lib/utils/responsiveProps.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAS,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAIpD,eAAO,MAAM,mBAAmB,+EAEZ,GAAG,KAAK,aAAa,iFAoBS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autoguru/overdrive",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.1",
|
|
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",
|
|
@@ -40,20 +40,23 @@
|
|
|
40
40
|
"@autoguru/icons": "^1.7.28",
|
|
41
41
|
"@autoguru/tsconfig": "1.0.80",
|
|
42
42
|
"@autoguru/utilities": "1.1.1",
|
|
43
|
-
"@popperjs/core": "2.11.
|
|
43
|
+
"@popperjs/core": "2.11.6",
|
|
44
44
|
"@types/react": "^18.0.17",
|
|
45
45
|
"@types/react-dom": "^18.0.6",
|
|
46
46
|
"@vanilla-extract/dynamic": "^2.0.3",
|
|
47
|
-
"clsx": "1.
|
|
48
|
-
"colord": "2.9.
|
|
47
|
+
"clsx": "1.2.1",
|
|
48
|
+
"colord": "2.9.3",
|
|
49
49
|
"csstype": "3.1.1",
|
|
50
50
|
"deepmerge": "^4.2.2",
|
|
51
|
-
"eslint-plugin-jest": "26.
|
|
51
|
+
"eslint-plugin-jest": "26.9.0",
|
|
52
|
+
"intersection-observer": "^0.12.2",
|
|
52
53
|
"react": "^18.1.0",
|
|
53
54
|
"react-dom": "^18.1.0",
|
|
54
|
-
"react-focus-lock": "2.
|
|
55
|
+
"react-focus-lock": "2.9.4",
|
|
56
|
+
"react-intersection-observer": "^9.4.3",
|
|
55
57
|
"react-keyed-flatten-children": "1.3.0",
|
|
56
|
-
"
|
|
58
|
+
"react-swipeable": "^7.0.0",
|
|
59
|
+
"webpack": "5.76.2"
|
|
57
60
|
},
|
|
58
61
|
"peerDependencies": {
|
|
59
62
|
"@autoguru/icons": "^1.7.28",
|
|
@@ -66,7 +69,9 @@
|
|
|
66
69
|
"react": ">=16.8",
|
|
67
70
|
"react-dom": ">=16.8",
|
|
68
71
|
"react-focus-lock": "^2.5.0",
|
|
72
|
+
"react-intersection-observer": ">=9.4.3",
|
|
69
73
|
"react-keyed-flatten-children": "^1.3.0",
|
|
74
|
+
"react-swipeable": ">=7.0.0",
|
|
70
75
|
"webpack": "*"
|
|
71
76
|
}
|
|
72
77
|
}
|