@invopop/popui 0.1.1 → 0.1.3-6.beta.1

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 (178) hide show
  1. package/dist/AlertDialog.svelte +10 -11
  2. package/dist/BaseButton.svelte +25 -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 +46 -18
  33. package/dist/EmptyState.svelte +42 -0
  34. package/dist/EmptyState.svelte.d.ts +4 -0
  35. package/dist/FeedEvents.svelte +9 -5
  36. package/dist/FeedIconEvent.svelte +2 -2
  37. package/dist/FeedIconStatus.svelte +4 -4
  38. package/dist/FeedItem.svelte +10 -11
  39. package/dist/FeedItemDetail.svelte +32 -6
  40. package/dist/FeedViewer.svelte +1 -1
  41. package/dist/GlobalSearch.svelte +13 -12
  42. package/dist/InputCheckbox.svelte +2 -5
  43. package/dist/InputError.svelte +4 -9
  44. package/dist/InputLabel.svelte +3 -1
  45. package/dist/InputRadio.svelte +29 -13
  46. package/dist/InputRadio.svelte.d.ts +1 -1
  47. package/dist/InputSearch.svelte +8 -8
  48. package/dist/InputSelect.svelte +32 -31
  49. package/dist/InputText.svelte +32 -24
  50. package/dist/InputTextarea.svelte +25 -19
  51. package/dist/InputToggle.svelte +24 -18
  52. package/dist/MenuItem.svelte +16 -11
  53. package/dist/MenuItemCollapsible.svelte +7 -7
  54. package/dist/Notification.svelte +60 -25
  55. package/dist/ProfileAvatar.svelte +43 -14
  56. package/dist/ProgressBar.svelte +42 -0
  57. package/dist/ProgressBar.svelte.d.ts +4 -0
  58. package/dist/ProgressBarCircle.svelte +46 -0
  59. package/dist/ProgressBarCircle.svelte.d.ts +4 -0
  60. package/dist/SeparatorHorizontal.svelte +2 -2
  61. package/dist/ShortcutWrapper.svelte +14 -5
  62. package/dist/StatusLabel.svelte +4 -5
  63. package/dist/StepIconList.svelte +11 -9
  64. package/dist/TagBeta.svelte +26 -14
  65. package/dist/TagProgress.svelte +28 -0
  66. package/dist/TagProgress.svelte.d.ts +4 -0
  67. package/dist/TagSearch.svelte +4 -4
  68. package/dist/TagStatus.svelte +32 -34
  69. package/dist/TitleMain.svelte +1 -1
  70. package/dist/TitleSection.svelte +1 -1
  71. package/dist/UuidCopy.svelte +4 -4
  72. package/dist/alert-dialog/alert-dialog-action.svelte +8 -4
  73. package/dist/alert-dialog/alert-dialog-cancel.svelte +7 -3
  74. package/dist/alert-dialog/alert-dialog-content.svelte +1 -1
  75. package/dist/alert-dialog/alert-dialog-description.svelte +1 -1
  76. package/dist/alert-dialog/alert-dialog-footer.svelte +1 -1
  77. package/dist/alert-dialog/alert-dialog-header.svelte +1 -1
  78. package/dist/alert-dialog/alert-dialog-overlay.svelte +1 -1
  79. package/dist/alert-dialog/alert-dialog-title.svelte +1 -1
  80. package/dist/alert-dialog/alert-dialog-trigger.svelte +4 -2
  81. package/dist/button/button.svelte +200 -24
  82. package/dist/button/button.svelte.d.ts +51 -26
  83. package/dist/clickOutside.d.ts +5 -2
  84. package/dist/clickOutside.js +9 -3
  85. package/dist/data-table/cells/boolean-cell.svelte +16 -0
  86. package/dist/data-table/cells/boolean-cell.svelte.d.ts +8 -0
  87. package/dist/data-table/cells/currency-cell.svelte +10 -0
  88. package/dist/data-table/cells/currency-cell.svelte.d.ts +8 -0
  89. package/dist/data-table/cells/date-cell.svelte +10 -0
  90. package/dist/data-table/cells/date-cell.svelte.d.ts +8 -0
  91. package/dist/data-table/cells/tag-cell.svelte +12 -0
  92. package/dist/data-table/cells/tag-cell.svelte.d.ts +8 -0
  93. package/dist/data-table/cells/text-cell.svelte +10 -0
  94. package/dist/data-table/cells/text-cell.svelte.d.ts +8 -0
  95. package/dist/data-table/column-definitions.d.ts +12 -0
  96. package/dist/data-table/column-definitions.js +40 -0
  97. package/dist/data-table/column-sizing-helpers.d.ts +6 -0
  98. package/dist/data-table/column-sizing-helpers.js +24 -0
  99. package/dist/data-table/create-columns.d.ts +3 -0
  100. package/dist/data-table/create-columns.js +50 -0
  101. package/dist/data-table/data-table-pagination.svelte +144 -0
  102. package/dist/data-table/data-table-pagination.svelte.d.ts +4 -0
  103. package/dist/data-table/data-table-svelte.svelte.d.ts +40 -0
  104. package/dist/data-table/data-table-svelte.svelte.js +111 -0
  105. package/dist/data-table/data-table-toolbar.svelte +16 -0
  106. package/dist/data-table/data-table-toolbar.svelte.d.ts +29 -0
  107. package/dist/data-table/data-table-types.d.ts +66 -0
  108. package/dist/data-table/data-table-types.js +1 -0
  109. package/dist/data-table/data-table-view-options.svelte +88 -0
  110. package/dist/data-table/data-table-view-options.svelte.d.ts +27 -0
  111. package/dist/data-table/data-table.svelte +303 -0
  112. package/dist/data-table/data-table.svelte.d.ts +25 -0
  113. package/dist/data-table/flex-render.svelte +40 -0
  114. package/dist/data-table/flex-render.svelte.d.ts +33 -0
  115. package/dist/data-table/index.d.ts +13 -0
  116. package/dist/data-table/index.js +13 -0
  117. package/dist/data-table/render-helpers.d.ts +90 -0
  118. package/dist/data-table/render-helpers.js +99 -0
  119. package/dist/data-table/table-setup.d.ts +36 -0
  120. package/dist/data-table/table-setup.js +130 -0
  121. package/dist/data-table/table-styles.d.ts +17 -0
  122. package/dist/data-table/table-styles.js +48 -0
  123. package/dist/helpers.d.ts +1 -0
  124. package/dist/helpers.js +3 -0
  125. package/dist/index.d.ts +15 -7
  126. package/dist/index.js +31 -14
  127. package/dist/range-calendar/range-calendar-cell.svelte +1 -1
  128. package/dist/range-calendar/range-calendar-day.svelte +11 -12
  129. package/dist/range-calendar/range-calendar-head-cell.svelte +1 -1
  130. package/dist/range-calendar/range-calendar-header.svelte +1 -1
  131. package/dist/range-calendar/range-calendar-month-select.svelte +1 -1
  132. package/dist/range-calendar/range-calendar-next-button.svelte +3 -3
  133. package/dist/range-calendar/range-calendar-prev-button.svelte +3 -3
  134. package/dist/range-calendar/range-calendar.svelte +1 -1
  135. package/dist/sonner/index.d.ts +1 -0
  136. package/dist/sonner/index.js +1 -0
  137. package/dist/sonner/sonner.svelte +44 -0
  138. package/dist/sonner/sonner.svelte.d.ts +4 -0
  139. package/dist/svg/CheckBadge.svelte +18 -0
  140. package/dist/svg/CheckBadge.svelte.d.ts +26 -0
  141. package/dist/svg/IconDelivery.svelte +86 -0
  142. package/dist/svg/IconDelivery.svelte.d.ts +20 -0
  143. package/dist/svg/IconEmpty.svelte +113 -121
  144. package/dist/svg/IconOrder.svelte +81 -0
  145. package/dist/svg/IconOrder.svelte.d.ts +20 -0
  146. package/dist/svg/IconPayment.svelte +86 -0
  147. package/dist/svg/IconPayment.svelte.d.ts +20 -0
  148. package/dist/table/table-body.svelte +5 -1
  149. package/dist/table/table-cell.svelte +4 -2
  150. package/dist/table/table-footer.svelte +1 -1
  151. package/dist/table/table-head.svelte +4 -2
  152. package/dist/table/table-header.svelte +1 -1
  153. package/dist/table/table-row.svelte +4 -2
  154. package/dist/table/table.svelte +2 -2
  155. package/dist/tabs/tabs-list.svelte +8 -2
  156. package/dist/tabs/tabs-list.svelte.d.ts +4 -1
  157. package/dist/tabs/tabs-trigger.svelte +5 -3
  158. package/dist/tabs/tabs-trigger.svelte.d.ts +4 -1
  159. package/dist/tailwind.theme.css +998 -0
  160. package/dist/tooltip/tooltip-content.svelte +2 -2
  161. package/dist/types.d.ts +71 -50
  162. package/package.json +21 -11
  163. package/dist/CounterWorkflow.svelte +0 -19
  164. package/dist/CounterWorkflow.svelte.d.ts +0 -4
  165. package/dist/DrawerContextWorkspace.svelte +0 -126
  166. package/dist/DrawerContextWorkspace.svelte.d.ts +0 -4
  167. package/dist/EmptyStateIcon.svelte +0 -52
  168. package/dist/EmptyStateIcon.svelte.d.ts +0 -4
  169. package/dist/EmptyStateIllustration.svelte +0 -66
  170. package/dist/EmptyStateIllustration.svelte.d.ts +0 -4
  171. package/dist/FormLayoutModal.svelte +0 -14
  172. package/dist/FormLayoutModal.svelte.d.ts +0 -4
  173. package/dist/ProfileSelector.svelte +0 -41
  174. package/dist/ProfileSelector.svelte.d.ts +0 -4
  175. package/dist/SectionLayout.svelte +0 -13
  176. package/dist/SectionLayout.svelte.d.ts +0 -4
  177. package/dist/tw.theme.d.ts +0 -142
  178. package/dist/tw.theme.js +0 -158
