@invopop/popui 0.0.110 → 0.0.112

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.
@@ -19,6 +19,7 @@ function getComponent(icon2) {
19
19
  const icons = {
20
20
  invoices: IconInvoice,
21
21
  contacts: IconContact,
22
+ parties: IconContact,
22
23
  products: IconProduct,
23
24
  deliveries: IconDelivery,
24
25
  orders: IconOrder,
@@ -16,6 +16,12 @@ $:
16
16
  "border border-blue-200": status === "blue" && dot,
17
17
  "bg-purple-100 text-purple-500": status === "purple",
18
18
  "border border-purple-200": status === "purple" && dot,
19
+ "bg-[rgba(128,128,0,0.1)] text-[olive]": status === "olive",
20
+ "border border-[olive]": status === "olive" && dot,
21
+ "bg-[rgba(64,224,208,0.1)] text-[turquoise]": status === "turquoise",
22
+ "border border-[turquoise]": status === "turquoise" && dot,
23
+ "bg-[rgba(255,99,71,0.1)] text-[tomato]": status === "tomato",
24
+ "border border-[tomato]": status === "tomato" && dot,
19
25
  "border border-dashed border-neutral-200 text-neutral-400": status === "empty",
20
26
  "bg-neutral-100 text-neutral-500": status === "grey",
21
27
  "border border-neutral-200": status === "grey" && dot,
@@ -31,6 +37,9 @@ $:
31
37
  "bg-warning-500": status === "orange",
32
38
  "bg-blue-500": status === "blue",
33
39
  "bg-purple-500": status === "purple",
40
+ "bg-[olive]": status === "olive",
41
+ "bg-[turquoise]": status === "turquoise",
42
+ "bg-[tomato]": status === "tomato",
34
43
  "bg-neutral-300": status === "empty",
35
44
  "bg-neutral-500": status === "grey"
36
45
  });
@@ -8,13 +8,13 @@
8
8
  </foreignObject>
9
9
  <g data-figma-bg-blur-radius="20">
10
10
  <rect width="57" height="79" x="20" y="18" fill="#fff" rx="6" />
11
- <rect width="57" height="79" x="20" y="18" fill="#169958" fill-opacity=".02" rx="6" />
11
+ <rect width="57" height="79" x="20" y="18" fill="currentColor" fill-opacity=".02" rx="6" />
12
12
  <rect
13
13
  width="56.2"
14
14
  height="78.2"
15
15
  x="20.4"
16
16
  y="18.4"
17
- stroke="#169958"
17
+ stroke="currentColor"
18
18
  stroke-opacity=".6"
19
19
  stroke-width=".8"
20
20
  rx="5.6"
@@ -25,30 +25,30 @@
25
25
  height="72.4"
26
26
  x="23.3"
27
27
  y="21.3"
28
- stroke="#018551"
28
+ stroke="currentColor"
29
29
  stroke-opacity=".2"
30
30
  stroke-width=".6"
31
31
  rx="3.7"
32
32
  />
