@jobber/design 0.93.1 → 0.94.0
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.
- package/dist/index.cjs +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +10 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -18,6 +18,9 @@ const webIconStyles = {
|
|
|
18
18
|
longArrowLeft: {
|
|
19
19
|
transform: "rotate(0deg)",
|
|
20
20
|
},
|
|
21
|
+
longArrowUpRight: {
|
|
22
|
+
transform: "rotate(135deg)",
|
|
23
|
+
},
|
|
21
24
|
thumbsDown: {
|
|
22
25
|
transform: "scaleY(-1)",
|
|
23
26
|
},
|
|
@@ -137,6 +140,12 @@ const mobileIconStyles = Object.assign(Object.assign({}, webIconStyles), { longA
|
|
|
137
140
|
rotate: "0deg",
|
|
138
141
|
},
|
|
139
142
|
],
|
|
143
|
+
}, longArrowUpRight: {
|
|
144
|
+
transform: [
|
|
145
|
+
{
|
|
146
|
+
rotate: "135deg",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
140
149
|
}, thumbsDown: {
|
|
141
150
|
transform: [
|
|
142
151
|
{
|
|
@@ -2664,6 +2673,7 @@ const secondaryIconMap = {
|
|
|
2664
2673
|
longArrowDown: "backArrow",
|
|
2665
2674
|
longArrowRight: "backArrow",
|
|
2666
2675
|
longArrowLeft: "backArrow",
|
|
2676
|
+
longArrowUpRight: "backArrow",
|
|
2667
2677
|
remove: "cross",
|
|
2668
2678
|
thumbsDown: "thumbsUp",
|
|
2669
2679
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare function getIcon({ name, color, platform, size, format, }: GetIco
|
|
|
44
44
|
readonly paths: string[];
|
|
45
45
|
readonly viewBox: string;
|
|
46
46
|
};
|
|
47
|
-
export type ExtraIconNames = "longArrowUp" | "longArrowDown" | "longArrowRight" | "longArrowLeft" | "remove" | "thumbsDown" | "truck";
|
|
47
|
+
export type ExtraIconNames = "longArrowUp" | "longArrowDown" | "longArrowRight" | "longArrowLeft" | "longArrowUpRight" | "remove" | "thumbsDown" | "truck";
|
|
48
48
|
export type IconNames = keyof typeof iconMap.icons | ExtraIconNames;
|
|
49
49
|
export type IconSizes = keyof typeof iconSizes.tokens;
|
|
50
50
|
export type IconColorNames = keyof typeof iconColors.tokens;
|
package/dist/index.mjs
CHANGED
|
@@ -16,6 +16,9 @@ const webIconStyles = {
|
|
|
16
16
|
longArrowLeft: {
|
|
17
17
|
transform: "rotate(0deg)",
|
|
18
18
|
},
|
|
19
|
+
longArrowUpRight: {
|
|
20
|
+
transform: "rotate(135deg)",
|
|
21
|
+
},
|
|
19
22
|
thumbsDown: {
|
|
20
23
|
transform: "scaleY(-1)",
|
|
21
24
|
},
|
|
@@ -135,6 +138,12 @@ const mobileIconStyles = Object.assign(Object.assign({}, webIconStyles), { longA
|
|
|
135
138
|
rotate: "0deg",
|
|
136
139
|
},
|
|
137
140
|
],
|
|
141
|
+
}, longArrowUpRight: {
|
|
142
|
+
transform: [
|
|
143
|
+
{
|
|
144
|
+
rotate: "135deg",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
138
147
|
}, thumbsDown: {
|
|
139
148
|
transform: [
|
|
140
149
|
{
|
|
@@ -2662,6 +2671,7 @@ const secondaryIconMap = {
|
|
|
2662
2671
|
longArrowDown: "backArrow",
|
|
2663
2672
|
longArrowRight: "backArrow",
|
|
2664
2673
|
longArrowLeft: "backArrow",
|
|
2674
|
+
longArrowUpRight: "backArrow",
|
|
2665
2675
|
remove: "cross",
|
|
2666
2676
|
thumbsDown: "thumbsUp",
|
|
2667
2677
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "Design foundation for the Jobber Atlantis Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"jsdom": "^24.1.0",
|
|
70
70
|
"tsx": "^4.16.2"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "6ca970bae5c12d45e24e4bd7b586f7022675edab"
|
|
73
73
|
}
|