@invopop/popui 0.0.47 → 0.0.48

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.
@@ -61,6 +61,7 @@ $:
61
61
  uuid={String(data)}
62
62
  prefixLength={4}
63
63
  suffixLength={4}
64
+ full
64
65
  compact
65
66
  dark={isMobile}
66
67
  on:copied
@@ -16,7 +16,6 @@ $:
16
16
  });
17
17
  $:
18
18
  headerStyles = clsx({
19
- "self-end": field.rightAlign,
20
19
  "hover:bg-neutral-50 focus:bg-neutral-100": field.sortable,
21
20
  "pl-5": isFirst && !selectable,
22
21
  "pl-3": !isFirst,
@@ -36,14 +35,14 @@ function handleSortBy(event) {
36
35
  style:min-width={field.width}
37
36
  style:max-width={field.width}
38
37
  >
39
- <span class="flex border-b border-neutral-100">
38
+ <span class="flex border-b border-neutral-100" class:justify-end={field.rightAlign}>
40
39
  {#if field.sortable}
41
40
  <BaseDropdown bind:this={sortDropdown} fullWidth>
42
41
  <span
43
42
  slot="trigger"
44
43
  class="{headerStyles} w-full py-2 flex items-center justify-start space-x-1 text-left text-base tracking-normal whitespace-nowrap font-normal"
45
44
  >
46
- <span>{field.headerLabel}</span>
45
+ <span class="w-full" class:text-right={field.rightAlign}>{field.headerLabel}</span>
47
46
  {#if sortBy === field.slug}
48
47
  <svg
49
48
  viewBox="0 0 12 12"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.47",
4
+ "version": "0.0.48",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",