@invopop/popui 0.1.14 → 0.1.15

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.
Files changed (93) hide show
  1. package/dist/BaseButton.svelte +25 -103
  2. package/dist/BaseCard.svelte +35 -30
  3. package/dist/BaseCounter.svelte +11 -8
  4. package/dist/BaseTable.svelte +6 -8
  5. package/dist/BaseTableActions.svelte +2 -2
  6. package/dist/BaseTableCellContent.svelte +2 -2
  7. package/dist/BaseTableHeaderContent.svelte +2 -2
  8. package/dist/Breadcrumb.svelte +40 -0
  9. package/dist/Breadcrumb.svelte.d.ts +4 -0
  10. package/dist/Breadcrumbs.svelte +5 -30
  11. package/dist/ButtonFile.svelte +35 -30
  12. package/dist/ButtonUuidCopy.svelte +2 -2
  13. package/dist/CardCheckbox.svelte +25 -21
  14. package/dist/CardRelation.svelte +12 -16
  15. package/dist/CompanySelector.svelte +35 -7
  16. package/dist/DataListItem.svelte +14 -10
  17. package/dist/DatePicker.svelte +9 -9
  18. package/dist/DrawerContext.svelte +112 -10
  19. package/dist/DrawerContextItem.svelte +19 -29
  20. package/dist/DrawerContextSeparator.svelte +1 -1
  21. package/dist/DrawerContextWorkspace.svelte +7 -7
  22. package/dist/DropdownSelect.svelte +40 -14
  23. package/dist/EmptyState.svelte +40 -0
  24. package/dist/EmptyState.svelte.d.ts +4 -0
  25. package/dist/EmptyStateIllustration.svelte.d.ts +0 -1
  26. package/dist/FeedEvents.svelte +9 -5
  27. package/dist/FeedIconEvent.svelte +1 -1
  28. package/dist/FeedItem.svelte +8 -8
  29. package/dist/FeedItemDetail.svelte +7 -5
  30. package/dist/GlobalSearch.svelte +13 -12
  31. package/dist/InputCheckbox.svelte +2 -5
  32. package/dist/InputError.svelte +4 -9
  33. package/dist/InputLabel.svelte +3 -1
  34. package/dist/InputRadio.svelte +26 -11
  35. package/dist/InputSearch.svelte +8 -8
  36. package/dist/InputSelect.svelte +32 -31
  37. package/dist/InputText.svelte +32 -24
  38. package/dist/InputTextarea.svelte +25 -19
  39. package/dist/InputToggle.svelte +24 -18
  40. package/dist/Notification.svelte +55 -24
  41. package/dist/ProfileAvatar.svelte +41 -14
  42. package/dist/SeparatorHorizontal.svelte +2 -2
  43. package/dist/ShortcutWrapper.svelte +14 -5
  44. package/dist/StatusLabel.svelte +4 -5
  45. package/dist/StepIconList.svelte +7 -9
  46. package/dist/TagBeta.svelte +26 -14
  47. package/dist/TagStatus.svelte +33 -48
  48. package/dist/TitleMain.svelte +1 -1
  49. package/dist/TitleSection.svelte +1 -1
  50. package/dist/UuidCopy.svelte +4 -4
  51. package/dist/alert-dialog/alert-dialog-action.svelte +5 -3
  52. package/dist/alert-dialog/alert-dialog-cancel.svelte +4 -2
  53. package/dist/alert-dialog/alert-dialog-content.svelte +1 -1
  54. package/dist/alert-dialog/alert-dialog-description.svelte +1 -1
  55. package/dist/alert-dialog/alert-dialog-footer.svelte +1 -1
  56. package/dist/alert-dialog/alert-dialog-header.svelte +1 -1
  57. package/dist/alert-dialog/alert-dialog-title.svelte +1 -1
  58. package/dist/button/button.svelte +183 -24
  59. package/dist/button/button.svelte.d.ts +48 -26
  60. package/dist/index.d.ts +2 -7
  61. package/dist/index.js +2 -12
  62. package/dist/range-calendar/range-calendar-cell.svelte +1 -1
  63. package/dist/range-calendar/range-calendar-day.svelte +10 -8
  64. package/dist/range-calendar/range-calendar-head-cell.svelte +1 -1
  65. package/dist/range-calendar/range-calendar-next-button.svelte +3 -3
  66. package/dist/range-calendar/range-calendar-prev-button.svelte +3 -3
  67. package/dist/range-calendar/range-calendar.svelte +1 -1
  68. package/dist/svg/CheckBadge.svelte +18 -0
  69. package/dist/svg/CheckBadge.svelte.d.ts +26 -0
  70. package/dist/svg/IconEmpty.svelte +78 -106
  71. package/dist/table/table-body.svelte +1 -1
  72. package/dist/table/table-cell.svelte +1 -1
  73. package/dist/table/table-footer.svelte +1 -1
  74. package/dist/table/table-head.svelte +1 -1
  75. package/dist/table/table-header.svelte +1 -1
  76. package/dist/table/table-row.svelte +1 -1
  77. package/dist/tabs/tabs-list.svelte +1 -1
  78. package/dist/tailwind.theme.css +969 -0
  79. package/dist/tooltip/tooltip-content.svelte +2 -2
  80. package/dist/types.d.ts +36 -42
  81. package/package.json +2 -2
  82. package/dist/CounterWorkflow.svelte +0 -19
  83. package/dist/CounterWorkflow.svelte.d.ts +0 -4
  84. package/dist/EmptyStateIcon.svelte +0 -52
  85. package/dist/EmptyStateIcon.svelte.d.ts +0 -4
  86. package/dist/FormLayoutModal.svelte +0 -14
  87. package/dist/FormLayoutModal.svelte.d.ts +0 -4
  88. package/dist/ProfileSelector.svelte +0 -41
  89. package/dist/ProfileSelector.svelte.d.ts +0 -4
  90. package/dist/SectionLayout.svelte +0 -13
  91. package/dist/SectionLayout.svelte.d.ts +0 -4
  92. package/dist/tw.theme.d.ts +0 -171
  93. package/dist/tw.theme.js +0 -188
