@cloudtower/eagle 0.27.2-alpha.0 → 0.27.3-alpha.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.
Files changed (32) hide show
  1. package/dist/components/Fields/FieldsString/FieldsString.stories.d.ts +1 -1
  2. package/dist/components/I18nNameTag/index.d.ts +2 -8
  3. package/dist/components/Loading/style.d.ts +4 -0
  4. package/dist/components/Tag/Tag.stories.d.ts +2 -2
  5. package/dist/components/Tag/style.d.ts +1 -0
  6. package/dist/components/index.d.ts +10 -0
  7. package/dist/components.css +418 -608
  8. package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
  9. package/dist/core/StepProgress/index.d.ts +3 -0
  10. package/dist/coreX/BarChart/BarChart.stories.d.ts +6 -0
  11. package/dist/coreX/BarChart/index.d.ts +10 -0
  12. package/dist/coreX/ChartWithTooltip/ChartWithTooltip.stories.d.ts +7 -0
  13. package/dist/coreX/ChartWithTooltip/index.d.ts +40 -0
  14. package/dist/coreX/DonutChart/DonutChart.stories.d.ts +6 -0
  15. package/dist/coreX/DonutChart/index.d.ts +12 -0
  16. package/dist/coreX/SwitchWithText/SwitchWithText.stories.d.ts +9 -0
  17. package/dist/coreX/SwitchWithText/__tests__/h5_css.test.d.ts +1 -0
  18. package/dist/coreX/SwitchWithText/index.d.ts +4 -0
  19. package/dist/coreX/UnitWithChart/UnitWithChart.stories.d.ts +7 -0
  20. package/dist/coreX/UnitWithChart/index.d.ts +30 -0
  21. package/dist/esm/index.js +2046 -1663
  22. package/dist/esm/stats1.html +1 -1
  23. package/dist/spec/base.d.ts +33 -8
  24. package/dist/spec/type.d.ts +6 -0
  25. package/dist/style.css +1223 -1413
  26. package/dist/umd/index.js +2039 -1656
  27. package/dist/umd/stats1.html +1 -1
  28. package/dist/utils/icon.d.ts +2 -1
  29. package/dist/utils/tower.d.ts +1 -0
  30. package/dist/variables.scss +2 -0
  31. package/package.json +6 -6
  32. package/dist/components/images/index.d.ts +0 -15
