@skeletonlabs/skeleton-common 4.0.0-next.22 → 4.0.0-next.23

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,9 +1,9 @@
1
1
  //#region src/classes/accordion.ts
2
2
  const classesAccordion = {
3
- "root": "skb:flex skb:flex-col skb:gap-2 skb:w-full",
3
+ "root": "skb:flex skb:gap-2 skb:w-full skb:data-[orientation=vertical]:flex-col skb:data-[orientation=horizontal]:flex-row",
4
4
  "content": "skb:py-2 skb:px-4",
5
5
  "trigger": "skb:px-4 skb:py-2 skb:rounded-base skb:w-full skb:text-start skb:hover:preset-tonal-primary",
6
- "item": "skb:flex skb:flex-col skb:gap-2",
6
+ "item": "skb:flex skb:gap-2 skb:data-[orientation=vertical]:flex-col skb:data-[orientation=horizontal]:flex-row",
7
7
  "indicator": ""
8
8
  };
9
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","names":[],"sources":["../../src/classes/accordion.ts"],"sourcesContent":["import { defineSkeletonClasses } from '../internal/define-skeleton-classes' with { type: 'macro' };\n\nexport const classesAccordion = defineSkeletonClasses({\n\troot: 'flex flex-col gap-2 w-full',\n\tcontent: 'py-2 px-4',\n\ttrigger: 'px-4 py-2 rounded-base w-full text-start hover:preset-tonal-primary',\n\titem: 'flex flex-col gap-2',\n\tindicator: '',\n});\n"],"mappings":";AAEA,MAAa,mBAAmB;CAAA,QAAA;CAAA,WAAA;CAAA,WAAA;CAAA,QAAA;CAAA,aAAA;CAM9B"}
1
+ {"version":3,"file":"accordion.js","names":[],"sources":["../../src/classes/accordion.ts"],"sourcesContent":["import { defineSkeletonClasses } from '../internal/define-skeleton-classes' with { type: 'macro' };\n\nexport const classesAccordion = defineSkeletonClasses({\n\troot: ['flex gap-2 w-full', 'data-[orientation=vertical]:flex-col data-[orientation=horizontal]:flex-row'],\n\tcontent: 'py-2 px-4',\n\ttrigger: 'px-4 py-2 rounded-base w-full text-start hover:preset-tonal-primary',\n\titem: ['flex gap-2', 'data-[orientation=vertical]:flex-col data-[orientation=horizontal]:flex-row'],\n\tindicator: '',\n});\n"],"mappings":";AAEA,MAAa,mBAAmB;CAAA,QAAA;CAAA,WAAA;CAAA,WAAA;CAAA,QAAA;CAAA,aAAA;CAM9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton-common",
3
- "version": "4.0.0-next.22",
3
+ "version": "4.0.0-next.23",
4
4
  "description": "The common package for Skeleton.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {