automoby-kit 1.0.17 → 1.0.18

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.
@@ -1 +1 @@
1
- "use strict";var t=require("react"),e=require("./utils.js");const o={h1:"text-[36px] font-[var(--font-weight-fat)]",h2:"text-[32px] font-[var(--font-weight-fat)]",h3:"text-[28px] font-[var(--font-weight-fat)]",h4:"text-[24px] font-[var(--font-weight-heavy)]",h5:"text-[22px] font-[var(--font-weight-heavy)]",h6:"text-[20px] font-[var(--font-weight-heavy)]","body-xl-heavy":"text-[20px] font-[var(--font-weight-heavy)]","body-l-heavy":"text-[18px] font-[var(--font-weight-heavy)]","body-l-bold":"text-[18px] font-[var(--font-weight-bold)]","body-l-medium":"text-[18px] font-[var(--font-weight-medium)]","body-m-heavy":"text-[16px] font-[var(--font-weight-heavy)]","body-m-bold":"text-[16px] font-[var(--font-weight-bold)]","body-m-medium":"text-[16px] font-[var(--font-weight-medium)]","body-s-heavy":"text-[14px] font-[var(--font-weight-heavy)]","body-s-bold":"text-[14px] font-[var(--font-weight-bold)]","body-s-medium":"text-[14px] font-[var(--font-weight-medium)]","body-ms-bold":"text-[13px] font-[var(--font-weight-bold)]","body-ms-medium":"text-[13px] font-[var(--font-weight-medium)]","body-xs-bold":"text-[12px] font-[var(--font-weight-bold)]","body-xs-medium":"text-[12px] font-[var(--font-weight-medium)]","body-t-bold":"text-[10px] font-[var(--font-weight-bold)]","body-t-medium":"text-[10px] font-[var(--font-weight-medium)]","body-ss-medium":"text-[9px] font-[var(--font-weight-medium)]"},a={primary:"text-[var(--color-primary)]",secondary:"text-[var(--color-secondary)]","neutral-darker":"text-[var(--color-neutral-darker)]","neutral-dark":"text-[var(--color-neutral-dark)]","neutral-main":"text-[var(--color-neutral-main)]",white:"text-[var(--color-white)]",inherit:"text-inherit"},r=t.forwardRef(({variant:r="body-m-medium",color:n="inherit",as:i,className:x,children:d,...f},h)=>{const m=i||(t=>t.startsWith("h")?t.split("-")[0]:"p")(r);return t.createElement(m,{ref:h,className:e(o[r],a[n],"leading-[var(--leading-default)]",x),...f},d)});r.displayName="Typography",exports.Typography=r,exports.getTypographyClasses=t=>o[t];
1
+ "use strict";var t=require("react"),e=require("./utils.js");const o={h1:"text-[36px] font-fat",h2:"text-[32px] font-fat",h3:"text-[28px] font-fat",h4:"text-[24px] font-heavy",h5:"text-[22px] font-heavy",h6:"text-[20px] font-heavy","body-xl-heavy":"text-[20px] font-heavy","body-l-heavy":"text-[18px] font-heavy","body-l-bold":"text-[18px] font-bold","body-l-medium":"text-[18px] font-medium","body-m-heavy":"text-[16px] font-heavy","body-m-bold":"text-[16px] font-bold","body-m-medium":"text-[16px] font-medium","body-s-heavy":"text-[14px] font-heavy","body-s-bold":"text-[14px] font-bold","body-s-medium":"text-[14px] font-medium","body-ms-bold":"text-[13px] font-bold","body-ms-medium":"text-[13px] font-medium","body-xs-bold":"text-[12px] font-bold","body-xs-medium":"text-[12px] font-medium","body-t-bold":"text-[10px] font-bold","body-t-medium":"text-[10px] font-medium","body-ss-medium":"text-[9px] font-medium"},a={primary:"text-[var(--color-primary)]",secondary:"text-[var(--color-secondary)]","neutral-darker":"text-[var(--color-neutral-darker)]","neutral-dark":"text-[var(--color-neutral-dark)]","neutral-main":"text-[var(--color-neutral-main)]",white:"text-[var(--color-white)]",inherit:"text-inherit"},x=t.forwardRef(({variant:x="body-m-medium",color:d="inherit",as:r,className:m,children:n,...l},y)=>{const i=r||(t=>t.startsWith("h")?t.split("-")[0]:"p")(x);return t.createElement(i,{ref:y,className:e(o[x],a[d],"leading-[var(--leading-default)]",m),...l},n)});x.displayName="Typography",exports.Typography=x,exports.getTypographyClasses=t=>o[t];
@@ -1 +1 @@
1
- import t from"react";import e from"./utils.js";const o={h1:"text-[36px] font-[var(--font-weight-fat)]",h2:"text-[32px] font-[var(--font-weight-fat)]",h3:"text-[28px] font-[var(--font-weight-fat)]",h4:"text-[24px] font-[var(--font-weight-heavy)]",h5:"text-[22px] font-[var(--font-weight-heavy)]",h6:"text-[20px] font-[var(--font-weight-heavy)]","body-xl-heavy":"text-[20px] font-[var(--font-weight-heavy)]","body-l-heavy":"text-[18px] font-[var(--font-weight-heavy)]","body-l-bold":"text-[18px] font-[var(--font-weight-bold)]","body-l-medium":"text-[18px] font-[var(--font-weight-medium)]","body-m-heavy":"text-[16px] font-[var(--font-weight-heavy)]","body-m-bold":"text-[16px] font-[var(--font-weight-bold)]","body-m-medium":"text-[16px] font-[var(--font-weight-medium)]","body-s-heavy":"text-[14px] font-[var(--font-weight-heavy)]","body-s-bold":"text-[14px] font-[var(--font-weight-bold)]","body-s-medium":"text-[14px] font-[var(--font-weight-medium)]","body-ms-bold":"text-[13px] font-[var(--font-weight-bold)]","body-ms-medium":"text-[13px] font-[var(--font-weight-medium)]","body-xs-bold":"text-[12px] font-[var(--font-weight-bold)]","body-xs-medium":"text-[12px] font-[var(--font-weight-medium)]","body-t-bold":"text-[10px] font-[var(--font-weight-bold)]","body-t-medium":"text-[10px] font-[var(--font-weight-medium)]","body-ss-medium":"text-[9px] font-[var(--font-weight-medium)]"},getTypographyClasses=t=>o[t],a={primary:"text-[var(--color-primary)]",secondary:"text-[var(--color-secondary)]","neutral-darker":"text-[var(--color-neutral-darker)]","neutral-dark":"text-[var(--color-neutral-dark)]","neutral-main":"text-[var(--color-neutral-main)]",white:"text-[var(--color-white)]",inherit:"text-inherit"},r=t.forwardRef(({variant:r="body-m-medium",color:n="inherit",as:i,className:d,children:x,...f},h)=>{const m=i||(t=>t.startsWith("h")?t.split("-")[0]:"p")(r);return t.createElement(m,{ref:h,className:e(o[r],a[n],"leading-[var(--leading-default)]",d),...f},x)});r.displayName="Typography";export{r as Typography,getTypographyClasses};
1
+ import t from"react";import e from"./utils.js";const o={h1:"text-[36px] font-fat",h2:"text-[32px] font-fat",h3:"text-[28px] font-fat",h4:"text-[24px] font-heavy",h5:"text-[22px] font-heavy",h6:"text-[20px] font-heavy","body-xl-heavy":"text-[20px] font-heavy","body-l-heavy":"text-[18px] font-heavy","body-l-bold":"text-[18px] font-bold","body-l-medium":"text-[18px] font-medium","body-m-heavy":"text-[16px] font-heavy","body-m-bold":"text-[16px] font-bold","body-m-medium":"text-[16px] font-medium","body-s-heavy":"text-[14px] font-heavy","body-s-bold":"text-[14px] font-bold","body-s-medium":"text-[14px] font-medium","body-ms-bold":"text-[13px] font-bold","body-ms-medium":"text-[13px] font-medium","body-xs-bold":"text-[12px] font-bold","body-xs-medium":"text-[12px] font-medium","body-t-bold":"text-[10px] font-bold","body-t-medium":"text-[10px] font-medium","body-ss-medium":"text-[9px] font-medium"},getTypographyClasses=t=>o[t],d={primary:"text-[var(--color-primary)]",secondary:"text-[var(--color-secondary)]","neutral-darker":"text-[var(--color-neutral-darker)]","neutral-dark":"text-[var(--color-neutral-dark)]","neutral-main":"text-[var(--color-neutral-main)]",white:"text-[var(--color-white)]",inherit:"text-inherit"},x=t.forwardRef(({variant:x="body-m-medium",color:a="inherit",as:r,className:m,children:n,...l},i)=>{const y=r||(t=>t.startsWith("h")?t.split("-")[0]:"p")(x);return t.createElement(y,{ref:i,className:e(o[x],d[a],"leading-[var(--leading-default)]",m),...l},n)});x.displayName="Typography";export{x as Typography,getTypographyClasses};
@@ -3,30 +3,30 @@ import cn from './utils.js';
3
3
 