@@ -1 +1,2 @@
1
- export declare function getAlertIcon(type: "success" | "info" | "warning" | "error" | "normal" | undefined): string;
1
+ /// <reference types="react" />
2
+ export declare function getAlertIcon(type: "success" | "info" | "warning" | "error" | "normal" | undefined): (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
@@ -49,6 +49,7 @@ export declare function formatBps(input: number, decimals?: number): FormattedRe
49
49
  export declare function formatBytes(bytes: number, decimals?: number): FormattedResult;
50
50
  export declare function formatPercent(input: number, decimals?: number, saturated?: boolean): {
51
51
  value: string;
52
+ numberValue: number;
52
53
  unit: string;
53
54
  };
54
55
  export declare const KbE = 1000;
@@ -492,6 +492,7 @@ $strokes-light-trans-3: rgba(#acbad3, 0.6);
492
492
  $strokes-light-trans-4: rgba(#6b80a7, 0.6);
493
493
  $strokes-light-outstanding-light: rgba(#0088ff, 0.16);
494
494
  $strokes-light-serious-light: rgba(#ff4a4a, 0.16);
495
+ $stroke-neutral-trans-2: $gray-a60-3;
495
496
 
496
497
  $strokes-light-opaque-1: $gray-20;
497
498
  $strokes-light-opaque-2: $gray-30;
@@ -500,6 +501,7 @@ $strokes-light-opaque-4: $gray-60;
500
501
  $strokes-light-outstanding: $blue-60;
501
502
  $strokes-light-serious: $red-60;
502
503
 
504
+
503
505
  /* background */
504
506
 
505
507
  $backgrounds-light-primary: $white;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudtower/eagle",
3
- "version": "0.27.2-alpha.0",
3
+ "version": "0.27.3-alpha.0",
4
4
  "main": "dist/umd/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,20 +23,20 @@
23
23
  "test:ci": "vitest run",
24
24
  "coverage": "vitest run --coverage",
25
25
  "typings": "tsc -v && tsc --emitDeclarationOnly --paths null",
26
- "generate:images": "node --loader ts-node/esm tools/index.mts",
27
26
  "prestorybook": "cd ../.. && yarn turbo run build",
28
27
  "storybook": "storybook dev -p 6006",
29
28
  "build-storybook": "storybook build"
30
29
  },
31
30
  "dependencies": {
32
- "@cloudtower/icons-react": "0.27.2-alpha.0",
33
- "@cloudtower/parrot": "0.27.2-alpha.0",
31
+ "@cloudtower/icons-react": "0.27.3-alpha.0",
32
+ "@cloudtower/parrot": "0.27.3-alpha.0",
34
33
  "@cloudtower/rc-notification": "^4.6.1",
35
34
  "@linaria/core": "^4.2.2",
36
35
  "@linaria/react": "^4.3.0",
37
36
  "antd": "4.5.0",
38
37
  "classnames": "^2.3.2",
39
38
  "dayjs": "^1.11.10",
39
+ "lodash": "^4.17.21",
40
40
  "react-beautiful-dnd": "^13.0.0",
41
41
  "react-i18next": "^13.0.1",
42
42
  "react-redux": "^7.1.3",
@@ -51,7 +51,7 @@
51
51
  "@babel/preset-env": "^7.22.15",
52
52
  "@babel/preset-react": "^7.22.15",
53
53
  "@babel/preset-typescript": "^7.22.15",
54
- "@cloudtower/icons": "0.27.2-alpha.0",
54
+ "@cloudtower/icons": "0.27.3-alpha.0",
55
55
  "@linaria/babel-preset": "4.4.1",
56
56
  "@linaria/rollup": "^4.1.5",
57
57
  "@linaria/vite": "^4.2.5",
@@ -107,5 +107,5 @@
107
107
  "vite": "^3.1.7",
108
108
  "vitest": "^0.24.1"
109
109
  },
110
- "gitHead": "3755bf6d51b0796569176d013d4670bc3197c5d6"
110
+ "gitHead": "6be07e5a030c96cb39220270ae5d725d468a1ab4"
111
111
  }
@@ -1,15 +0,0 @@
1
- export { default as arrowChevronDownSmall16Blue } from "./arrow-chevron-down-small-16-blue.svg";
2
- export { default as arrowChevronDownSmall16Secondary } from "./arrow-chevron-down-small-16-secondary.svg";
3
- export { default as arrowChevronLeftSmall16BoldBlue } from "./arrow-chevron-left-small-16-bold-blue.svg";
4
- export { default as arrowChevronUp16BoldSecondary } from "./arrow-chevron-up-16-bold-secondary.svg";
5
- export { default as checkmarkDoneSuccessCircleFill16Green } from "./checkmark-done-success-circle-fill-16-green.svg";
6
- export { default as focusIndicator16Blue } from "./focus-indicator-16-blue.svg";
7
- export { default as infoICircleFill16Blue } from "./info-i-circle-fill-16-blue.svg";
8
- export { default as infoICircleFill16Secondary } from "./info-i-circle-fill-16-secondary.svg";
9
- export { default as loading24GradientBlue } from "./loading-24-gradient-blue.png";
10
- export { default as noticeAttention16Yellow } from "./notice-attention-16-yellow.svg";
11
- export { default as plusAddCreateNew24GradientGray } from "./plus-add-create-new-24-gradient-gray.svg";
12
- export { default as settingsGear16GradientBlue } from "./settings-gear-16-gradient-blue.svg";
13
- export { default as settingsGear16GradientGray } from "./settings-gear-16-gradient-gray.svg";
14
- export { default as statusUnknownQuestionmark16Red } from "./status-unknown-questionmark-16-red.svg";
15
- export { default as xmarkFailedSeriousWarningFill16Red } from "./xmark-failed-serious-warning-fill-16-red.svg";