y200subcontrols 0.0.365 → 0.0.366

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.
@@ -3,7 +3,7 @@ let heading;
3
3
  onMount(() => {
4
4
  const content = heading.innerHTML;
5
5
  if (!content) {
6
- heading.style.visibility = "hidden";
6
+ heading.style.display = "none";
7
7
  }
8
8
  });
9
9
  </script>
@@ -48,7 +48,7 @@ export function submit() {
48
48
  {method}
49
49
  >
50
50
  <div
51
- class="{paddingVertical === 'sm' ? 'p-1' : ''}
51
+ class="{paddingVertical === 'sm' ? 'py-1' : ''}
52
52
  {paddingVertical === 'md' ? 'py-2' : ''}
53
53
  {paddingVertical === 'lg' ? 'py-4' : ''}
54
54
 
@@ -4,9 +4,9 @@ export let size = "md";
4
4
 
5
5
  <span
6
6
  class="inline-block text-center
7
- {size === 'sm' ? 'text-sm rounded px-3 py-1.5' : ''}
8
- {size === 'md' ? 'text-base rounded-xl px-4 py-2' : ''}
9
- {size === 'lg' ? 'text-lg rounded-2xl px-6 py-3' : ''}
7
+ {size === 'sm' ? 'text-sm rounded-3xl px-3 py-1.5' : ''}
8
+ {size === 'md' ? 'text-base rounded-3xl px-4 py-2' : ''}
9
+ {size === 'lg' ? 'text-lg rounded-3xl px-6 py-3' : ''}
10
10
  {theme === 'teal' ? 'bg-teal-500 text-teal-50' : ''}
11
11
  {theme === 'slate' ? 'bg-slate-400 text-slate-50' : ''}
12
12
  {theme === 'blue' ? 'bg-blue-600 text-blue-50' : ''}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.0.365",
3
+ "version": "0.0.366",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",