@@ -11,7 +11,7 @@
11
11
  <RangeCalendarPrimitive.HeadCell
12
12
  bind:ref
13
13
  class={cn(
14
- 'text-[#989AA4] w-(--cell-size) h-(--cell-size) text-sm font-normal border-b border-neutral-100 flex items-center justify-center',
14
+ 'text-foreground-default-tertiary w-(--cell-size) h-(--cell-size) text-sm font-normal border-b border-border flex items-center justify-center',
15
15
  className
16
16
  )}
17
17
  {...restProps}
@@ -11,7 +11,7 @@
11
11
  <RangeCalendarPrimitive.Header
12
12
  bind:ref
13
13
  class={cn(
14
- 'h-11 flex w-full items-center justify-center gap-1.5 text-base font-medium pt-2 pb-3',
14
+ 'h-11 flex w-full items-center justify-center gap-1.5 text-base font-medium pt-2 pb-3 text-foreground',
15
15
  className
16
16
  )}
17
17
  {...restProps}
@@ -33,7 +33,7 @@
33
33
  {/each}
34
34
  </select>
35
35
  <span
36
- class="[&>svg]:text-muted-foreground flex h-8 select-none items-center gap-1 rounded-md pl-2 pr-1 text-sm font-medium [&>svg]:size-3.5"
36
+ class="[&>svg]:text-foreground flex h-8 select-none items-center gap-1 rounded-md pl-2 pr-1 text-sm font-medium [&>svg]:size-3.5"
37
37
  aria-hidden="true"
