@polymarbot/nuxt-layer-shadcn-ui 0.9.2 → 0.9.4

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.
@@ -57,7 +57,7 @@ const rootProps = computed<AccordionRootProps>(() => {
57
57
  :value="item.value"
58
58
  :disabled="item.disabled"
59
59
  >
60
- <AccordionTrigger>
60
+ <AccordionTrigger :class="triggerClass">
61
61
  <slot
62
62
  name="title"
63
63
  :item="item"
@@ -66,7 +66,7 @@ const rootProps = computed<AccordionRootProps>(() => {
66
66
  {{ item.title }}
67
67
  </slot>
68
68
  </AccordionTrigger>
69
- <AccordionContent>
69
+ <AccordionContent :class="contentClass">
70
70
  <slot
71
71
  name="content"
72
72
  :item="item"
@@ -8,6 +8,8 @@ export interface AccordionItem {
8
8
  export type AccordionBaseProps = {
9
9
  items?: AccordionItem[]
10
10
  disabled?: boolean
11
+ triggerClass?: ClassValue
12
+ contentClass?: ClassValue
11
13
  }
12
14
 
13
15
  export type AccordionSingleProps = AccordionBaseProps & {
@@ -142,7 +142,7 @@ function formatCellValue (value: unknown, column: DataTableColumn): string {
142
142
  return formatDateTime((value as number) * 1000).split(' ').join('\n')
143
143
 
144
144
  case 'currency':
145
- return formatCurrency(value as number | string, column.currency ?? 'USD', {
145
+ return formatCurrency(value as number | string, column.currency, {
146
146
  currencyDisplay: column.currencyDisplay,
147
147
  })
148
148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/nuxt-layer-shadcn-ui",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "Nuxt layer providing shadcn-vue based UI components",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@polymarbot/nuxt-layer-basic": "^0.1",
21
- "@polymarbot/uitls-shared": "^0.5.1",
21
+ "@polymarbot/uitls-shared": "^0.6.1",
22
22
  "@tanstack/vue-table": "^8.21.3",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@types/qrcode": "^1.5.6",
@@ -42,5 +42,5 @@
42
42
  "vue-i18n": "^11",
43
43
  "vue-router": "^4 || ^5"
44
44
  },
45
- "gitHead": "19b256ea962d2ab82b3db328de228a8b59357073"
45
+ "gitHead": "9d816af97015b542dcfd6aae1ea8056f286a9891"
46
46
  }