@invopop/popui 0.1.3 → 0.1.4-beta.2

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 (180) hide show
  1. package/dist/AlertDialog.svelte +10 -11
  2. package/dist/BaseButton.svelte +29 -104
  3. package/dist/BaseCard.svelte +35 -30
  4. package/dist/BaseCounter.svelte +11 -8
  5. package/dist/BaseDropdown.svelte +5 -5
  6. package/dist/BaseFlag.svelte +5 -3
  7. package/dist/BaseFlag.svelte.d.ts +1 -0
  8. package/dist/BaseTable.svelte +16 -16
  9. package/dist/BaseTable.svelte.d.ts +1 -1
  10. package/dist/BaseTableActions.svelte +4 -6
  11. package/dist/BaseTableCellContent.svelte +9 -21
  12. package/dist/BaseTableCheckbox.svelte +9 -11
  13. package/dist/BaseTableHeaderContent.svelte +4 -4
  14. package/dist/BaseTableHeaderOrderBy.svelte +23 -12
  15. package/dist/BaseTableRow.svelte +12 -10
  16. package/dist/Breadcrumb.svelte +40 -0
  17. package/dist/Breadcrumb.svelte.d.ts +4 -0
  18. package/dist/Breadcrumbs.svelte +5 -30
  19. package/dist/ButtonFile.svelte +40 -30
  20. package/dist/ButtonUuidCopy.svelte +6 -3
  21. package/dist/CardCheckbox.svelte +45 -32
  22. package/dist/CardCheckbox.svelte.d.ts +1 -1
  23. package/dist/CardRelation.svelte +12 -13
  24. package/dist/CompanySelector.svelte +35 -7
  25. package/dist/CounterWidget.svelte +52 -0
  26. package/dist/CounterWidget.svelte.d.ts +4 -0
  27. package/dist/DataListItem.svelte +14 -10
  28. package/dist/DatePicker.svelte +20 -17
  29. package/dist/DrawerContext.svelte +207 -15
  30. package/dist/DrawerContextItem.svelte +50 -50
  31. package/dist/DrawerContextSeparator.svelte +1 -1
  32. package/dist/DropdownSelect.svelte +81 -22
  33. package/dist/DropdownSelectGroup.svelte +15 -0
  34. package/dist/DropdownSelectGroup.svelte.d.ts +7 -0
  35. package/dist/EmptyState.svelte +42 -0
  36. package/dist/EmptyState.svelte.d.ts +4 -0
  37. package/dist/FeedEvents.svelte +9 -5
  38. package/dist/FeedIconEvent.svelte +2 -2
  39. package/dist/FeedIconStatus.svelte +4 -4
  40. package/dist/FeedItem.svelte +10 -11
  41. package/dist/FeedItemDetail.svelte +32 -6
  42. package/dist/FeedViewer.svelte +1 -1
  43. package/dist/GlobalSearch.svelte +13 -12
  44. package/dist/InputCheckbox.svelte +2 -5
  45. package/dist/InputError.svelte +4 -9
  46. package/dist/InputLabel.svelte +3 -1
  47. package/dist/InputRadio.svelte +29 -13
  48. package/dist/InputRadio.svelte.d.ts +1 -1
  49. package/dist/InputSearch.svelte +8 -8
  50. package/dist/InputSelect.svelte +32 -31
  51. package/dist/InputText.svelte +32 -24
  52. package/dist/InputTextarea.svelte +25 -19
  53. package/dist/InputToggle.svelte +24 -18
  54. package/dist/MenuItem.svelte +16 -11
  55. package/dist/MenuItemCollapsible.svelte +7 -7
  56. package/dist/Notification.svelte +60 -25
  57. package/dist/ProfileAvatar.svelte +43 -14
  58. package/dist/ProgressBar.svelte +42 -0
  59. package/dist/ProgressBar.svelte.d.ts +4 -0
  60. package/dist/ProgressBarCircle.svelte +46 -0
  61. package/dist/ProgressBarCircle.svelte.d.ts +4 -0
  62. package/dist/SeparatorHorizontal.svelte +2 -2
  63. package/dist/ShortcutWrapper.svelte +14 -5
  64. package/dist/StatusLabel.svelte +4 -5
  65. package/dist/StepIconList.svelte +11 -9
  66. package/dist/TagBeta.svelte +26 -14
  67. package/dist/TagProgress.svelte +28 -0
  68. package/dist/TagProgress.svelte.d.ts +4 -0
  69. package/dist/TagSearch.svelte +4 -4
  70. package/dist/TagStatus.svelte +32 -34
  71. package/dist/TitleMain.svelte +1 -1
  72. package/dist/TitleSection.svelte +1 -1
  73. package/dist/UuidCopy.svelte +4 -4
  74. package/dist/alert-dialog/alert-dialog-action.svelte +8 -4
  75. package/dist/alert-dialog/alert-dialog-cancel.svelte +7 -3
  76. package/dist/alert-dialog/alert-dialog-content.svelte +1 -1
  77. package/dist/alert-dialog/alert-dialog-description.svelte +1 -1
  78. package/dist/alert-dialog/alert-dialog-footer.svelte +1 -1
  79. package/dist/alert-dialog/alert-dialog-header.svelte +1 -1
  80. package/dist/alert-dialog/alert-dialog-overlay.svelte +1 -1
  81. package/dist/alert-dialog/alert-dialog-title.svelte +1 -1
  82. package/dist/alert-dialog/alert-dialog-trigger.svelte +4 -2
  83. package/dist/button/button.svelte +224 -24
  84. package/dist/button/button.svelte.d.ts +77 -26
  85. package/dist/clickOutside.d.ts +5 -2
  86. package/dist/clickOutside.js +9 -3
  87. package/dist/data-table/cells/boolean-cell.svelte +16 -0
  88. package/dist/data-table/cells/boolean-cell.svelte.d.ts +8 -0
  89. package/dist/data-table/cells/currency-cell.svelte +10 -0
  90. package/dist/data-table/cells/currency-cell.svelte.d.ts +8 -0
  91. package/dist/data-table/cells/date-cell.svelte +10 -0
  92. package/dist/data-table/cells/date-cell.svelte.d.ts +8 -0
  93. package/dist/data-table/cells/tag-cell.svelte +12 -0
  94. package/dist/data-table/cells/tag-cell.svelte.d.ts +8 -0
  95. package/dist/data-table/cells/text-cell.svelte +10 -0
  96. package/dist/data-table/cells/text-cell.svelte.d.ts +8 -0
  97. package/dist/data-table/column-definitions.d.ts +12 -0
  98. package/dist/data-table/column-definitions.js +42 -0
  99. package/dist/data-table/column-sizing-helpers.d.ts +6 -0
  100. package/dist/data-table/column-sizing-helpers.js +24 -0
  101. package/dist/data-table/create-columns.d.ts +3 -0
  102. package/dist/data-table/create-columns.js +50 -0
  103. package/dist/data-table/data-table-pagination.svelte +173 -0
  104. package/dist/data-table/data-table-pagination.svelte.d.ts +4 -0
  105. package/dist/data-table/data-table-svelte.svelte.d.ts +40 -0
  106. package/dist/data-table/data-table-svelte.svelte.js +111 -0
  107. package/dist/data-table/data-table-toolbar.svelte +16 -0
  108. package/dist/data-table/data-table-toolbar.svelte.d.ts +29 -0
  109. package/dist/data-table/data-table-types.d.ts +75 -0
  110. package/dist/data-table/data-table-types.js +1 -0
  111. package/dist/data-table/data-table-view-options.svelte +88 -0
  112. package/dist/data-table/data-table-view-options.svelte.d.ts +27 -0
  113. package/dist/data-table/data-table.svelte +323 -0
  114. package/dist/data-table/data-table.svelte.d.ts +25 -0
  115. package/dist/data-table/flex-render.svelte +40 -0
  116. package/dist/data-table/flex-render.svelte.d.ts +33 -0
  117. package/dist/data-table/index.d.ts +13 -0
  118. package/dist/data-table/index.js +13 -0
  119. package/dist/data-table/render-helpers.d.ts +90 -0
  120. package/dist/data-table/render-helpers.js +99 -0
  121. package/dist/data-table/table-setup.d.ts +36 -0
  122. package/dist/data-table/table-setup.js +130 -0
  123. package/dist/data-table/table-styles.d.ts +17 -0
  124. package/dist/data-table/table-styles.js +49 -0
  125. package/dist/helpers.d.ts +1 -0
  126. package/dist/helpers.js +3 -0
  127. package/dist/index.d.ts +16 -7
  128. package/dist/index.js +33 -14
  129. package/dist/range-calendar/range-calendar-cell.svelte +1 -1
  130. package/dist/range-calendar/range-calendar-day.svelte +11 -12
  131. package/dist/range-calendar/range-calendar-head-cell.svelte +1 -1
  132. package/dist/range-calendar/range-calendar-header.svelte +1 -1
  133. package/dist/range-calendar/range-calendar-month-select.svelte +1 -1
  134. package/dist/range-calendar/range-calendar-next-button.svelte +3 -3
  135. package/dist/range-calendar/range-calendar-prev-button.svelte +3 -3
  136. package/dist/range-calendar/range-calendar.svelte +1 -1
  137. package/dist/sonner/index.d.ts +1 -0
  138. package/dist/sonner/index.js +1 -0
  139. package/dist/sonner/sonner.svelte +44 -0
  140. package/dist/sonner/sonner.svelte.d.ts +4 -0
  141. package/dist/svg/CheckBadge.svelte +18 -0
  142. package/dist/svg/CheckBadge.svelte.d.ts +26 -0
  143. package/dist/svg/IconDelivery.svelte +86 -0
  144. package/dist/svg/IconDelivery.svelte.d.ts +20 -0
  145. package/dist/svg/IconEmpty.svelte +113 -121
  146. package/dist/svg/IconOrder.svelte +81 -0
  147. package/dist/svg/IconOrder.svelte.d.ts +20 -0
  148. package/dist/svg/IconPayment.svelte +86 -0
  149. package/dist/svg/IconPayment.svelte.d.ts +20 -0
  150. package/dist/table/table-body.svelte +5 -1
  151. package/dist/table/table-cell.svelte +4 -2
  152. package/dist/table/table-footer.svelte +1 -1
  153. package/dist/table/table-head.svelte +4 -2
  154. package/dist/table/table-header.svelte +1 -1
  155. package/dist/table/table-row.svelte +4 -2
  156. package/dist/table/table.svelte +2 -2
  157. package/dist/tabs/tabs-list.svelte +8 -2
  158. package/dist/tabs/tabs-list.svelte.d.ts +4 -1
  159. package/dist/tabs/tabs-trigger.svelte +5 -3
  160. package/dist/tabs/tabs-trigger.svelte.d.ts +4 -1
  161. package/dist/tailwind.theme.css +998 -0
  162. package/dist/tooltip/tooltip-content.svelte +2 -2
  163. package/dist/types.d.ts +76 -50
  164. package/package.json +20 -10
  165. package/dist/CounterWorkflow.svelte +0 -19
  166. package/dist/CounterWorkflow.svelte.d.ts +0 -4
  167. package/dist/DrawerContextWorkspace.svelte +0 -126
  168. package/dist/DrawerContextWorkspace.svelte.d.ts +0 -4
  169. package/dist/EmptyStateIcon.svelte +0 -52
  170. package/dist/EmptyStateIcon.svelte.d.ts +0 -4
  171. package/dist/EmptyStateIllustration.svelte +0 -66
  172. package/dist/EmptyStateIllustration.svelte.d.ts +0 -4
  173. package/dist/FormLayoutModal.svelte +0 -14
  174. package/dist/FormLayoutModal.svelte.d.ts +0 -4
  175. package/dist/ProfileSelector.svelte +0 -41
  176. package/dist/ProfileSelector.svelte.d.ts +0 -4
  177. package/dist/SectionLayout.svelte +0 -13
  178. package/dist/SectionLayout.svelte.d.ts +0 -4
  179. package/dist/tw.theme.d.ts +0 -171
  180. package/dist/tw.theme.js +0 -188