38
38
  >
39
39
  {monthItems.find((item) => item.value === value)?.label || selectedMonthItem.label}
@@ -16,13 +16,13 @@
16
16
  </script>
17
17
 
18
18
  {#snippet Fallback()}
19
- <Icon src={ChevronRight} class="size-4" />
19
+ <Icon src={ChevronRight} class="size-4 shrink-0" />
20
20
  {/snippet}
21
21
  <RangeCalendarPrimitive.NextButton
22
22
  bind:ref
23
23
  class={cn(
24
- buttonVariants({ variant, size: 'icon-sm' }),
25
- 'select-none disabled:opacity-50 rtl:rotate-180',
24
+ buttonVariants({ variant, size: 'sm' }),
25
+ 'size-6 group select-none disabled:opacity-50 rtl:rotate-180',
26
26
  className
27
27
  )}
28
28
  children={children || Fallback}
@@ -16,13 +16,13 @@
16
16
  </script>
17
17
 
18
18
  {#snippet Fallback()}
19
- <Icon src={ChevronLeft} class="size-4" />
19
+ <Icon src={ChevronLeft} class="size-4 shrink-0" />
20
20
  {/snippet}
21
21
  <RangeCalendarPrimitive.PrevButton
22
22
  bind:ref
23
23
  class={cn(
24
- buttonVariants({ variant, size: 'icon-sm' }),
25
- 'select-none disabled:opacity-50 rtl:rotate-180',
24
+ buttonVariants({ variant, size: 'sm' }),
25
+ 'size-6 group select-none disabled:opacity-50 rtl:rotate-180',
26
26
  className
27
27
  )}
28
28
  children={children || Fallback}
@@ -44,7 +44,7 @@
44
44
  {weekdayFormat}
45
45
  {disableDaysOutsideMonth}
46
46
  class={cn(
47
- 'bg-white group/calendar px-3 pb-3 pt-2 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent',
47
+ 'bg-background group/calendar px-3 pb-2 pt-1 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent',
48
48
  className
49
49
  )}
50
50
  {locale}
@@ -0,0 +1 @@
1
+ export { default as Toaster } from "./sonner.svelte";
@@ -0,0 +1 @@
1
+ export { default as Toaster } from "./sonner.svelte";
@@ -0,0 +1,44 @@
1
+ <script lang="ts">
2
+ import { Toaster as Sonner, type ToasterProps as SonnerProps } from 'svelte-sonner'
3
+ import { mode } from 'mode-watcher'
4
+ import { Icon } from '@steeze-ui/svelte-icon'
5
+ import { Success, Failure, Info } from '@invopop/ui-icons'
6
+
7
+ let { ...restProps }: SonnerProps = $props()
8
+ </script>
9
+
10
+ <Sonner
11
+ theme={mode.current}
12
+ class="toaster group"
13
+ toastOptions={{
14
+ unstyled: true,
15
+ classes: {
16
+ toast:
17
+ 'group toast bg-background-default-negative border-0 rounded-lg text-foreground-inverse flex gap-2 items-start pl-3 pr-2 py-2 w-[336px] [&>[data-content]]:flex-1',
18
+ title: 'font-medium text-base text-foreground-inverse',
19
+ description: 'font-normal text-base text-foreground-inverse-secondary',
20
+ actionButton:
21
+ 'bg-background-selected-inverse rounded px-2 py-1 text-sm font-medium text-foreground-inverse hover:bg-background-selected-inverse-hover transition-colors',
22
+ closeButton: 'hidden'
23
+ }
24
+ }}
25
+ {...restProps}
26
+ >
27
+ {#snippet successIcon()}
28
+ <Icon src={Success} class="size-4 mt-0.5" />
29
+ {/snippet}
30
+
31
+ {#snippet errorIcon()}
32
+ <Icon src={Failure} class="size-4 mt-0.5" />
33
+ {/snippet}
34
+
35
+ {#snippet infoIcon()}
36
+ <Icon src={Info} class="size-4 mt-0.5 text-icon-inverse" />
37
+ {/snippet}
38
+ </Sonner>
39
+
40
+ <style>
41
+ :global(.toaster) {
42
+ --width: 336px;
43
+ }
44
+ </style>
@@ -0,0 +1,4 @@
1
+ import { Toaster as Sonner, type ToasterProps as SonnerProps } from 'svelte-sonner';
2
+ declare const Sonner: import("svelte").Component<SonnerProps, {}, "">;
3
+ type Sonner = ReturnType<typeof Sonner>;
4
+ export default Sonner;
@@ -0,0 +1,18 @@
1
+ <svg
2
+ width="26"
3
+ height="26"
4
+ viewBox="0 0 26 26"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ class="absolute top-[-16px] right-[-16px]"
8
+ >
9
+ <path
10
+ d="M13 1C6.3835 1 1 6.3835 1 13C1 19.6165 6.3835 25 13 25C19.6165 25 25 19.6165 25 13C25 6.3835 19.6165 1 13 1Z"
11
+ fill="#169958"
12
+ />
13
+ <circle cx="13" cy="13" r="10" stroke="white" stroke-opacity="0.4" stroke-width="0.6" />
14
+ <path
15
+ d="M18.1078 9.82205C15.7021 11.6837 13.6627 14.2538 12.0477 17.4584C11.8808 17.7912 11.5495 17.9999 11.1884 17.9999C10.83 18.004 10.4922 17.7885 10.3253 17.4517C9.58119 15.9471 8.7491 14.7239 7.78243 13.7123C7.40457 13.3176 7.40586 12.6764 7.78632 12.2831C8.16418 11.8898 8.78016 11.8898 9.15932 12.2871C9.90083 13.063 10.5699 13.9413 11.182 14.9435C12.7853 12.1888 14.7199 9.92443 16.9509 8.19887C17.3805 7.8675 17.9888 7.9591 18.3084 8.40766C18.628 8.85488 18.5387 9.48934 18.1078 9.82205Z"
16
+ fill="white"
17
+ />
18
+ </svg>
@@ -0,0 +1,26 @@
1
+ export default CheckBadge;
2
+ type CheckBadge = SvelteComponent<{
3
+ [x: string]: never;
4
+ }, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> & {
7
+ $$bindings?: string | undefined;
8
+ };
9
+ declare const CheckBadge: $$__sveltets_2_IsomorphicComponent<{
10
+ [x: string]: never;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}, {}, string>;
14
+ 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> {
15
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
+ $$bindings?: Bindings;
17
+ } & Exports;
18
+ (internal: unknown, props: {
19
+ $$events?: Events;
20
+ $$slots?: Slots;
21
+ }): Exports & {
22
+ $set?: any;
23
+ $on?: any;
24
+ };
25
+ z_$$bindings?: Bindings;
26
+ }
@@ -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="M34.973 26.556a2.14 2.14 0 0 1 2.138 2.138v.195h1.131c.465 0 .894.235 1.145.626l1.397 2.171c.142.22.217.476.217.737v1.716a2.14 2.14 0 0 1-2.139 2.138h-.43a1.948 1.948 0 0 1-1.905 1.556c-.938 0-1.723-.67-1.904-1.556h-2.218a1.948 1.948 0 0 1-1.905 1.556 1.947 1.947 0 0 1-1.918-1.63A2.14 2.14 0 0 1 27 34.138v-5.445a2.14 2.14 0 0 1 2.139-2.138h5.834ZM30.5 35.11a.778.778 0 0 0 0 1.556.778.778 0 0 0 0-1.556Zm6.027 0a.779.779 0 0 0 0 1.556.78.78 0 0 0 .779-.778.78.78 0 0 0-.779-.778Zm.584-3.5h2.237l-.943-1.466a.193.193 0 0 0-.163-.09h-1.13v1.556Z"
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_17687" />
83
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_9631_17687" 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 IconDelivery: $$__sveltets_2_IsomorphicComponent<{
15
+ classes?: string;
16
+ }, {
17
+ [evt: string]: CustomEvent<any>;
18
+ }, {}, {}, string>;
19
+ type IconDelivery = InstanceType<typeof IconDelivery>;
20
+ export default IconDelivery;
@@ -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>