@@ -1,143 +1,115 @@
1
- <svg
2
- fill="none"
3
- xmlns="http://www.w3.org/2000/svg"
1
+ <svg
2
+ fill="none"
3
+ xmlns="http://www.w3.org/2000/svg"
4
4
  viewBox="0 0 352 120"
5
+ class="text-foreground-accent"
5
6
  >
6
7
  <g clip-path="url(#a99)">
7
- <mask
8
- id="b98"
9
- style="mask-type:alpha"
10
- maskUnits="userSpaceOnUse"
11
- x="0"
12
- y="-1"
13
- width="353"
8
+ <mask
9
+ id="b98"
10
+ style="mask-type:alpha"
11
+ maskUnits="userSpaceOnUse"
12
+ x="0"
13
+ y="-1"
14
+ width="353"
14
15
  height="121"
15
16
  >
16
- <path
17
- d="M0-1h353v121H0V-1Zm78 47a6 6 0 0 1 6-6h30a6 6 0 0 1 6 6v30a6 6 0 0 1-6 6H84a6 6 0 0 1-6-6V46Zm167-6a6 6 0 0 0-6 6v30a6 6 0 0 0 6 6h30a6 6 0 0 0 6-6V46a6 6 0 0 0-6-6h-30Z"
18
- fill-rule="evenodd"
17
+ <path
18
+ d="M0-1h353v121H0V-1Zm78 47a6 6 0 0 1 6-6h30a6 6 0 0 1 6 6v30a6 6 0 0 1-6 6H84a6 6 0 0 1-6-6V46Zm167-6a6 6 0 0 0-6 6v30a6 6 0 0 0 6 6h30a6 6 0 0 0 6-6V46a6 6 0 0 0-6-6h-30Z"
19
+ fill-rule="evenodd"
19
20
  clip-rule="evenodd"
20
21
  fill="#D9D9D9"
21
22
  />
22
23
  </mask>
23
24
  <g mask="url(#b98)">
24
- <path
25
- d="M35.6 12.4H.4m35.2 0v-48.6m0 48.6 17.5 24.4M.4 61l-35.1-48.6H.4M.4 61v48.5M.3 61h70.2M.3 109.5h-35l35 48.6h35m-35-48.6h35m-35 0 35 48.6m70.4 0 17.5 24.5v-48.8m-17.5 24.3H70.5m35.2 0-17.5-24.3m17.5 24.3v-48.6m17.5 24.3 17.6 24.3H176l-35.2-48.6m-17.6 24.3-17.5-24.3m35.1 0H176m-35.2 0-35-48.5m35 48.5h-35.1m70.3 0 35 48.6h35.2M176 109.5h70.3m-70.3 0L140.8 61h-35"
26
- stroke="url(#c97)"
25
+ <path
26
+ d="M35.6 12.4H.4m35.2 0v-48.6m0 48.6 17.5 24.4M.4 61l-35.1-48.6H.4M.4 61v48.5M.3 61h70.2M.3 109.5h-35l35 48.6h35m-35-48.6h35m-35 0 35 48.6m70.4 0 17.5 24.5v-48.8m-17.5 24.3H70.5m35.2 0-17.5-24.3m17.5 24.3v-48.6m17.5 24.3 17.6 24.3H176l-35.2-48.6m-17.6 24.3-17.5-24.3m35.1 0H176m-35.2 0-35-48.5m35 48.5h-35.1m70.3 0 35 48.6h35.2M176 109.5h70.3m-70.3 0L140.8 61h-35"
27
+ stroke="url(#c97)"
27
28
  stroke-width=".6"