@@ -1,143 +1,135 @@
1
- <svg
2
- fill="none"
3
- xmlns="http://www.w3.org/2000/svg"
4
- viewBox="0 0 352 120"
5
- >
6
- <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"
1
+ <svg width="352" height="120" viewBox="0 0 352 120" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1410_923)">
3
+ <mask
4
+ id="mask0_1410_923"
5
+ style="mask-type:alpha"
6
+ maskUnits="userSpaceOnUse"
7
+ x="0"
8
+ y="-1"
9
+ width="353"
14
10
  height="121"
15
11
  >
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"
19
- clip-rule="evenodd"
20
- fill="#D9D9D9"
12
+ <path
13
+ d="M353 120H0V-1H353V120ZM84 40C80.6863 40 78 42.6863 78 46V76C78 79.3137 80.6863 82 84 82H114C117.314 82 120 79.3137 120 76V46C120 42.6863 117.314 40 114 40H84ZM245 40C241.686 40 239 42.6863 239 46V76C239 79.3137 241.686 82 245 82H275C278.314 82 281 79.3137 281 76V46C281 42.6863 278.314 40 275 40H245Z"
14
+ fill="black"
21
15
  />
22
16
  </mask>
23
- <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)"
27
- stroke-width=".6"
17
+ <g mask="url(#mask0_1410_923)">
18
+ <path
19
+ d="M35.6124 12.398H0.445778M35.6124 12.398V-36.2311M35.6124 12.398L53.126 36.7825M0.445778 61.0272L-34.7209 12.398H0.445778M0.445778 61.0272L0.306227 109.517M0.445778 61.0272H70.6396M0.306227 109.517H-34.7209L0.306227 158.146H35.3333M0.306227 109.517H35.3333M0.306227 109.517L35.3333 158.146M105.667 158.146L123.25 182.6V133.831M105.667 158.146H70.5M105.667 158.146L88.1531 133.831M105.667 158.146V109.517M123.25 133.831L140.833 158.146H175.954L140.833 109.517M123.25 133.831L105.667 109.517M140.833 109.517H176M140.833 109.517L105.806 61.0272M140.833 109.517H105.667M176 109.517L211.027 158.146H246.194M176 109.517H246.333M176 109.517L140.833 61.0272H105.806M316.527 158.146L334.11 182.6V133.971M316.527 158.146L316.574 109.656M316.527 158.146H281.36M316.527 158.146L281.5 109.517M334.11 133.971L351.554 158.146H386.721L351.694 109.656M334.11 133.971L316.574 109.656M351.694 109.656H386.86L351.694 61.0272H316.667M351.694 109.656L316.667 61.0272M351.694 109.656H316.574M316.667 61.0272V-36.2311H351.833V12.398H281.5M316.667 61.0272H281.5M281.5 12.398V61.0272M281.5 12.398C281.5 -6.59284 281.5 -17.2403 281.5 -36.2311L263.917 -60.6156M281.5 12.398L246.333 -36.2311M281.5 61.0272L246.333 12.2583M281.5 61.0272H246.333M281.5 61.0272V109.517M281.5 61.0272L299.037 85.3417M211.167 61.0272L176 12.2583H211.167M211.167 61.0272H246.333M211.167 61.0272V109.517L246.194 158.146M246.333 12.2583V-36.2311M246.333 12.2583H211.167M246.333 -36.2311V-85L263.917 -60.6156M246.333 -36.2311H211.167V12.2583M263.917 -60.6156V36.6427M211.167 12.2583L246.333 61.0272M246.333 61.0272V109.517M316.574 109.656L299.037 85.3417M246.194 158.146H281.36M281.5 109.517H246.333M246.333 109.517L281.36 158.146M299.037 85.3417V133.831M0.445778 12.398V-36.2311H35.6124M0.445778 12.398L35.3333 61.0272V109.517M35.6124 -36.2311V-84.8603L53.126 -60.4758M35.6124 -36.2311L70.6396 12.5378M70.6396 12.5378V-36.0914L53.126 -60.4758M70.6396 12.5378H140.973V-36.0914H105.806V61.0272M70.6396 12.5378V61.0272M70.6396 61.0272L53.126 36.7825M70.6396 61.0272H105.806M70.6396 61.0272V109.517M70.6396 61.0272L88.1531 85.2719M53.126 -60.4758V36.7825M105.667 109.517L88.1531 85.2719M70.6396 109.517H35.3333M70.6396 109.517L88.1531 133.831M35.3333 109.517L70.5 158.146M35.3333 158.146H70.5M88.1531 85.2719V133.831"
20
+ stroke="url(#paint0_radial_1410_923)"
21
+ stroke-width="0.6"
28
22
  />