33
- <rect width="19" height="2" x="28" y="45" fill="#018551" rx="1" />
34
- <rect width="15" height="2" x="28" y="68" fill="#018551" rx="1" />
35
- <rect width="10" height="2" x="59" y="50" fill="#018551" rx="1" />
36
- <rect width="12" height="2" x="57" y="73" fill="#018551" rx="1" />
37
- <rect width="14" height="2" x="55" y="54" fill="#018551" rx="1" />
38
- <rect width="14" height="2" x="55" y="77" fill="#018551" rx="1" />
39
- <rect width="10" height="2" x="59" y="58" fill="#018551" rx="1" />
40
- <rect width="12" height="2" x="57" y="62" fill="#018551" rx="1" />
41
- <rect width="8" height="2" x="61" y="81" fill="#018551" rx="1" />
42
- <rect width="16" height="2" x="28" y="50" fill="#018551" fill-opacity=".2" rx="1" />
43
- <rect width="12" height="2" x="28" y="73" fill="#018551" fill-opacity=".2" rx="1" />
44
- <rect width="11" height="2" x="28" y="54" fill="#018551" fill-opacity=".2" rx="1" />
45
- <rect width="16" height="2" x="28" y="77" fill="#018551" fill-opacity=".2" rx="1" />
46
- <rect width="14" height="2" x="28" y="58" fill="#018551" fill-opacity=".2" rx="1" />
47
- <rect width="18" height="2" x="28" y="81" fill="#018551" fill-opacity=".2" rx="1" />
48
- <rect width="16" height="2" x="28" y="62" fill="#018551" fill-opacity=".2" rx="1" />
33
+ <rect width="19" height="2" x="28" y="45" fill="currentColor" rx="1" />
34
+ <rect width="15" height="2" x="28" y="68" fill="currentColor" rx="1" />
35
+ <rect width="10" height="2" x="59" y="50" fill="currentColor" rx="1" />
36
+ <rect width="12" height="2" x="57" y="73" fill="currentColor" rx="1" />
37
+ <rect width="14" height="2" x="55" y="54" fill="currentColor" rx="1" />
38
+ <rect width="14" height="2" x="55" y="77" fill="currentColor" rx="1" />
39
+ <rect width="10" height="2" x="59" y="58" fill="currentColor" rx="1" />
40
+ <rect width="12" height="2" x="57" y="62" fill="currentColor" rx="1" />
41
+ <rect width="8" height="2" x="61" y="81" fill="currentColor" rx="1" />
42
+ <rect width="16" height="2" x="28" y="50" fill="currentColor" fill-opacity=".2" rx="1" />
43
+ <rect width="12" height="2" x="28" y="73" fill="currentColor" fill-opacity=".2" rx="1" />
44
+ <rect width="11" height="2" x="28" y="54" fill="currentColor" fill-opacity=".2" rx="1" />
45
+ <rect width="16" height="2" x="28" y="77" fill="currentColor" fill-opacity=".2" rx="1" />
46
+ <rect width="14" height="2" x="28" y="58" fill="currentColor" fill-opacity=".2" rx="1" />
47
+ <rect width="18" height="2" x="28" y="81" fill="currentColor" fill-opacity=".2" rx="1" />
48
+ <rect width="16" height="2" x="28" y="62" fill="currentColor" fill-opacity=".2" rx="1" />
49
49
  <g clip-path="url(#c)">
50
50
  <path
51
- fill="#018551"
51
+ fill="currentColor"
52
52
  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"
53
53
  />
54
54
  </g>
@@ -8,13 +8,13 @@
8
8
  </foreignObject>
9
9
  <g data-figma-bg-blur-radius="20">
10
10
  <rect width="57" height="79" x="20" y="18" fill="#fff" rx="6" />
11
- <rect width="57" height="79" x="20" y="18" fill="#169958" fill-opacity=".02" rx="6" />
11
+ <rect width="57" height="79" x="20" y="18" fill="currentColor" fill-opacity=".02" rx="6" />
12
12
  <rect
13
13
  width="56.2"
14
14
  height="78.2"
15
15
  x="20.4"
16
16
  y="18.4"
17
- stroke="#169958"
17
+ stroke="currentColor"
18
18
  stroke-opacity=".6"
19
19
  stroke-width=".8"
20
20
  rx="5.6"
@@ -25,29 +25,29 @@
25
25
  height="72.4"
26
26
  x="23.3"
27
27
  y="21.3"
28
- stroke="#018551"
28
+ stroke="currentColor"
29
29
  stroke-opacity=".2"
30
30
  stroke-width=".6"
31
31
  rx="3.7"
32
32
  />
