@autoguru/overdrive 4.43.6-next.5 → 4.43.6-next.6

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.
@@ -5,6 +5,7 @@ export type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
5
  export interface HeadingProps extends Omit<BoxProps, keyof TextStylesProps>, Omit<TextStylesProps, 'as'> {
6
6
  as?: HeadingTags;
7
7
  align?: TextStylesProps['textAlign'];
8
+ is?: HeadingTags;
8
9
  }
9
- export declare const Heading: ({ as, align, breakWord, children, className, color, colour, fontWeight, noWrap, size, transform, ...props }: HeadingProps) => React.JSX.Element;
10
+ export declare const Heading: ({ is, as, align, breakWord, children, className, color, colour, fontWeight, noWrap, size, transform, ...props }: HeadingProps) => React.JSX.Element;
10
11
  //# sourceMappingURL=Heading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../lib/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElE,MAAM,WAAW,YAChB,SAAQ,IAAI,CAAC,QAAQ,EAAE,MAAM,eAAe,CAAC,EAC5C,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;IAC5B,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,KAAK,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CACrC;AAcD,eAAO,MAAM,OAAO,GAAI,6GAarB,YAAY,sBAoBd,CAAC"}
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../lib/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElE,MAAM,WAAW,YAChB,SAAQ,IAAI,CAAC,QAAQ,EAAE,MAAM,eAAe,CAAC,EAC5C,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;IAC5B,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,KAAK,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IAErC,EAAE,CAAC,EAAE,WAAW,CAAC;CACjB;AAcD,eAAO,MAAM,OAAO,GAAI,iHAcrB,YAAY,sBAoBd,CAAC"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
- const _excluded = ["as", "align", "breakWord", "children", "className", "color", "colour", "fontWeight", "noWrap", "size", "transform"];
5
+ const _excluded = ["is", "as", "align", "breakWord", "children", "className", "color", "colour", "fontWeight", "noWrap", "size", "transform"];
6
6
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  import React from 'react';
@@ -19,7 +19,8 @@ const defaultSizeMap = {
19
19
  };
20
20
  export const Heading = _ref => {
21
21
  let {
22
- as = 'h1',
22
+ is = 'h1',
23
+ as = is,
23
24
  align,
24
25
  breakWord,
25
26
  children,
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { Heading, type HeadingProps } from './Heading';
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ as, align, breakWord, children, className, color, colour, fontWeight, noWrap, size, transform, ...props }: HeadingProps) => React.JSX.Element;
6
+ component: ({ is, as, align, breakWord, children, className, color, colour, fontWeight, noWrap, size, transform, ...props }: HeadingProps) => React.JSX.Element;
7
7
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-vite").ReactRenderer, {
8
8
  as?: import("./Heading").HeadingTags | undefined;
9
9
  align?: ("left" | "right" | "center" | "centre" | {
@@ -12,6 +12,7 @@ declare const meta: {
12
12
  desktop?: "left" | "right" | "center" | "centre" | undefined;
13
13
  largeDesktop?: "left" | "right" | "center" | "centre" | undefined;
14
14
  } | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 1 | 3 | 4, "left" | "right" | "center" | "centre" | null>;
15
+ is?: import("./Heading").HeadingTags | undefined;
15
16
  value?: string | number | readonly string[] | undefined;
16
17
  backgroundColour?: "white" | "black900" | "black800" | "black700" | "black600" | "black500" | "black400" | "black300" | "black200" | "black100" | "gray900" | "gray800" | "gray700" | "gray600" | "gray500" | "gray400" | "gray300" | "gray200" | "gray100" | "green900" | "green800" | "green700" | "green600" | "green500" | "green400" | "green300" | "green200" | "green100" | "blue900" | "blue800" | "blue700" | "blue600" | "blue500" | "blue400" | "blue300" | "blue200" | "blue100" | "yellow900" | "yellow800" | "yellow700" | "yellow600" | "yellow500" | "yellow400" | "yellow300" | "yellow200" | "yellow100" | "red900" | "red800" | "red700" | "red600" | "red500" | "red400" | "red300" | "red200" | "red100" | "success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "transparent" | undefined;
17
18
  content?: string | undefined | undefined;
@@ -477,7 +478,6 @@ declare const meta: {
477
478
  title?: string | undefined | undefined;
478
479
  pattern?: string | undefined | undefined;
479
480
  className?: import("clsx").ClassValue;
480
- is?: React.ElementType | undefined;
481
481
  accept?: string | undefined | undefined;
482
482
  acceptCharset?: string | undefined | undefined;
483
483
  action?: string | ((formData: FormData) => void | Promise<void>) | undefined;
@@ -78,7 +78,7 @@ const input = [trimmedElement, style({
78
78
  '@layer': {
79
79
  [cssLayerReset]: {
80
80
  appearance: 'none',
81
- borderStyle: 'none',
81
+ borderWidth: 0,
82
82
  selectors: {
83
83
  '&::-ms-clear': {
84
84
  display: 'none'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autoguru/overdrive",
3
- "version": "4.43.6-next.5",
3
+ "version": "4.43.6-next.6",
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",