29
23
  </g>
30
- <g filter="url(#d96)">
31
- <rect
32
- x="144"
33
- y="28"
34
- width="64"
35
- height="64"
36
- rx="12"
37
- fill="white"
24
+ <foreignObject x="124" y="8" width="104" height="106"
25
+ ><div
26
+ xmlns="http://www.w3.org/1999/xhtml"
27
+ style="backdrop-filter:blur(10px);clip-path:url(#bgblur_1_1410_923_clip_path);height:100%;width:100%"
28
+ ></div></foreignObject
29
+ ><g filter="url(#filter0_d_1410_923)" data-figma-bg-blur-radius="20">
30
+ <rect x="144" y="28" width="64" height="64" rx="12" fill="var(--color-background)" />
31
+ <rect
32
+ x="144.4"
33
+ y="28.4"
34
+ width="63.2"
35
+ height="63.2"
36
+ rx="11.6"
37
+ class="stroke-border-selected-bold"
38
+ stroke-opacity="0.6"
39
+ stroke-width="0.8"
38
40
  />
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"
54
- stroke-width="1"
55
- />
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"
64
- stroke-width=".6"
41
+ <rect
42
+ x="148.3"
43
+ y="32.3"
44
+ width="55.4"
45
+ height="55.4"
46
+ rx="7.7"
47
+ class="stroke-border-selected-bold"
48
+ stroke-opacity="0.4"
49
+ stroke-width="0.6"
65
50
  />