28
29
  />
29
30
  </g>
30
31
  <g filter="url(#d96)">
31
- <rect
32
- x="144"
33
- y="28"
34
- width="64"
35
- height="64"
36
- rx="12"
37
- fill="white"
38
- />
39
- <rect
40
- x="144"
41
- y="28"
42
- width="64"
43
- height="64"
44
- rx="12"
45
- />
46
- <rect
47
- x="144.4"
48
- y="28.4"
49
- width="63.2"
50
- height="63.2"
51
- rx="11.6"
52
- stroke="var(--workspace-accent-color, #169958)"
53
- stroke-opacity=".6"
32
+ <rect x="144" y="28" width="64" height="64" rx="12" fill="white" />
33
+ <rect x="144" y="28" width="64" height="64" rx="12" />
34
+ <rect
35
+ x="144.4"
36
+ y="28.4"
37
+ width="63.2"
38
+ height="63.2"
39
+ rx="11.6"
40
+ stroke="currentColor"
41
+ stroke-opacity=".6"
54
42
  stroke-width="1"
55
43
  />
56
- <rect
57
- x="148.3"
58
- y="32.3"
59
- width="55.4"
60
- height="55.4"
61
- rx="7.7"
62
- stroke="var(--workspace-accent-color, #169958)"
63
- stroke-opacity=".4"
44
+ <rect
45
+ x="148.3"
46
+ y="32.3"
47
+ width="55.4"
48
+ height="55.4"
49
+ rx="7.7"
50
+ stroke="currentColor"
51
+ stroke-opacity=".4"
64
52
  stroke-width=".6"
65
53
  />
66
54
  </g>
67
- <rect
68
- x="238.3"
69
- y="39.3"
70
- width="43.3"
71
- height="43.3"
72
- rx="7.7"
73
- stroke="#030712"
74
- stroke-opacity=".1"
75
- stroke-width=".7"
55
+ <rect
56
+ x="238.3"
57
+ y="39.3"
58
+ width="43.3"
59
+ height="43.3"
60
+ rx="7.7"
61
+ stroke="#030712"
62
+ stroke-opacity=".1"
63
+ stroke-width=".7"
76
64
  stroke-dasharray="2 3"
77
65
  />
78
- <rect
79
- x="80"
80
- y="42"
81
- width="38.1"
82
- height="38.1"
83
- rx="5.3"
84
- stroke="#030712"
85
- stroke-opacity=".1"
66
+ <rect
67
+ x="80"
68
+ y="42"
69
+ width="38.1"
70
+ height="38.1"
71
+ rx="5.3"
72
+ stroke="#030712"
73
+ stroke-opacity=".1"
86
74
  stroke-width=".4"
87
75
  />
88
76
  </g>
89
77
  <defs>
90
- <radialGradient
91
- id="c97"
92
- cx="0"
93
- cy="0"
94
- r="1"
95
- gradientUnits="userSpaceOnUse"
78
+ <radialGradient
79
+ id="c97"
80
+ cx="0"
81
+ cy="0"
82
+ r="1"
83
+ gradientUnits="userSpaceOnUse"
96
84
  gradientTransform="matrix(.06967 120.59998 -345.06394 .19934 176 62)"
97
85
  >
98
- <stop
99
- stop-color="#D1D5DB"
100
- stop-opacity=".6"
101
- />
102
- <stop
103
- offset=".5"
104
- stop-color="#D1D5DB"
105
- stop-opacity="0"
106
- />
86
+ <stop stop-color="#D1D5DB" stop-opacity=".6" />
87
+ <stop offset=".5" stop-color="#D1D5DB" stop-opacity="0" />
107
88
  </radialGradient>
108
89
  <clipPath id="a99">
109
- <path
110
- fill="#fff"
111
- d="M0 0h352v120H0z"
112
- />
90
+ <path fill="#fff" d="M0 0h352v120H0z" />
113
91
  </clipPath>
114
- <filter
115
- id="d96"
116
- x="124"
117
- y="8"
118
- width="104"
119
- height="106"
120
- filterUnits="userSpaceOnUse"
92
+ <filter
93
+ id="d96"
94
+ x="124"
95
+ y="8"
96
+ width="104"
97
+ height="106"
98
+ filterUnits="userSpaceOnUse"
121
99
  color-interpolation-filters="sRGB"
