@capillarytech/blaze-ui 5.23.3-beta.4 → 5.23.3-beta.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,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { importRemote } from "../node_modules/@module-federation/utilities/dist/index.esm.js";
2
+ import { importRemote } from "@module-federation/utilities";
3
3
  import React, { useMemo } from "react";
4
4
  import { FormattedMessage } from "react-intl";
5
5
  import CapSkeleton from "../CapSkeleton/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capillarytech/blaze-ui",
3
- "version": "5.23.3-beta.4",
3
+ "version": "5.23.3-beta.5",
4
4
  "description": "Capillary UI component library with Ant Design v6",
5
5
  "main": "index.js",
6
6
  "module": "dist/index.js",
@@ -8,7 +8,8 @@
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "**/translations/*",
11
- "**/sanitize.css"
11
+ "**/sanitize.css",
12
+ "**/CapExpressionEditor/js/expressionEditor.*"
12
13
  ],
13
14
  "files": [
14
15
  "**/*"
@@ -41,6 +42,9 @@
41
42
  "@antv/x6": "1.12.4",
42
43
  "@antv/x6-react-shape": "1.2.3",
43
44
  "@capillarytech/cap-ui-utils": "^3.0.4",
45
+ "@module-federation/utilities": "^3.1.79",
46
+ "moment-timezone": "^0.5.45",
47
+ "nanoid": "^3.3.7",
44
48
  "antd-v5": "npm:antd@^6.1.0",
45
49
  "bizcharts": "^3.5.5",
46
50
  "classnames": "^2.5.1",
@@ -0,0 +1,148 @@
1
+ import { BG_01, BG_02, BG_03, BG_08, BORDER_WIDTH_1, BORDER_WIDTH_2, BUTTON_HEIGHT, CAP_BLACK, CAP_BLACK_ALPHA01, CAP_BLUE, CAP_BLUE01, CAP_BLUE02, CAP_COLOR_01, CAP_COLOR_02, CAP_COLOR_03, CAP_COLOR_04, CAP_COLOR_05, CAP_COLOR_06, CAP_COLOR_07, CAP_COLOR_08, CAP_COLOR_09, CAP_COLOR_10, CAP_COLOR_11, CAP_COLOR_12, CAP_COLOR_13, CAP_COLOR_14, CAP_COLOR_15, CAP_COLOR_16, CAP_COLOR_17, CAP_COLOR_18, CAP_COLOR_19, CAP_COLOR_20, CAP_COLOR_21, CAP_COLOR_22, CAP_COLOR_23, CAP_COLOR_24, CAP_COLOR_25, CAP_COLOR_26, CAP_COLOR_27, CAP_G01, CAP_G02, CAP_G03, CAP_G04, CAP_G05, CAP_G06, CAP_G07, CAP_G08, CAP_G09, CAP_G10, CAP_G11, CAP_G12, CAP_G13, CAP_G14, CAP_G15, CAP_G16, CAP_G17, CAP_G18, CAP_G19, CAP_G20, CAP_GREEN01, CAP_GREEN02, CAP_ICON, CAP_ORANGE, CAP_ORANGE01, CAP_ORANGE02, CAP_PALE_GREY, CAP_PINK, CAP_PRIMARY, CAP_PURPLE, CAP_PURPLE01, CAP_PURPLE02, CAP_PURPLE03, CAP_PURPLE04, CAP_RED, CAP_RED01, CAP_RED02, CAP_RED03, CAP_SECONDARY, CAP_SPACE_00, CAP_SPACE_01, CAP_SPACE_02, CAP_SPACE_03, CAP_SPACE_04, CAP_SPACE_06, CAP_SPACE_08, CAP_SPACE_12, CAP_SPACE_16, CAP_SPACE_18, CAP_SPACE_19, CAP_SPACE_20, CAP_SPACE_23, CAP_SPACE_24, CAP_SPACE_28, CAP_SPACE_32, CAP_SPACE_36, CAP_SPACE_40, CAP_SPACE_42, CAP_SPACE_44, CAP_SPACE_48, CAP_SPACE_52, CAP_SPACE_56, CAP_SPACE_60, CAP_SPACE_64, CAP_SPACE_72, CAP_SPACE_80, CAP_WHITE, CAP_WHITE_OVERLAY, CAP_YELLOW, CAP_YELLOW01, CAP_YELLOW02, COLOR_ERROR, COLOR_INFO, COLOR_SUCCESS, COLOR_WARNING, DEFAULT_LINE_HEIGHT, FONT_COLOR_01, FONT_COLOR_02, FONT_COLOR_03, FONT_COLOR_04, FONT_COLOR_05, FONT_COLOR_06, FONT_FAMILY, FONT_SIZE_L, FONT_SIZE_M, FONT_SIZE_S, FONT_SIZE_VL, FONT_SIZE_VS, FONT_WEIGHT_MEDIUM, FONT_WEIGHT_REGULAR, ICON_SIZE_L, ICON_SIZE_M, ICON_SIZE_S, ICON_SIZE_XS, INPUT_HEIGHT, NORMAL_LINE_HEIGHT, RADIUS_04, RADIUS_08, SPACING_04, SPACING_08, SPACING_12, SPACING_16, SPACING_24, SPACING_32, TRANSITION_ALL, USER_INITIALS_COLOR_CODES } from "../styles/_variables.js";
2
+ export {
3
+ BG_01,
4
+ BG_02,
5
+ BG_03,
6
+ BG_08,
7
+ BORDER_WIDTH_1,
8
+ BORDER_WIDTH_2,
9
+ BUTTON_HEIGHT,
10
+ CAP_BLACK,
11
+ CAP_BLACK_ALPHA01,
12
+ CAP_BLUE,
13
+ CAP_BLUE01,
14
+ CAP_BLUE02,
15
+ CAP_COLOR_01,
16
+ CAP_COLOR_02,
17
+ CAP_COLOR_03,
18
+ CAP_COLOR_04,
19
+ CAP_COLOR_05,
20
+ CAP_COLOR_06,
21
+ CAP_COLOR_07,
22
+ CAP_COLOR_08,
23
+ CAP_COLOR_09,
24
+ CAP_COLOR_10,
25
+ CAP_COLOR_11,
26
+ CAP_COLOR_12,
27
+ CAP_COLOR_13,
28
+ CAP_COLOR_14,
29
+ CAP_COLOR_15,
30
+ CAP_COLOR_16,
31
+ CAP_COLOR_17,
32
+ CAP_COLOR_18,
33
+ CAP_COLOR_19,
34
+ CAP_COLOR_20,
35
+ CAP_COLOR_21,
36
+ CAP_COLOR_22,
37
+ CAP_COLOR_23,
38
+ CAP_COLOR_24,
39
+ CAP_COLOR_25,
40
+ CAP_COLOR_26,
41
+ CAP_COLOR_27,
42
+ CAP_G01,
43
+ CAP_G02,
44
+ CAP_G03,
45
+ CAP_G04,
46
+ CAP_G05,
47
+ CAP_G06,
48
+ CAP_G07,
49
+ CAP_G08,
50
+ CAP_G09,
51
+ CAP_G10,
52
+ CAP_G11,
53
+ CAP_G12,
54
+ CAP_G13,
55
+ CAP_G14,
56
+ CAP_G15,
57
+ CAP_G16,
58
+ CAP_G17,
59
+ CAP_G18,
60
+ CAP_G19,
61
+ CAP_G20,
62
+ CAP_GREEN01,
63
+ CAP_GREEN02,
64
+ CAP_ICON,
65
+ CAP_ORANGE,
66
+ CAP_ORANGE01,
67
+ CAP_ORANGE02,
68
+ CAP_PALE_GREY,
69
+ CAP_PINK,
70
+ CAP_PRIMARY,
71
+ CAP_PURPLE,
72
+ CAP_PURPLE01,
73
+ CAP_PURPLE02,
74
+ CAP_PURPLE03,
75
+ CAP_PURPLE04,
76
+ CAP_RED,
77
+ CAP_RED01,
78
+ CAP_RED02,
79
+ CAP_RED03,
80
+ CAP_SECONDARY,
81
+ CAP_SPACE_00,
82
+ CAP_SPACE_01,
83
+ CAP_SPACE_02,
84
+ CAP_SPACE_03,
85
+ CAP_SPACE_04,
86
+ CAP_SPACE_06,
87
+ CAP_SPACE_08,
88
+ CAP_SPACE_12,
89
+ CAP_SPACE_16,
90
+ CAP_SPACE_18,
91
+ CAP_SPACE_19,
92
+ CAP_SPACE_20,
93
+ CAP_SPACE_23,
94
+ CAP_SPACE_24,
95
+ CAP_SPACE_28,
96
+ CAP_SPACE_32,
97
+ CAP_SPACE_36,
98
+ CAP_SPACE_40,
99
+ CAP_SPACE_42,
100
+ CAP_SPACE_44,
101
+ CAP_SPACE_48,
102
+ CAP_SPACE_52,
103
+ CAP_SPACE_56,
104
+ CAP_SPACE_60,
105
+ CAP_SPACE_64,
106
+ CAP_SPACE_72,
107
+ CAP_SPACE_80,
108
+ CAP_WHITE,
109
+ CAP_WHITE_OVERLAY,
110
+ CAP_YELLOW,
111
+ CAP_YELLOW01,
112
+ CAP_YELLOW02,
113
+ COLOR_ERROR,
114
+ COLOR_INFO,
115
+ COLOR_SUCCESS,
116
+ COLOR_WARNING,
117
+ DEFAULT_LINE_HEIGHT,
118
+ FONT_COLOR_01,
119
+ FONT_COLOR_02,
120
+ FONT_COLOR_03,
121
+ FONT_COLOR_04,
122
+ FONT_COLOR_05,
123
+ FONT_COLOR_06,
124
+ FONT_FAMILY,
125
+ FONT_SIZE_L,
126
+ FONT_SIZE_M,
127
+ FONT_SIZE_S,
128
+ FONT_SIZE_VL,
129
+ FONT_SIZE_VS,
130
+ FONT_WEIGHT_MEDIUM,
131
+ FONT_WEIGHT_REGULAR,
132
+ ICON_SIZE_L,
133
+ ICON_SIZE_M,
134
+ ICON_SIZE_S,
135
+ ICON_SIZE_XS,
136
+ INPUT_HEIGHT,
137
+ NORMAL_LINE_HEIGHT,
138
+ RADIUS_04,
139
+ RADIUS_08,
140
+ SPACING_04,
141
+ SPACING_08,
142
+ SPACING_12,
143
+ SPACING_16,
144
+ SPACING_24,
145
+ SPACING_32,
146
+ TRANSITION_ALL,
147
+ USER_INITIALS_COLOR_CODES
148
+ };
package/utils/dayjs.js CHANGED
@@ -20,7 +20,7 @@ import timezone from "dayjs-timezone-iana-plugin";
20
20
  import isFunction from "lodash/isFunction";
21
21
  import isNil from "lodash/isNil";
22
22
  import isString from "lodash/isString";
23
- import moment from "../node_modules/moment-timezone/index.js";
23
+ import moment from "moment-timezone";
24
24
  dayjs.extend(utc);
25
25
  dayjs.extend(timezone);
26
26
  dayjs.extend(abbrTimezone);
@@ -1,8 +0,0 @@
1
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2
- function getDefaultExportFromCjs(x) {
3
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
- }
5
- export {
6
- commonjsGlobal,
7
- getDefaultExportFromCjs
8
- };
package/_virtual/index.js DELETED
@@ -1,4 +0,0 @@
1
- var momentTimezone = { exports: {} };
2
- export {
3
- momentTimezone as __module
4
- };
@@ -1,4 +0,0 @@
1
- var momentTimezone = { exports: {} };
2
- export {
3
- momentTimezone as __module
4
- };