66
51
  </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"
52
+ <rect
53
+ x="238.344"
54
+ y="39.3438"
55
+ width="43.3125"
56
+ height="43.3125"
57
+ rx="7.65625"
58
+ class="stroke-border-default-secondary"
59
+ stroke-width="0.6875"
76
60
  stroke-dasharray="2 3"
77
61
  />
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"
86
- stroke-width=".4"
62
+ <rect
63
+ x="79.9563"
64
+ y="41.9563"
65
+ width="38.0875"
66
+ height="38.0875"
67
+ rx="5.29375"
68
+ class="stroke-border-default-secondary"
69
+ stroke-width="0.4125"
70
+ />
71
+ <rect
72
+ x="240.956"
73
+ y="41.9563"
74
+ width="38.0875"
75
+ height="38.0875"
76
+ rx="5.29375"
77
+ class="stroke-border-default-secondary"
78
+ stroke-width="0.4125"
79
+ />
80
+ <rect
81
+ x="77.3438"
82
+ y="39.3438"
83
+ width="43.3125"
84
+ height="43.3125"
85
+ rx="7.65625"
86
+ class="stroke-border-default-secondary"
87
+ stroke-width="0.6875"
88
+ stroke-dasharray="2 3"
87
89
  />
88
90
  </g>
89
91
  <defs>
