@veevarts/design-system 1.6.0-dev.5 → 1.6.0-dev.7

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/index.js CHANGED
@@ -37,17 +37,20 @@ function la({
37
37
  hi,
38
38
  {
39
39
  "data-testid": "language-select-desktop",
40
+ variant: "bordered",
40
41
  "aria-label": r,
41
42
  selectedKeys: e ? [e] : [],
42
43
  onSelectionChange: (s) => {
43
44
  const o = Array.from(s)[0] || e;
44
45
  n?.(o);
45
46
  },
46
- className: "min-w-40 hidden md:inline-flex",
47
+ className: "min-w-36 hidden md:inline-flex",
47
48
  isDisabled: t.length === 0,
48
49
  placeholder: r,
49
50
  startContent: /* @__PURE__ */ d(gi, { className: "w-5 h-5 text-black" }),
50
- renderValue: () => i?.label || r,
51
+ renderValue: () => /* @__PURE__ */ d("span", { children: i?.label || r }),
52
+ size: "md",
53
+ radius: "full",
51
54
  children: t.map((s) => /* @__PURE__ */ d(
52
55
  pi,
53
56
  {
@@ -64,23 +67,25 @@ function la({
64
67
  {
65
68
  "aria-label": r,
66
69
  "data-testid": "language-select-mobile",
70
+ variant: "bordered",
67
71
  selectedKeys: e ? [e] : [],
68
72
  onSelectionChange: (s) => {
69
73
  const o = Array.from(s)[0] || e;
70
74
  n?.(o);
71
75
  },
72
- className: "min-w-20 inline-flex md:hidden",
76
+ className: "w-24 inline-flex md:hidden",
73
77
  isDisabled: t.length === 0,
74
- placeholder: r,
75
- startContent: /* @__PURE__ */ d(gi, { className: "w-5 h-5 text-black" }),
76
- renderValue: () => i?.code.toUpperCase() || "",
78
+ placeholder: "",
79
+ startContent: /* @__PURE__ */ d(gi, { className: "w-6 h-6 text-black" }),
80
+ renderValue: () => /* @__PURE__ */ d("span", { children: i?.code.toUpperCase() || "" }),
81
+ size: "md",
82
+ radius: "full",
77
83
  children: t.map((s) => /* @__PURE__ */ d(
78
84
  pi,
79
85
  {
80
- className: "min-w-4",
81
- textValue: s.label,
86
+ textValue: s.code.toUpperCase(),
82
87
  "data-testid": `language-select-option-mobile-${s.code}`,
83
- children: s.label
88
+ children: s.code.toUpperCase()
84
89
  },
85
90
  s.code
86
91
  ))
@@ -100,6 +105,7 @@ function aa({
100
105
  "data-testid": "navbar-auth-button",
101
106
  className: "px-2 py-1 w-1 min-w-12 md:min-w-24 rounded-full bg-black text-white text-sm flex items-center",
102
107
  onPress: n,
108
+ size: "md",
103
109
  children: [
104
110
  /* @__PURE__ */ d(yi, { className: "inline w-5 h-5" }),
105
111
  /* @__PURE__ */ d("span", { className: "hidden md:inline", children: r.logout })
@@ -111,6 +117,7 @@ function aa({
111
117
  "data-testid": "navbar-auth-button",
112
118
  className: "px-2 py-1 min-w-12 md:min-w-24 rounded-full bg-black text-white text-sm flex items-center",
113
119
  onPress: e,
120
+ size: "md",
114
121
  children: [
115
122
  /* @__PURE__ */ d(yi, { className: "inline w-5 h-5" }),
116
123
  /* @__PURE__ */ d("span", { className: "hidden md:inline", children: r.login })
@@ -137,7 +144,7 @@ function eh({
137
144
  {
138
145
  "data-testid": "navbar",
139
146
  className: F(
140
- "w-full px-4 md:px-8 py-4 bg-white border-b border-zinc-100 flex items-center justify-between",
147
+ "w-full px-4 md:px-8 py-3 bg-white border-b border-zinc-100 flex items-center justify-between",
141
148
  u
142
149
  ),
143
150
  children: [
@@ -9224,7 +9231,7 @@ const Xd = {
9224
9231
  }
9225
9232
  )
9226
9233
  ] }),
9227
- /* @__PURE__ */ d("div", { className: "space-x-2 p-2 h-full flex items-center justify-start md:justify-start lg:justify-end ", children: M ? _() : $() })
9234
+ /* @__PURE__ */ d("div", { className: "space-x-2 pt-0 pb-2 md:p-2 h-full flex items-center justify-start md:justify-start lg:justify-end", children: M ? _() : $() })
9228
9235
  ] }), xe = B && !M && /* @__PURE__ */ d(
9229
9236
  fr.div,
9230
9237
  {
@@ -230,19 +230,16 @@ export declare const defaultHeroUITheme: {
230
230
  * });
231
231
  */
232
232
  export declare function createHeroUIConfig(overrides?: HeroUIConfigOverrides): HeroUIConfig;
233
+ /**
234
+ * Content paths for Tailwind to scan for classes
235
+ * Includes HeroUI theme and Design System components
236
+ */
237
+ export declare const veevartContent: string[];
233
238
  /**
234
239
  * Veevart Design System Tailwind preset
235
240
  *
236
241
  * Use this preset in your tailwind.config.js to get all Veevart tokens
237
- * and styling defaults.
238
- *
239
- * @example
240
- * const { veevartPreset } = require('@veevarts/design-system/tailwind');
241
- *
242
- * module.exports = {
243
- * presets: [veevartPreset],
244
- * content: [...],
245
- * };
242
+ * and styling defaults. Use veevartContent in your content array.
246
243
  */
247
244
  export declare const veevartPreset: {
248
245
  theme: {
@@ -29,6 +29,7 @@ __export(index_exports, {
29
29
  tailwindTheme: () => tailwindTheme,
30
30
  tokens: () => tokens,
31
31
  typography: () => typography,
32
+ veevartContent: () => veevartContent,
32
33
  veevartPreset: () => veevartPreset
33
34
  });
34
35
  module.exports = __toCommonJS(index_exports);
@@ -266,6 +267,10 @@ function createHeroUIConfig(overrides = {}) {
266
267
  }
267
268
  return baseConfig;
268
269
  }
270
+ var veevartContent = [
271
+ "./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
272
+ "./node_modules/@veevarts/design-system/dist/**/*.{js,mjs,jsx,tsx}"
273
+ ];
269
274
  var veevartPreset = {
270
275
  theme: {
271
276
  extend: tailwindTheme
@@ -289,5 +294,6 @@ var tokens = {
289
294
  tailwindTheme,
290
295
  tokens,
291
296
  typography,
297
+ veevartContent,
292
298
  veevartPreset
293
299
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veevarts/design-system",
3
3
  "private": false,
4
- "version": "1.6.0-dev.5",
4
+ "version": "1.6.0-dev.7",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",