33
- <rect width="19" height="2" x="28" y="45" fill="#018551" rx="1" />
34
- <rect width="15" height="2" x="28" y="68" fill="#018551" rx="1" />
35
- <rect width="10" height="2" x="59" y="50" fill="#018551" rx="1" />
36
- <rect width="12" height="2" x="57" y="73" fill="#018551" rx="1" />
37
- <rect width="14" height="2" x="55" y="54" fill="#018551" rx="1" />
38
- <rect width="14" height="2" x="55" y="77" fill="#018551" rx="1" />
39
- <rect width="10" height="2" x="59" y="58" fill="#018551" rx="1" />
40
- <rect width="12" height="2" x="57" y="62" fill="#018551" rx="1" />
41
- <rect width="8" height="2" x="61" y="81" fill="#018551" rx="1" />
42
- <rect width="16" height="2" x="28" y="50" fill="#018551" fill-opacity=".2" rx="1" />
43
- <rect width="12" height="2" x="28" y="73" fill="#018551" fill-opacity=".2" rx="1" />
44
- <rect width="11" height="2" x="28" y="54" fill="#018551" fill-opacity=".2" rx="1" />
45
- <rect width="16" height="2" x="28" y="77" fill="#018551" fill-opacity=".2" rx="1" />
46
- <rect width="14" height="2" x="28" y="58" fill="#018551" fill-opacity=".2" rx="1" />
47
- <rect width="18" height="2" x="28" y="81" fill="#018551" fill-opacity=".2" rx="1" />
48
- <rect width="16" height="2" x="28" y="62" fill="#018551" fill-opacity=".2" rx="1" />
33
+ <rect width="19" height="2" x="28" y="45" fill="currentColor" rx="1" />
34
+ <rect width="15" height="2" x="28" y="68" fill="currentColor" rx="1" />
35
+ <rect width="10" height="2" x="59" y="50" fill="currentColor" rx="1" />
36
+ <rect width="12" height="2" x="57" y="73" fill="currentColor" rx="1" />
37
+ <rect width="14" height="2" x="55" y="54" fill="currentColor" rx="1" />
38
+ <rect width="14" height="2" x="55" y="77" fill="currentColor" rx="1" />
39
+ <rect width="10" height="2" x="59" y="58" fill="currentColor" rx="1" />
40
+ <rect width="12" height="2" x="57" y="62" fill="currentColor" rx="1" />
41
+ <rect width="8" height="2" x="61" y="81" fill="currentColor" rx="1" />
42
+ <rect width="16" height="2" x="28" y="50" fill="currentColor" fill-opacity=".2" rx="1" />
43
+ <rect width="12" height="2" x="28" y="73" fill="currentColor" fill-opacity=".2" rx="1" />
44
+ <rect width="11" height="2" x="28" y="54" fill="currentColor" fill-opacity=".2" rx="1" />
45
+ <rect width="16" height="2" x="28" y="77" fill="currentColor" fill-opacity=".2" rx="1" />
46
+ <rect width="14" height="2" x="28" y="58" fill="currentColor" fill-opacity=".2" rx="1" />
47
+ <rect width="18" height="2" x="28" y="81" fill="currentColor" fill-opacity=".2" rx="1" />
48
+ <rect width="16" height="2" x="28" y="62" fill="currentColor" fill-opacity=".2" rx="1" />
49
49
  <path
50
- fill="#018551"
50
+ fill="currentColor"
51
51
  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"
52
52
  />
53
53
  </g>
@@ -8,13 +8,13 @@
8
8
  </foreignObject>
9
9
  <g data-figma-bg-blur-radius="20">
10
10
  <rect width="57" height="79" x="20" y="18" fill="#fff" rx="6" />
11
- <rect width="57" height="79" x="20" y="18" fill="#169958" fill-opacity=".02" rx="6" />
11
+ <rect width="57" height="79" x="20" y="18" fill="currentColor" fill-opacity=".02" rx="6" />
12
12
  <rect
13
13
  width="56.2"
14
14
  height="78.2"
15
15
  x="20.4"
16
16
  y="18.4"
17
- stroke="#169958"
17
+ stroke="currentColor"
18
18
  stroke-opacity=".6"
19
19
  stroke-width=".8"
20
20
  rx="5.6"
@@ -25,30 +25,30 @@
25
25
  height="72.4"
26
26
  x="23.3"
27
27
  y="21.3"
28
- stroke="#018551"
28
+ stroke="currentColor"
29
29
  stroke-opacity=".2"
30
30
  stroke-width=".6"
31
31
  rx="3.7"
32
32
  />