90
- <radialGradient
91
- id="c97"
92
- cx="0"
93
- cy="0"
94
- r="1"
95
- gradientUnits="userSpaceOnUse"
96
- gradientTransform="matrix(.06967 120.59998 -345.06394 .19934 176 62)"
97
- >
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
- />
107
- </radialGradient>
108
- <clipPath id="a99">
109
- <path
110
- fill="#fff"
111
- d="M0 0h352v120H0z"
112
- />
113
- </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="filter0_d_1410_923"
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
+ type="matrix"
105
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
130
106
  result="hardAlpha"
131
107
  />
132
- <feOffset dy="2"/>
133
- <feGaussianBlur stdDeviation="10"/>
134
- <feComposite
135
- in2="hardAlpha"
136
- operator="out"
108
+ <feOffset dy="2" />
109
+ <feGaussianBlur stdDeviation="10" />
110
+ <feComposite in2="hardAlpha" operator="out" />
111
+ <feColorMatrix
112
+ type="matrix"
113
+ 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"
137
114
  />
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"/>
115
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1410_923" />
116
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1410_923" result="shape" />
141
117
  </filter>
118
+ <clipPath id="bgblur_1_1410_923_clip_path" transform="translate(-124 -8)"
119
+ ><rect x="144" y="28" width="64" height="64" rx="12" />
120
+ </clipPath><radialGradient
121
+ id="paint0_radial_1410_923"
122
+ cx="0"
123
+ cy="0"
124
+ r="1"
125
+ gradientUnits="userSpaceOnUse"
126
+ gradientTransform="translate(176 62) rotate(89.9669) scale(120.6 345.064)"
127
+ >
128
+ <stop stop-opacity="0.1" />
129
+ <stop stop-color="var(--color-border-default-secondary)" offset="0.537503" stop-opacity="0" />
130
+ </radialGradient>
131
+ <clipPath id="clip0_1410_923">
132
+ <rect width="352" height="120" fill="var(--color-background)" />
133
+ </clipPath>
142
134
  </defs>
143
135
  </svg>
