@oneplatformdev/ui 0.1.10-111 → 0.1.10-113

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.
@@ -23,7 +23,7 @@ const t = e(
23
23
  size: {
24
24
  default: "h-10 px-4 py-2",
25
25
  sm: "h-8 rounded-md px-3 text-xs [&_svg]:size-4",
26
- lg: "h-10 px-8 [&_svg]:size-5 px-3 py-2",
26
+ lg: "h-10 px-8 [&_svg]:size-6 px-3 py-2 min-w-35",
27
27
  icon: "h-10 w-10 [&_svg]:size-5"
28
28
  }
29
29
  },
@@ -1 +1 @@
1
- {"version":3,"file":"buttonVariants.js","sources":["../../src/Button/buttonVariants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\n// TODO: refactor btn variants | ask me about mnc next pwa\nexport const buttonVariants = cva(\n [\n \"inline-flex items-center justify-center gap-2\",\n \"whitespace-nowrap rounded-lg text-sm font-medium\",\n \"transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring\",\n \"disabled:pointer-events-none disabled:opacity-50\",\n \"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n 'cursor-pointer'\n ],\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground shadow-sm hover:opacity-[.8]\",\n destructive:\n \"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n transparent: \"bg-transparent hover:bg-transparent hover:text-accent-foreground\",\n none: \"\",\n },\n size: {\n default: \"h-10 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs [&_svg]:size-4\",\n lg: \"h-10 px-8 [&_svg]:size-5 px-3 py-2\",\n icon: \"h-10 w-10 [&_svg]:size-5\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"lg\",\n },\n }\n)\n"],"names":["buttonVariants","cva"],"mappings":";AAGO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MAAA;AAAA,MAER,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ;"}
1
+ {"version":3,"file":"buttonVariants.js","sources":["../../src/Button/buttonVariants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\n// TODO: refactor btn variants | ask me about mnc next pwa\nexport const buttonVariants = cva(\n [\n \"inline-flex items-center justify-center gap-2\",\n \"whitespace-nowrap rounded-lg text-sm font-medium\",\n \"transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring\",\n \"disabled:pointer-events-none disabled:opacity-50\",\n \"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n 'cursor-pointer'\n ],\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground shadow-sm hover:opacity-[.8]\",\n destructive:\n \"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n transparent: \"bg-transparent hover:bg-transparent hover:text-accent-foreground\",\n none: \"\",\n },\n size: {\n default: \"h-10 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs [&_svg]:size-4\",\n lg: \"h-10 px-8 [&_svg]:size-6 px-3 py-2 min-w-35\",\n icon: \"h-10 w-10 [&_svg]:size-5\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"lg\",\n },\n }\n)\n"],"names":["buttonVariants","cva"],"mappings":";AAGO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MAAA;AAAA,MAER,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ;"}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 0.1.10-113 (2025-12-18)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - add min-width to large button variant ([e34bc71](https://github.com/oneplatformdev/core-web/commit/e34bc71))
6
+ - handle undefined value in FormSelect component ([9c7ae4a](https://github.com/oneplatformdev/core-web/commit/9c7ae4a))
7
+
8
+ ### 🧱 Updated Dependencies
9
+
10
+ - Updated @oneplatformdev/utils to 0.1.1-162
11
+ - Updated @oneplatformdev/hooks to 0.1.0-148
12
+ - Updated @oneplatformdev/tokens to 0.0.1-135
13
+
14
+ ### ❤️ Thank You
15
+
16
+ - Bohdan Radchenko
17
+
18
+ ## 0.1.10-112 (2025-12-17)
19
+
20
+ ### 🧱 Updated Dependencies
21
+
22
+ - Updated @oneplatformdev/utils to 0.1.1-161
23
+ - Updated @oneplatformdev/hooks to 0.1.0-147
24
+ - Updated @oneplatformdev/tokens to 0.0.1-134
25
+
1
26
  ## 0.1.10-111 (2025-12-17)
2
27
 
3
28
  ### 🩹 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.1.10-111",
3
+ "version": "0.1.10-113",
4
4
  "description": "UI component library for OnePlatform",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -105,8 +105,8 @@
105
105
  "recharts": "^3.2.0",
106
106
  "sonner": "^2.0.7",
107
107
  "vaul": "^1.1.2",
108
- "@oneplatformdev/tokens": "^0.0.1-133",
109
- "@oneplatformdev/utils": "^0.1.1-160",
110
- "@oneplatformdev/hooks": "^0.1.0-146"
108
+ "@oneplatformdev/tokens": "^0.0.1-135",
109
+ "@oneplatformdev/utils": "^0.1.1-162",
110
+ "@oneplatformdev/hooks": "^0.1.0-148"
111
111
  }
112
112
  }