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

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 & {
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.3",
4
4
  "description": "Nuxt layer providing shadcn-vue based UI components",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -42,5 +42,5 @@
42
42
  "vue-i18n": "^11",
43
43
  "vue-router": "^4 || ^5"
44
44
  },
45
- "gitHead": "19b256ea962d2ab82b3db328de228a8b59357073"
45
+ "gitHead": "b822984cfbf1b5492a79e13b08e99909b9a70630"
46
46
  }