@@ -0,0 +1,81 @@
1
+ <script lang="ts">
2
+ export let classes = ''
3
+ </script>
4
+
5
+ <svg class={classes} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 97 117">
6
+ <g filter="url(#a)">
7
+ <foreignObject width="97" height="119" x="0" y="-2">
8
+ <div style="backdrop-filter:blur(10px);clip-path:url(#b);height:100%;width:100%"></div>
9
+ </foreignObject>
10
+ <g data-figma-bg-blur-radius="20">
11
+ <rect width="57" height="79" x="20" y="18" fill="#fff" rx="6" />
12
+ <rect width="57" height="79" x="20" y="18" fill="#169958" fill-opacity=".02" rx="6" />
13
+ <rect
14
+ width="56.2"
15
+ height="78.2"
16
+ x="20.4"
17
+ y="18.4"
18
+ stroke="#169958"
19
+ stroke-opacity=".6"
20
+ stroke-width=".8"
21
+ rx="5.6"
22
+ />
23
+ </g>
24
+ <rect
25
+ width="50.4"
26
+ height="72.4"
27
+ x="23.3"
28
+ y="21.3"
29
+ stroke="#018551"
30
+ stroke-opacity=".2"
31
+ stroke-width=".6"
32
+ rx="3.7"
33
+ />
34
+ <rect width="19" height="2" x="28" y="45" fill="#018551" rx="1" />
35
+ <rect width="15" height="2" x="28" y="68" fill="#018551" rx="1" />
36
+ <rect width="10" height="2" x="59" y="50" fill="#018551" rx="1" />
37
+ <rect width="12" height="2" x="57" y="73" fill="#018551" rx="1" />
38
+ <rect width="14" height="2" x="55" y="54" fill="#018551" rx="1" />
39
+ <rect width="14" height="2" x="55" y="77" fill="#018551" rx="1" />
40
+ <rect width="10" height="2" x="59" y="58" fill="#018551" rx="1" />
41
+ <rect width="12" height="2" x="57" y="62" fill="#018551" rx="1" />
42
+ <rect width="8" height="2" x="61" y="81" fill="#018551" rx="1" />
43
+ <rect width="16" height="2" x="28" y="50" fill="#018551" fill-opacity=".2" rx="1" />
44
+ <rect width="12" height="2" x="28" y="73" fill="#018551" fill-opacity=".2" rx="1" />
45
+ <rect width="11" height="2" x="28" y="54" fill="#018551" fill-opacity=".2" rx="1" />
46
+ <rect width="16" height="2" x="28" y="77" fill="#018551" fill-opacity=".2" rx="1" />
47
+ <rect width="14" height="2" x="28" y="58" fill="#018551" fill-opacity=".2" rx="1" />
48
+ <rect width="18" height="2" x="28" y="81" fill="#018551" fill-opacity=".2" rx="1" />
49
+ <rect width="16" height="2" x="28" y="62" fill="#018551" fill-opacity=".2" rx="1" />
50
+ <path
51
+ fill="#018551"
52
+ d="M37.306 26.555h-6.612c-1.18 0-2.139.96-2.139 2.14v6.61c0 1.18.96 2.14 2.14 2.14h4.022c.571 0 1.108-.223 1.512-.627l2.589-2.589c.404-.404.626-.94.626-1.512v-4.023c0-1.18-.959-2.139-2.139-2.139Zm-4.667 8.167h-1.167a.583.583 0 0 1 0-1.166h1.167a.583.583 0 0 1 0 1.166Zm.583-2.139h-1.75a.583.583 0 0 1 0-1.166h1.75a.583.583 0 0 1 0 1.166Zm-1.75-2.139a.583.583 0 0 1 0-1.166h5.056a.583.583 0 0 1 0 1.166h-5.056Zm6.52 2.96-2.588 2.589c-.068.068-.153.113-.237.158v-2.79c0-.107.087-.194.194-.194h2.791a.962.962 0 0 1-.16.237Z"
53
+ />
54
+ </g>
55
+ <defs>
56
+ <clipPath id="b" transform="translate(0 2)">
57
+ <rect width="57" height="79" x="20" y="18" rx="6" />
58
+ </clipPath>
59
+ <filter
60
+ id="a"
61
+ width="97"
62
+ height="119"
63
+ x="0"
64
+ y="0"
65
+ color-interpolation-filters="sRGB"
66
+ filterUnits="userSpaceOnUse"
67
+ >
68
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
69
+ <feColorMatrix
70
+ in="SourceAlpha"
71
+ result="hardAlpha"
72
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
73
+ />
74
+ <feOffset dy="2" />
75
+ <feGaussianBlur stdDeviation="10" />
76
+ <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" />
77
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_9631_18422" />
78
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_9631_18422" result="shape" />
79
+ </filter>
80
+ </defs>
81
+ </svg>
@@ -0,0 +1,20 @@
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ declare const IconOrder: $$__sveltets_2_IsomorphicComponent<{
15
+ classes?: string;
16
+ }, {
17
+ [evt: string]: CustomEvent<any>;
18
+ }, {}, {}, string>;
19
+ type IconOrder = InstanceType<typeof IconOrder>;
20
+ export default IconOrder;
@@ -0,0 +1,86 @@
1
+ <script lang="ts">
2
+ export let classes = ''
3
+ </script>
4
+
5
+ <svg class={classes} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 97 117">
6
+ <g filter="url(#a)">
7
+ <foreignObject width="97" height="119" x="0" y="-2">
8
+ <div style="backdrop-filter:blur(10px);clip-path:url(#b);height:100%;width:100%"></div>
9
+ </foreignObject>
10
+ <g data-figma-bg-blur-radius="20">
11
+ <rect width="57" height="79" x="20" y="18" fill="#fff" rx="6" />
12
+ <rect width="57" height="79" x="20" y="18" fill="#169958" fill-opacity=".02" rx="6" />
13
+ <rect
14
+ width="56.2"
15
+ height="78.2"
16
+ x="20.4"
17
+ y="18.4"
18
+ stroke="#169958"
19
+ stroke-opacity=".6"
20
+ stroke-width=".8"
21
+ rx="5.6"
22
+ />
23
+ </g>
24
+ <rect
25
+ width="50.4"
26
+ height="72.4"
27
+ x="23.3"
28
+ y="21.3"
29
+ stroke="#018551"
30
+ stroke-opacity=".2"
31
+ stroke-width=".6"
32
+ rx="3.7"
33
+ />
34
+ <rect width="19" height="2" x="28" y="45" fill="#018551" rx="1" />
35
+ <rect width="15" height="2" x="28" y="68" fill="#018551" rx="1" />
36
+ <rect width="10" height="2" x="59" y="50" fill="#018551" rx="1" />
37
+ <rect width="12" height="2" x="57" y="73" fill="#018551" rx="1" />
38
+ <rect width="14" height="2" x="55" y="54" fill="#018551" rx="1" />
39
+ <rect width="14" height="2" x="55" y="77" fill="#018551" rx="1" />
40
+ <rect width="10" height="2" x="59" y="58" fill="#018551" rx="1" />
41
+ <rect width="12" height="2" x="57" y="62" fill="#018551" rx="1" />
42
+ <rect width="8" height="2" x="61" y="81" fill="#018551" rx="1" />
43
+ <rect width="16" height="2" x="28" y="50" fill="#018551" fill-opacity=".2" rx="1" />
44
+ <rect width="12" height="2" x="28" y="73" fill="#018551" fill-opacity=".2" rx="1" />
45
+ <rect width="11" height="2" x="28" y="54" fill="#018551" fill-opacity=".2" rx="1" />
46
+ <rect width="16" height="2" x="28" y="77" fill="#018551" fill-opacity=".2" rx="1" />
47
+ <rect width="14" height="2" x="28" y="58" fill="#018551" fill-opacity=".2" rx="1" />
48
+ <rect width="18" height="2" x="28" y="81" fill="#018551" fill-opacity=".2" rx="1" />
49
+ <rect width="16" height="2" x="28" y="62" fill="#018551" fill-opacity=".2" rx="1" />
50
+ <g clip-path="url(#c)">
51
+ <path
52
+ fill="#018551"
53
+ d="M30.44 31.605c.83-.426 1.794-.433 2.715-.023l2.164.99c.408.184.721.518.88.939.049.132.076.268.091.404l2.335-1.054a1.684 1.684 0 0 1 2.226.842 1.685 1.685 0 0 1-.842 2.226l-5.282 2.383a2.902 2.902 0 0 1-2.088.12l-2.76-.882a1.362 1.362 0 0 1-1.323 1.06h-.195C27.611 38.61 27 38 27 37.25V33.36c0-.75.61-1.361 1.361-1.361h.195c.363 0 .692.145.936.378.267-.312.58-.583.947-.772Zm2.235 1.042c-.596-.265-1.185-.267-1.703-.002a2.1 2.1 0 0 0-1.055 1.381v2.313l3.077.983c.413.133.857.107 1.252-.071l5.282-2.384a.512.512 0 0 0 .27-.288.518.518 0 0 0-.695-.654c-.027.013-3.848 1.74-3.89 1.755a1.686 1.686 0 0 1-1.288-.043l-1.531-.697a.583.583 0 1 1 .481-1.062l1.532.696a.516.516 0 1 0 .428-.94l-2.16-.987ZM35.75 25a2.92 2.92 0 0 1 2.917 2.917 2.92 2.92 0 0 1-2.917 2.916 2.92 2.92 0 0 1-2.917-2.916A2.92 2.92 0 0 1 35.75 25Zm0 1.75a.583.583 0 0 0-.583.583V28.5a.583.583 0 1 0 1.166 0v-1.167a.583.583 0 0 0-.583-.583Z"
54
+ />
55
+ </g>
56
+ </g>
57
+ <defs>
58
+ <clipPath id="b" transform="translate(0 2)">
59
+ <rect width="57" height="79" x="20" y="18" rx="6" />
60
+ </clipPath>
61
+ <clipPath id="c">
62
+ <path fill="#fff" d="M27 25h14v14H27z" />
63
+ </clipPath>
64
+ <filter
65
+ id="a"
66
+ width="97"
67
+ height="119"
68
+ x="0"
69
+ y="0"
70
+ color-interpolation-filters="sRGB"
71
+ filterUnits="userSpaceOnUse"
72
+ >
73
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
74
+ <feColorMatrix
75
+ in="SourceAlpha"
76
+ result="hardAlpha"
77
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
78
+ />
79
+ <feOffset dy="2" />
80
+ <feGaussianBlur stdDeviation="10" />
81
+ <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" />
82
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_9631_18244" />
83
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_9631_18244" result="shape" />
84
+ </filter>
85
+ </defs>
86
+ </svg>
@@ -0,0 +1,20 @@
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ declare const IconPayment: $$__sveltets_2_IsomorphicComponent<{
15
+ classes?: string;
16
+ }, {
17
+ [evt: string]: CustomEvent<any>;
18
+ }, {}, {}, string>;
19
+ type IconPayment = InstanceType<typeof IconPayment>;
20
+ export default IconPayment;
@@ -8,6 +8,10 @@
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
12
+ bind:this={ref}
13
+ data-slot="table-body"
14
+ class={cn('[&_tr:hover]:bg-background-default-secondary', className)}
15
+ >
12
16
  {@render children?.()}