4
4
  const variantClasses = {
5
5
  // Headings with Fat weight (900)
6
- h1: 'text-[36px] font-[var(--font-weight-fat)]',
7
- h2: 'text-[32px] font-[var(--font-weight-fat)]',
8
- h3: 'text-[28px] font-[var(--font-weight-fat)]',
9
- h4: 'text-[24px] font-[var(--font-weight-heavy)]',
10
- h5: 'text-[22px] font-[var(--font-weight-heavy)]',
11
- h6: 'text-[20px] font-[var(--font-weight-heavy)]',
6
+ h1: 'text-[36px] font-fat',
7
+ h2: 'text-[32px] font-fat',
8
+ h3: 'text-[28px] font-fat',
9
+ h4: 'text-[24px] font-heavy',
10
+ h5: 'text-[22px] font-heavy',
11
+ h6: 'text-[20px] font-heavy',
12
12
  // Body Copy with specific weight variants
13
- 'body-xl-heavy': 'text-[20px] font-[var(--font-weight-heavy)]',
14
- 'body-l-heavy': 'text-[18px] font-[var(--font-weight-heavy)]',
15
- 'body-l-bold': 'text-[18px] font-[var(--font-weight-bold)]',
16
- 'body-l-medium': 'text-[18px] font-[var(--font-weight-medium)]',
17
- 'body-m-heavy': 'text-[16px] font-[var(--font-weight-heavy)]',
18
- 'body-m-bold': 'text-[16px] font-[var(--font-weight-bold)]',
19
- 'body-m-medium': 'text-[16px] font-[var(--font-weight-medium)]',
20
- 'body-s-heavy': 'text-[14px] font-[var(--font-weight-heavy)]',
21
- 'body-s-bold': 'text-[14px] font-[var(--font-weight-bold)]',
22
- 'body-s-medium': 'text-[14px] font-[var(--font-weight-medium)]',
23
- 'body-ms-bold': 'text-[13px] font-[var(--font-weight-bold)]',
24
- 'body-ms-medium': 'text-[13px] font-[var(--font-weight-medium)]',
25
- 'body-xs-bold': 'text-[12px] font-[var(--font-weight-bold)]',
26
- 'body-xs-medium': 'text-[12px] font-[var(--font-weight-medium)]',
27
- 'body-t-bold': 'text-[10px] font-[var(--font-weight-bold)]',
28
- 'body-t-medium': 'text-[10px] font-[var(--font-weight-medium)]',
29
- 'body-ss-medium': 'text-[9px] font-[var(--font-weight-medium)]',
13
+ 'body-xl-heavy': 'text-[20px] font-heavy',
14
+ 'body-l-heavy': 'text-[18px] font-heavy',
15
+ 'body-l-bold': 'text-[18px] font-bold',
16
+ 'body-l-medium': 'text-[18px] font-medium',
17
+ 'body-m-heavy': 'text-[16px] font-heavy',
18
+ 'body-m-bold': 'text-[16px] font-bold',
19
+ 'body-m-medium': 'text-[16px] font-medium',
20
+ 'body-s-heavy': 'text-[14px] font-heavy',
21
+ 'body-s-bold': 'text-[14px] font-bold',
22
+ 'body-s-medium': 'text-[14px] font-medium',
23
+ 'body-ms-bold': 'text-[13px] font-bold',
24
+ 'body-ms-medium': 'text-[13px] font-medium',
25
+ 'body-xs-bold': 'text-[12px] font-bold',
26
+ 'body-xs-medium': 'text-[12px] font-medium',
27
+ 'body-t-bold': 'text-[10px] font-bold',
28
+ 'body-t-medium': 'text-[10px] font-medium',
29
+ 'body-ss-medium': 'text-[9px] font-medium',
30
30
  };
31
31
  // Export for reuse in other components
32
32
  const getTypographyClasses = (variant) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automoby-kit",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "A comprehensive React UI component library - created in war 2025",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",