33
- <rect width="19" height="2" x="28" y="45" fill="#018551" rx="1" />
34
- <rect width="15" height="2" x="28" y="68" fill="#018551" rx="1" />
35
- <rect width="10" height="2" x="59" y="50" fill="#018551" rx="1" />
36
- <rect width="12" height="2" x="57" y="73" fill="#018551" rx="1" />
37
- <rect width="14" height="2" x="55" y="54" fill="#018551" rx="1" />
38
- <rect width="14" height="2" x="55" y="77" fill="#018551" rx="1" />
39
- <rect width="10" height="2" x="59" y="58" fill="#018551" rx="1" />
40
- <rect width="12" height="2" x="57" y="62" fill="#018551" rx="1" />
41
- <rect width="8" height="2" x="61" y="81" fill="#018551" rx="1" />
42
- <rect width="16" height="2" x="28" y="50" fill="#018551" fill-opacity=".2" rx="1" />
43
- <rect width="12" height="2" x="28" y="73" fill="#018551" fill-opacity=".2" rx="1" />
44
- <rect width="11" height="2" x="28" y="54" fill="#018551" fill-opacity=".2" rx="1" />
45
- <rect width="16" height="2" x="28" y="77" fill="#018551" fill-opacity=".2" rx="1" />
46
- <rect width="14" height="2" x="28" y="58" fill="#018551" fill-opacity=".2" rx="1" />
47
- <rect width="18" height="2" x="28" y="81" fill="#018551" fill-opacity=".2" rx="1" />
48
- <rect width="16" height="2" x="28" y="62" fill="#018551" fill-opacity=".2" rx="1" />
33
+ <rect width="19" height="2" x="28" y="45" fill="currentColor" rx="1" />
34
+ <rect width="15" height="2" x="28" y="68" fill="currentColor" rx="1" />
35
+ <rect width="10" height="2" x="59" y="50" fill="currentColor" rx="1" />
36
+ <rect width="12" height="2" x="57" y="73" fill="currentColor" rx="1" />
37
+ <rect width="14" height="2" x="55" y="54" fill="currentColor" rx="1" />
38
+ <rect width="14" height="2" x="55" y="77" fill="currentColor" rx="1" />
39
+ <rect width="10" height="2" x="59" y="58" fill="currentColor" rx="1" />
40
+ <rect width="12" height="2" x="57" y="62" fill="currentColor" rx="1" />
41
+ <rect width="8" height="2" x="61" y="81" fill="currentColor" rx="1" />
42
+ <rect width="16" height="2" x="28" y="50" fill="currentColor" fill-opacity=".2" rx="1" />
43
+ <rect width="12" height="2" x="28" y="73" fill="currentColor" fill-opacity=".2" rx="1" />
44
+ <rect width="11" height="2" x="28" y="54" fill="currentColor" fill-opacity=".2" rx="1" />
45
+ <rect width="16" height="2" x="28" y="77" fill="currentColor" fill-opacity=".2" rx="1" />
46
+ <rect width="14" height="2" x="28" y="58" fill="currentColor" fill-opacity=".2" rx="1" />
47
+ <rect width="18" height="2" x="28" y="81" fill="currentColor" fill-opacity=".2" rx="1" />
48
+ <rect width="16" height="2" x="28" y="62" fill="currentColor" fill-opacity=".2" rx="1" />
49
49
  <g clip-path="url(#c)">
50
50
  <path
51
- fill="#018551"
51
+ fill="currentColor"
52
52
  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"
53
53
  />
54
54
  </g>
package/dist/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { IconSource } from '@steeze-ui/svelte-icon';
2
2
  export type IconTheme = 'default' | 'solid' | 'mini';
3
3
  export type IconPosition = 'right' | 'left';
4
4
  export type ButtonVariant = 'default' | 'primary' | 'secondary' | 'warning' | 'danger' | 'dark' | 'outline';
5
- export type StatusType = 'grey' | 'green' | 'yellow' | 'red' | 'orange' | 'blue' | 'purple' | 'empty';
5
+ export type StatusType = 'grey' | 'green' | 'yellow' | 'red' | 'orange' | 'blue' | 'purple' | 'olive' | 'turquoise' | 'tomato' | 'empty';
6
6
  export type AnyProp = string | number | object | boolean;
7
7
  export type SidebarIcon = {
8
8
  path: string;
@@ -125,7 +125,7 @@ export type TabItem = {
125
125
  check?: boolean;
126
126
  warning?: boolean;
127
127
  };
128
- export type EmptyStateIcon = 'invoices' | 'contacts' | 'products' | 'deliveries' | 'orders' | 'payments' | 'pdf' | 'file' | 'no-results';
128
+ export type EmptyStateIcon = 'invoices' | 'contacts' | 'parties' | 'products' | 'deliveries' | 'orders' | 'payments' | 'pdf' | 'file' | 'no-results';
129
129
  export type DataListItem = {
130
130
  label: string;
131
131
  value: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.110",
4
+ "version": "0.0.112",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",