13
17
  </tbody>
@@ -7,7 +7,8 @@
7
7
  let {
8
8
  ref = $bindable(null),
9
9
  class: className,
10
- children
10
+ children,
11
+ ...restProps
11
12
  }: WithElementRef<HTMLTdAttributes> = $props()
12
13
  </script>
13
14
 
@@ -15,9 +16,10 @@
15
16
  bind:this={ref}
16
17
  data-slot="table-cell"
17
18
  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',
19
+ 'py-[9px] [&:has([role=menu])]:py-0 [&:has([data-uuid-copy])]:py-0 pl-3 pr-3 align-middle text-foreground font-normal text-base [&:has([role=menu])]:pl-1 relative z-1 [&:has([role=menu])]:bg-white [&:has([type=checkbox])]:bg-white',
19
20
  className
20
21
  )}
22
+ {...restProps}
21
23
  onclick={bubble('click')}
22
24
  onkeydown={bubble('keydown')}
23
25
  >
@@ -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>
@@ -4,7 +4,8 @@
4
4
  let {
5
5
  ref = $bindable(null),
6
6
  class: className,
7
- children
7
+ children,
8
+ ...restProps
8
9
  }: WithElementRef<HTMLThAttributes> = $props()
9
10
  </script>
10
11
 
@@ -12,9 +13,10 @@
12
13
  bind:this={ref}
