@aveonline/ui-react 2.3.3 → 2.3.5

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
  /// <reference types="react" />
2
2
  import { IKind as IKindIcon } from '../..';
3
3
  import { IChildren } from '../../../types';
4
- declare type IKindFlag = 'default' | 'success' | 'warning' | 'error';
4
+ declare type IKindFlag = 'default' | 'success' | 'warning' | 'error' | 'active';
5
5
  interface IPropsFlag extends IChildren {
6
6
  icon?: IKindIcon;
7
7
  kind?: IKindFlag;
package/dist/ui-react.mjs CHANGED
@@ -30858,6 +30858,7 @@ const bae = it((e, t) => {
30858
30858
  {
30859
30859
  id: n,
30860
30860
  name: r,
30861
+ ref: Y,
30861
30862
  placeholder: o,
30862
30863
  className: Q,
30863
30864
  autoComplete: s,
@@ -30875,6 +30876,7 @@ const bae = it((e, t) => {
30875
30876
  {
30876
30877
  id: n,
30877
30878
  name: r,
30879
+ ref: Y,
30878
30880
  placeholder: o,
30879
30881
  className: Q,
30880
30882
  autoComplete: s,
@@ -30967,7 +30969,7 @@ function Cae({
30967
30969
  shadow: l = "basic",
30968
30970
  children: u
30969
30971
  }) {
30970
- const c = () => e === "default" ? "default" : e === "success" ? "success" : e === "warning" ? "warning" : e === "error" ? "critical" : "default", f = ee(
30972
+ const c = () => e === "default" ? "default" : e === "success" ? "success" : e === "warning" ? "warning" : e === "error" ? "critical" : e === "active" ? "primary" : "default", f = ee(
30971
30973
  {
30972
30974
  "max-w-[420px]": a === "lg" && !o,
30973
30975
  "max-w-[288px]": a === "sm" && !o,
@@ -30975,7 +30977,8 @@ function Cae({
30975
30977
  "bg-surface-default": e === "default",
30976
30978
  "bg-surface-success-subdued": e === "success",
30977
30979
  "bg-surface-warning-subdued": e === "warning",
30978
- "bg-surface-critical-subdued": e === "error"
30980
+ "bg-surface-critical-subdued": e === "error",
30981
+ "bg-surface-action-default": e === "active"
30979
30982
  },
30980
30983
  o
30981
30984
  );
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.3.3",
5
+ "version": "2.3.5",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [
8
8
  "dist"
@@ -51,16 +51,17 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
54
- "@storybook/addon-a11y": "7.0.9",
55
- "@storybook/addon-essentials": "7.0.9",
56
- "@storybook/addon-interactions": "7.0.9",
57
- "@storybook/addon-links": "7.0.9",
58
- "@storybook/addon-mdx-gfm": "^7.0.9",
59
- "@storybook/addons": "7.0.9",
60
- "@storybook/blocks": "7.0.9",
61
- "@storybook/react": "7.0.9",
62
- "@storybook/react-vite": "7.0.9",
63
- "@storybook/theming": "7.0.9",
54
+ "@storybook/addon-a11y": "7.4.2",
55
+ "@storybook/addon-docs": "7.4.2",
56
+ "@storybook/addon-essentials": "7.4.2",
57
+ "@storybook/addon-interactions": "7.4.2",
58
+ "@storybook/addon-links": "7.4.2",
59
+ "@storybook/addon-mdx-gfm": "^7.4.2",
60
+ "@storybook/addons": "7.4.2",
61
+ "@storybook/blocks": "7.4.2",
62
+ "@storybook/react": "7.4.2",
63
+ "@storybook/react-vite": "7.4.2",
64
+ "@storybook/theming": "7.4.2",
64
65
  "@tailwindcss/forms": "0.5.3",
65
66
  "@testing-library/jest-dom": "5.16.5",
66
67
  "@testing-library/react": "13.4.0",
@@ -84,7 +85,7 @@
84
85
  "eslint-plugin-no-only-tests": "3.1.0",
85
86
  "eslint-plugin-react-hooks": "4.6.0",
86
87
  "eslint-plugin-react-refresh": "0.3.5",
87
- "eslint-plugin-storybook": "0.6.12",
88
+ "eslint-plugin-storybook": "0.6.13",
88
89
  "jsdom": "20.0.2",
89
90
  "postcss": "8.3.11",
90
91
  "postcss-import": "15.0.0",
@@ -93,7 +94,7 @@
93
94
  "react": "18.2.0",
94
95
  "react-dom": "18.2.0",
95
96
  "sd-tailwindcss-transformer": "1.2.0",
96
- "storybook": "7.0.9",
97
+ "storybook": "7.4.2",
97
98
  "style-dictionary": "3.7.1",
98
99
  "tailwindcss": "3.3.2",
99
100
  "ts-dedent": "2.2.0",