122
100
  >
123
- <feFlood
124
- flood-opacity="0"
125
- result="BackgroundImageFix"
126
- />
127
- <feColorMatrix
128
- in="SourceAlpha"
129
- values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
101
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
102
+ <feColorMatrix
103
+ in="SourceAlpha"
104
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
130
105
  result="hardAlpha"
131
106
  />
132
- <feOffset dy="2"/>
133
- <feGaussianBlur stdDeviation="10"/>
134
- <feComposite
135
- in2="hardAlpha"
136
- operator="out"
137
- />
138
- <feColorMatrix values="0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0.04 0"/>
139
- <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_280_210"/>
140
- <feBlend in="SourceGraphic" in2="effect1_dropShadow_280_210" result="shape"/>
107
+ <feOffset dy="2" />
108
+ <feGaussianBlur stdDeviation="10" />
109
+ <feComposite in2="hardAlpha" operator="out" />
110
+ <feColorMatrix values="0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0.04 0" />
111
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_280_210" />
112
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_280_210" result="shape" />
141
113
  </filter>
142
114
  </defs>
143
115
  </svg>
@@ -8,6 +8,6 @@
8
8
  }: WithElementRef<HTMLAttributes<HTMLTableSectionElement>> = $props()
9
9
  </script>
10
10
 
11
- <tbody bind:this={ref} data-slot="table-body" class={cn('[&_tr:hover]:bg-neutral-50', className)}>
11
+ <tbody bind:this={ref} data-slot="table-body" class={cn('[&_tr:hover]:bg-neutral-5', className)}>
12
12
  {@render children?.()}
13
13
  </tbody>
@@ -15,7 +15,7 @@
15
15
  bind:this={ref}
16
16
  data-slot="table-cell"
17
17
  class={cn(
18
- 'py-3 pl-3 pr-3 align-middle text-neutral-500 font-normal text-base [&:has([role=checkbox])]:pr-2 [&:has([role=menu])]:pl-1 relative z-1',
18
+ 'py-3 pl-3 pr-3 align-middle text-foreground-default-secondary font-normal text-base [&:has([role=checkbox])]:pr-2 [&:has([role=menu])]:pl-1 relative z-1',
19
19
  className
20
20
  )}
21
21
  onclick={bubble('click')}
@@ -11,7 +11,7 @@
11
11
  <tfoot
12
12
  bind:this={ref}
13
13
  data-slot="table-footer"
14
- class={cn('bg-muted/50 text-primary-foreground font-medium', className)}
14
+ class={cn('bg-muted/50 text-foreground font-medium', className)}
15
15
  >
16
16
  {@render children?.()}
17
17
  </tfoot>
@@ -12,7 +12,7 @@
12
12
  bind:this={ref}
13
13
  data-slot="table-head"
14
14
  class={cn(
15
- 'text-neutral-600 text-base font-normal p-3 text-left align-middle [&:has([role=checkbox])]:pr-0',
15
+ 'text-neutral-60 text-base font-normal p-3 text-left align-middle [&:has([role=checkbox])]:pr-0',
16
16
  className
17
17
  )}
18
18
  >
@@ -15,7 +15,7 @@
15
15
  <thead
16
16
  bind:this={ref}
17
17
  data-slot="table-header"
18
- class={cn('[&_tr]:border-b [&_tr]:border-neutral-100 bg-white', className)}
18
+ class={cn('[&_tr]:border-b [&_tr]:border-border bg-white', className)}
19
19
  onclick={bubble('click')}
20
20
  onkeydown={bubble('keydown')}
21
21
  >
@@ -18,7 +18,7 @@
18
18
  bind:this={ref}
19
19
  data-slot="table-row"
20
20
  class={cn(
21
- 'data-[state=selected]:bg-neutral-50 data-[state=checked]:bg-workspace-accent-50 transition-colors',
21
+ 'data-[state=selected]:bg-neutral-5 data-[state=checked]:bg-workspace-accent-50 transition-colors',
22
22
  className
23
23
  )}
24
24
  {oncontextmenu}
@@ -8,7 +8,7 @@
8
8
  bind:ref
9
9
  data-slot="tabs-list"
10
10
  class={cn(
11
- 'bg-neutral-100 border border-neutral-200 text-base text-neutral-800 inline-flex h-7 items-center justify-center rounded-md p-0.5 w-full',
11
+ 'bg-background-default-secondary border border-border text-base text-foreground inline-flex h-7 items-center justify-center rounded-md p-0.5 w-full',
12
12
  className
13
13
  )}
14
14
  >