13
14
  data-slot="table-head"
14
15
  class={cn(
15
- 'text-neutral-600 text-base font-normal p-3 text-left align-middle [&:has([role=checkbox])]:pr-0',
16
+ 'text-foreground-default-secondary text-base font-normal text-left align-middle [&:has([role=checkbox])]:pr-0 px-3 hover:bg-background-default-secondary transition-colors',
16
17
  className
17
18
  )}
19
+ {...restProps}
18
20
  >
19
21
  {@render children?.()}
20
22
  </th>
@@ -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('sticky top-0 z-20 [&_tr]:border-b [&_tr]:border-border bg-background', className)}
19
19
  onclick={bubble('click')}
20
20
  onkeydown={bubble('keydown')}
21
21
  >
@@ -10,7 +10,8 @@
10
10
  oncontextmenu,
11
11
  onkeydown,
12
12
  onmouseover,
13
- onfocus
13
+ onfocus,
14
+ ...restProps
14
15
  }: WithElementRef<HTMLAttributes<HTMLTableRowElement>> = $props()
15
16
  </script>
16
17
 
@@ -18,7 +19,7 @@
18
19
  bind:this={ref}
19
20
  data-slot="table-row"
20
21
  class={cn(
21
- 'data-[state=selected]:bg-neutral-50 data-[state=checked]:bg-workspace-accent-50 transition-colors',
22
+ 'group/row data-[state=selected]:bg-background-selected data-[state=checked]:bg-background-selected transition-colors h-10 data-[state=selected]:hover:bg-background-selected data-[state=checked]:hover:bg-background-selected',
22
23
  className
23
24
  )}
24
25
  {oncontextmenu}
@@ -26,6 +27,7 @@
26
27
  {onkeydown}
27
28
  {onmouseover}
28
29
  {onfocus}
30
+ {...restProps}
29
31
  >
30
32
  {@render children?.()}
31
33
  </tr>
@@ -8,8 +8,8 @@
8
8
  }: WithElementRef<HTMLTableAttributes> = $props()
9
9
  </script>
10
10
 
11
- <div data-slot="table-container" class="relative w-full overflow-x-auto">
12
- <table bind:this={ref} data-slot="table" class={cn('w-full caption-bottom', className)}>
11
+ <div data-slot="table-container" class="relative w-full">
12
+ <table bind:this={ref} data-slot="table" class={cn('caption-bottom', className)}>
13
13
  {@render children?.()}
14
14
  </table>
15
15
  </div>
@@ -1,14 +1,20 @@
1
1
  <script lang="ts">
2
2
  import { Tabs as TabsPrimitive } from 'bits-ui'
3
3
  import { cn } from '../utils.js'
4
- let { ref = $bindable(null), class: className, children }: TabsPrimitive.ListProps = $props()
4
+ let {
5
+ ref = $bindable(null),
6
+ class: className,
7
+ children,
8
+ variant
9
+ }: TabsPrimitive.ListProps & { variant?: 'md' | 'lg' } = $props()
5
10
  </script>
6
11
 
7
12
  <TabsPrimitive.List
8
13
  bind:ref
9
14
  data-slot="tabs-list"
10
15
  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',
16
+ 'bg-background-default-tertiary text-base text-foreground inline-flex items-center justify-center p-0.5 w-full',
17
+ variant === 'lg' ? 'rounded-lg h-8' : 'rounded-md h-7',
12
18
  className
13
19
  )}
14
20
  >
@@ -1,4 +1,7 @@
1
1
  import { Tabs as TabsPrimitive } from 'bits-ui';
2
- declare const TabsList: import("svelte").Component<TabsPrimitive.ListProps, {}, "ref">;
2
+ type $$ComponentProps = TabsPrimitive.ListProps & {
3
+ variant?: 'md' | 'lg';
4
+ };
5
+ declare const TabsList: import("svelte").Component<$$ComponentProps, {}, "ref">;
3
6
  type TabsList = ReturnType<typeof TabsList>;
4
7
  export default TabsList;