@aveonline/ui-react 2.13.1 → 2.15.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusEvent, MouseEvent } from 'react';
|
|
2
2
|
export declare type ISize = 'sm' | 'md' | 'lg';
|
|
3
3
|
export declare type IColor = 'success' | 'warning' | 'disabled' | 'active' | 'hovered' | 'subdued' | 'default' | 'critical' | 'primary' | 'on' | 'pressed';
|
|
4
|
-
export declare type IKind = 'shipping' | 'home' | 'menu' | 'notifications' | 'novelty' | 'help' | 'see-more' | 'info' | 'alert' | 'eye' | 'date' | 'search' | 'delete' | 'more-less' | 'down' | 'up' | 'back' | 'front' | 'major-minor' | 'minor-major' | 'create' | 'success' | 'error' | 'less' | 'joke' | 'shipments' | 'padlock' | 'new' | 'average-unit' | 'average-guide' | 'percentage' | 'download' | 'upload' | 'file' | 'thin-back' | 'thin-front' | 'page-back' | 'page-front' | 'print' | 'more' | 'shipping-ratio' | 'reports' | 'courier' | 'pickup' | 'grin-wink' | 'circle-dollar-to-slot' | 'money' | 'trash' | 'start' | 'edit' | 'copy' | 'menu-line' | 'menu-square' | 'net' | undefined;
|
|
4
|
+
export declare type IKind = 'shipping' | 'home' | 'menu' | 'notifications' | 'novelty' | 'help' | 'see-more' | 'info' | 'alert' | 'eye' | 'date' | 'search' | 'delete' | 'more-less' | 'down' | 'up' | 'back' | 'front' | 'major-minor' | 'minor-major' | 'create' | 'success' | 'error' | 'less' | 'joke' | 'shipments' | 'padlock' | 'new' | 'average-unit' | 'average-guide' | 'percentage' | 'download' | 'upload' | 'file' | 'thin-back' | 'thin-front' | 'page-back' | 'page-front' | 'print' | 'more' | 'shipping-ratio' | 'reports' | 'courier' | 'pickup' | 'grin-wink' | 'circle-dollar-to-slot' | 'money' | 'trash' | 'start' | 'edit' | 'copy' | 'menu-line' | 'menu-square' | 'net' | 'arrow-rotate' | undefined;
|
|
5
5
|
interface IconProps {
|
|
6
6
|
/**
|
|
7
7
|
* Sizes availables
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IKind as IKindIcon } from '../..';
|
|
2
2
|
import { IChildren } from '../../../types';
|
|
3
|
-
declare type IKindFlag = 'default' | 'success' | 'warning' | 'error' | 'active';
|
|
3
|
+
declare type IKindFlag = 'default' | 'success' | 'warning' | 'error' | 'active' | 'subdued';
|
|
4
4
|
interface IPropsFlag extends IChildren {
|
|
5
5
|
icon?: IKindIcon;
|
|
6
6
|
kind?: IKindFlag;
|
package/dist/ui-react.mjs
CHANGED
|
@@ -3295,6 +3295,15 @@ function ot({
|
|
|
3295
3295
|
fill: "none"
|
|
3296
3296
|
}
|
|
3297
3297
|
) });
|
|
3298
|
+
case "arrow-rotate":
|
|
3299
|
+
return /* @__PURE__ */ m.jsx(Xe, { ...n, viewBox: "0 0 512 512", children: /* @__PURE__ */ m.jsx(
|
|
3300
|
+
"path",
|
|
3301
|
+
{
|
|
3302
|
+
className: i,
|
|
3303
|
+
fill: "none",
|
|
3304
|
+
d: "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H352c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V432c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H160c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"
|
|
3305
|
+
}
|
|
3306
|
+
) });
|
|
3298
3307
|
default:
|
|
3299
3308
|
return /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
3300
3309
|
}
|
|
@@ -13590,7 +13599,7 @@ function jue({
|
|
|
13590
13599
|
shadow: l = "basic",
|
|
13591
13600
|
children: u
|
|
13592
13601
|
}) {
|
|
13593
|
-
const c = () => e === "default" ? "default" : e === "success" ? "success" : e === "warning" ? "warning" : e === "error" ? "critical" : e === "active" ? "primary" : "default", f = ee(
|
|
13602
|
+
const c = () => e === "default" ? "default" : e === "success" ? "success" : e === "warning" ? "warning" : e === "error" ? "critical" : e === "active" ? "primary" : e === "subdued" ? "subdued" : "default", f = ee(
|
|
13594
13603
|
{
|
|
13595
13604
|
"max-w-[420px]": a === "lg" && !o,
|
|
13596
13605
|
"max-w-[288px]": a === "sm" && !o,
|
|
@@ -13599,7 +13608,8 @@ function jue({
|
|
|
13599
13608
|
"bg-surface-success-subdued": e === "success",
|
|
13600
13609
|
"bg-surface-warning-subdued": e === "warning",
|
|
13601
13610
|
"bg-surface-critical-subdued": e === "error",
|
|
13602
|
-
"bg-surface-action-default": e === "active"
|
|
13611
|
+
"bg-surface-action-default": e === "active",
|
|
13612
|
+
"bg-surface-neutral-subdued": e === "subdued"
|
|
13603
13613
|
},
|
|
13604
13614
|
o
|
|
13605
13615
|
);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@aveonline/ui-react",
|
|
3
3
|
"description": "Home base for Aveonline design system - ecosystem react",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.15.0",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"@storybook/addon-essentials": "7.5.1",
|
|
57
57
|
"@storybook/addon-interactions": "7.5.1",
|
|
58
58
|
"@storybook/addon-links": "7.5.1",
|
|
59
|
-
"@storybook/addon-mdx-gfm": "7.5.1",
|
|
60
59
|
"@storybook/addons": "7.5.1",
|
|
61
60
|
"@storybook/blocks": "7.5.1",
|
|
62
61
|
"@storybook/react": "7.5.1",
|
|
@@ -109,11 +108,10 @@
|
|
|
109
108
|
"react": "18.2.0",
|
|
110
109
|
"react-dom": "18.2.0"
|
|
111
110
|
},
|
|
112
|
-
"packageManager": "pnpm@8.6.9",
|
|
113
111
|
"engines": {
|
|
114
112
|
"node": ">=18",
|
|
115
113
|
"yarn": "please-use-pnpm",
|
|
116
|
-
"pnpm": ">=
|
|
114
|
+
"pnpm": ">=9.0.0"
|
|
117
115
|
},
|
|
118
116
|
"config": {
|
|
119
117
|
"commitizen": {
|