@insymetri/styleguide 0.1.38 → 0.1.39

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.
@@ -21,10 +21,10 @@
21
21
  const density = useDensity()
22
22
 
23
23
  const densityClasses = {
24
- compact: 'h-28 text-tiny',
25
- default: 'h-32 text-small',
26
- comfortable: 'h-40 text-small',
27
- mobile: 'h-48 text-default',
24
+ compact: 'h-28 px-8 text-tiny',
25
+ default: 'h-32 px-12 text-small',
26
+ comfortable: 'h-40 px-12 text-small',
27
+ mobile: 'h-48 px-16 text-default',
28
28
  } as const
29
29
 
30
30
  let containerEl = $state<HTMLDivElement | null>(null)
@@ -65,7 +65,7 @@
65
65
  {#each tabs as tab (tab.value)}
66
66
  <button
67
67
  class={cn(
68
- 'flex items-center px-10 rounded-control border-none outline-none cursor-default whitespace-nowrap',
68
+ 'flex items-center rounded-control border-none outline-none cursor-default whitespace-nowrap',
69
69
  densityClasses[density.value],
70
70
  value === tab.value
71
71
  ? 'bg-gray-100 text-gray-700'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insymetri/styleguide",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "description": "Insymetri shared UI component library built with Svelte 5",
5
5
  "type": "module",
6
6
  "scripts": {