@jobber/components 9.15.3 → 9.15.4
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/FormFieldWrapper-cjs.js +1 -1
- package/dist/FormFieldWrapper-es.js +1 -1
- package/dist/InputNumber-cjs.js +1 -1
- package/dist/InputNumber-es.js +1 -1
- package/dist/SelectPrimitive-cjs.js +1 -1
- package/dist/SelectPrimitive-es.js +1 -1
- package/dist/docs/List/List.md +1 -1
- package/dist/showToast-cjs.js +3 -3
- package/dist/showToast-es.js +3 -3
- package/dist/styles.css +11 -17
- package/package.json +3 -3
|
@@ -33,7 +33,7 @@ function AffixIcon({ icon, onClick, ariaLabel, variation = "prefix", size, disab
|
|
|
33
33
|
const iconSize = size === "small" ? "small" : "base";
|
|
34
34
|
if (!icon)
|
|
35
35
|
return null;
|
|
36
|
-
return (React.createElement("div", { className: affixIconClass }, onClick ? (React.createElement(Button.Button, { ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize, disabled: disabled })) : (React.createElement(Icon.Icon, { name: icon, size: iconSize, color: "
|
|
36
|
+
return (React.createElement("div", { className: affixIconClass }, onClick ? (React.createElement(Button.Button, { ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize, disabled: disabled })) : (React.createElement(Icon.Icon, { name: icon, size: iconSize, color: "iconSecondary" }))));
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
function FormFieldDescription({ id, description, visible = true, }) {
|
|
@@ -31,7 +31,7 @@ function AffixIcon({ icon, onClick, ariaLabel, variation = "prefix", size, disab
|
|
|
31
31
|
const iconSize = size === "small" ? "small" : "base";
|
|
32
32
|
if (!icon)
|
|
33
33
|
return null;
|
|
34
|
-
return (React__default.createElement("div", { className: affixIconClass }, onClick ? (React__default.createElement(Button, { ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize, disabled: disabled })) : (React__default.createElement(Icon, { name: icon, size: iconSize, color: "
|
|
34
|
+
return (React__default.createElement("div", { className: affixIconClass }, onClick ? (React__default.createElement(Button, { ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize, disabled: disabled })) : (React__default.createElement(Icon, { name: icon, size: iconSize, color: "iconSecondary" }))));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
function FormFieldDescription({ id, description, visible = true, }) {
|
package/dist/InputNumber-cjs.js
CHANGED
|
@@ -371,7 +371,7 @@ function AffixIconContent({ icon, size, onClick, ariaLabel, }) {
|
|
|
371
371
|
if (onClick) {
|
|
372
372
|
return (React.createElement(Button.Button, { ariaLabel: ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : t("Action"), icon: icon, onClick: onClick, size: iconSize, type: "tertiary", variation: "subtle" }));
|
|
373
373
|
}
|
|
374
|
-
return React.createElement(Icon.Icon, { name: icon, size: iconSize, color: "
|
|
374
|
+
return React.createElement(Icon.Icon, { name: icon, size: iconSize, color: "iconSecondary" });
|
|
375
375
|
}
|
|
376
376
|
function AffixLabelSlot({ variation, label }) {
|
|
377
377
|
return (React.createElement("div", { className: classnames(styles.affixLabel, variation === "prefix" && styles.prefix, variation === "suffix" && styles.suffix) }, label));
|
package/dist/InputNumber-es.js
CHANGED
|
@@ -369,7 +369,7 @@ function AffixIconContent({ icon, size, onClick, ariaLabel, }) {
|
|
|
369
369
|
if (onClick) {
|
|
370
370
|
return (React__default.createElement(Button, { ariaLabel: ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : t("Action"), icon: icon, onClick: onClick, size: iconSize, type: "tertiary", variation: "subtle" }));
|
|
371
371
|
}
|
|
372
|
-
return React__default.createElement(Icon, { name: icon, size: iconSize, color: "
|
|
372
|
+
return React__default.createElement(Icon, { name: icon, size: iconSize, color: "iconSecondary" });
|
|
373
373
|
}
|
|
374
374
|
function AffixLabelSlot({ variation, label }) {
|
|
375
375
|
return (React__default.createElement("div", { className: classnames(styles.affixLabel, variation === "prefix" && styles.prefix, variation === "suffix" && styles.suffix) }, label));
|
|
@@ -19,7 +19,7 @@ const SELECT_OFFSET = 6;
|
|
|
19
19
|
function TriggerChevron() {
|
|
20
20
|
return (React.createElement("span", { "aria-hidden": "true", className: styles.iconWrapper },
|
|
21
21
|
React.createElement("span", { className: styles.iconRotate },
|
|
22
|
-
React.createElement(Icon.Icon, { color: "
|
|
22
|
+
React.createElement(Icon.Icon, { color: "iconSecondary", name: "arrowDown", size: "base" }))));
|
|
23
23
|
}
|
|
24
24
|
function SelectPrimitiveFieldTrigger(_a) {
|
|
25
25
|
var { valueSlot, className } = _a, props = tslib_es6.__rest(_a, ["valueSlot", "className"]);
|
|
@@ -17,7 +17,7 @@ const SELECT_OFFSET = 6;
|
|
|
17
17
|
function TriggerChevron() {
|
|
18
18
|
return (React__default.createElement("span", { "aria-hidden": "true", className: styles.iconWrapper },
|
|
19
19
|
React__default.createElement("span", { className: styles.iconRotate },
|
|
20
|
-
React__default.createElement(Icon, { color: "
|
|
20
|
+
React__default.createElement(Icon, { color: "iconSecondary", name: "arrowDown", size: "base" }))));
|
|
21
21
|
}
|
|
22
22
|
function SelectPrimitiveFieldTrigger(_a) {
|
|
23
23
|
var { valueSlot, className } = _a, props = __rest(_a, ["valueSlot", "className"]);
|
package/dist/docs/List/List.md
CHANGED
package/dist/showToast-cjs.js
CHANGED
|
@@ -62,11 +62,11 @@ function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
|
62
62
|
function getIcon() {
|
|
63
63
|
switch (variation) {
|
|
64
64
|
case "info":
|
|
65
|
-
return { name: "
|
|
65
|
+
return { name: "info", color: "informative" };
|
|
66
66
|
case "error":
|
|
67
|
-
return { name: "alert", color: "
|
|
67
|
+
return { name: "alert", color: "critical" };
|
|
68
68
|
default:
|
|
69
|
-
return { name: "checkmark", color: "
|
|
69
|
+
return { name: "checkmark", color: "success" };
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
package/dist/showToast-es.js
CHANGED
|
@@ -60,11 +60,11 @@ function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
|
60
60
|
function getIcon() {
|
|
61
61
|
switch (variation) {
|
|
62
62
|
case "info":
|
|
63
|
-
return { name: "
|
|
63
|
+
return { name: "info", color: "informative" };
|
|
64
64
|
case "error":
|
|
65
|
-
return { name: "alert", color: "
|
|
65
|
+
return { name: "alert", color: "critical" };
|
|
66
66
|
default:
|
|
67
|
-
return { name: "checkmark", color: "
|
|
67
|
+
return { name: "checkmark", color: "success" };
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
package/dist/styles.css
CHANGED
|
@@ -1535,7 +1535,7 @@
|
|
|
1535
1535
|
--public-field--bottom-left-radius: var(--radius-base);
|
|
1536
1536
|
--public-field--bottom-right-radius: var(--radius-base);
|
|
1537
1537
|
|
|
1538
|
-
--field--placeholder-color: var(--color-
|
|
1538
|
+
--field--placeholder-color: var(--color-text--secondary);
|
|
1539
1539
|
--field--value-color: var(--color-heading);
|
|
1540
1540
|
--field--border-color: var(--color-border--interactive);
|
|
1541
1541
|
|
|
@@ -1848,7 +1848,7 @@
|
|
|
1848
1848
|
padding-left: var(--field--padding-left);
|
|
1849
1849
|
padding-right: var(--field--padding-right);
|
|
1850
1850
|
overflow: hidden;
|
|
1851
|
-
color: hsl(197,
|
|
1851
|
+
color: hsl(197, 21%, 36%);
|
|
1852
1852
|
color: var(--field--placeholder-color);
|
|
1853
1853
|
line-height: var(--field--value-lineHeight);
|
|
1854
1854
|
text-align: var(--field--textAlign);
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
display: block;
|
|
1866
1866
|
margin-bottom: 4px;
|
|
1867
1867
|
margin-bottom: var(--space-smaller);
|
|
1868
|
-
color: hsl(197,
|
|
1868
|
+
color: hsl(197, 21%, 36%);
|
|
1869
1869
|
color: var(--field--placeholder-color);
|
|
1870
1870
|
line-height: 1.25;
|
|
1871
1871
|
line-height: var(--typography--lineHeight-base);
|
|
@@ -2505,7 +2505,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
2505
2505
|
border: solid hsl(197, 21%, 36%);
|
|
2506
2506
|
border: solid var(--color-inactive);
|
|
2507
2507
|
border-top-color: rgba(255, 255, 255, 1);
|
|
2508
|
-
border-top-color: var(--color-white);
|
|
2508
|
+
border-top-color: var(--color-base-white);
|
|
2509
2509
|
border-width: calc(8px * 0.75);
|
|
2510
2510
|
border-width: calc(var(--space-small) * 0.75);
|
|
2511
2511
|
border-radius: 100%;
|
|
@@ -3168,7 +3168,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
3170
3170
|
.-PlHaWx00Hw- {
|
|
3171
|
-
--card--accent-color: var(--color-grey);
|
|
3171
|
+
--card--accent-color: var(--color-base-grey--400);
|
|
3172
3172
|
--card--base-padding: var(--space-base);
|
|
3173
3173
|
--card--border: var(--border-base) solid var(--color-border);
|
|
3174
3174
|
|
|
@@ -13620,9 +13620,8 @@ progress.w8NAw4ZMB6g-[value]::-webkit-progress-value {
|
|
|
13620
13620
|
left: 0;
|
|
13621
13621
|
border-radius: 100%;
|
|
13622
13622
|
border-radius: var(--radius-circle);
|
|
13623
|
-
background-color:
|
|
13624
|
-
background-color: var(--color-
|
|
13625
|
-
opacity: 0.3;
|
|
13623
|
+
background-color: rgba(0, 0, 0, 0.32);
|
|
13624
|
+
background-color: var(--color-overlay);
|
|
13626
13625
|
mix-blend-mode: multiply;
|
|
13627
13626
|
}
|
|
13628
13627
|
|
|
@@ -14364,8 +14363,8 @@ progress.w8NAw4ZMB6g-[value]::-webkit-progress-value {
|
|
|
14364
14363
|
padding-bottom: var(--field--padding-bottom);
|
|
14365
14364
|
padding-left: var(--field--padding-left);
|
|
14366
14365
|
padding-right: var(--field--padding-right);
|
|
14367
|
-
color: hsl(
|
|
14368
|
-
color: var(--color-
|
|
14366
|
+
color: hsl(197, 21%, 36%);
|
|
14367
|
+
color: var(--color-text--secondary);
|
|
14369
14368
|
font-family: inherit;
|
|
14370
14369
|
font-size: inherit;
|
|
14371
14370
|
line-height: var(--field--value-lineHeight);
|
|
@@ -16699,13 +16698,8 @@ ul.LfIIg9bwrhQ- {
|
|
|
16699
16698
|
the reverse color scheme of Toast */
|
|
16700
16699
|
|
|
16701
16700
|
.ibhpdUt9YLo- * path {
|
|
16702
|
-
fill: hsl(
|
|
16703
|
-
fill: var(--color-
|
|
16704
|
-
}
|
|
16705
|
-
|
|
16706
|
-
.ibhpdUt9YLo-:hover * path {
|
|
16707
|
-
fill: hsl(197, 15%, 43%) !important;
|
|
16708
|
-
fill: var(--color-greyBlue) !important;
|
|
16701
|
+
fill: hsl(198, 12%, 57%) !important;
|
|
16702
|
+
fill: var(--color-icon--secondary) !important;
|
|
16709
16703
|
}
|
|
16710
16704
|
|
|
16711
16705
|
@-webkit-keyframes _5Wy5Wra20Vk- {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "9.15.
|
|
3
|
+
"version": "9.15.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"devDependencies": {
|
|
497
497
|
"@apollo/client": "^3.7.10",
|
|
498
498
|
"@csstools/postcss-global-data": "^1.0.3",
|
|
499
|
-
"@jobber/design": "0.118.
|
|
499
|
+
"@jobber/design": "0.118.1",
|
|
500
500
|
"@jobber/hooks": "2.21.1",
|
|
501
501
|
"@rollup/plugin-alias": "^5.1.0",
|
|
502
502
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
@@ -548,5 +548,5 @@
|
|
|
548
548
|
"> 1%",
|
|
549
549
|
"IE 10"
|
|
550
550
|
],
|
|
551
|
-
"gitHead": "
|
|
551
|
+
"gitHead": "1f2ce0a2e21335640daf4d7fa36cc2630e7858c7"
|
|
552
552
|
}
|