cx 24.9.1 → 24.9.2
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/charts.js +22 -25
- package/dist/data.js +26 -29
- package/dist/manifest.js +775 -775
- package/dist/svg.js +59 -56
- package/dist/ui.js +51 -52
- package/dist/widgets.js +46 -49
- package/package.json +32 -32
- package/src/charts/Legend.js +151 -151
- package/src/charts/PieLabel.js +71 -71
- package/src/charts/axis/NumericAxis.js +347 -347
- package/src/charts/axis/Stack.js +55 -55
- package/src/charts/helpers/PointReducer.js +43 -43
- package/src/charts/helpers/SnapPointFinder.js +69 -69
- package/src/data/Binding.spec.js +69 -69
- package/src/data/StringTemplate.spec.js +105 -105
- package/src/data/getAccessor.spec.js +11 -11
- package/src/index.scss +6 -6
- package/src/svg/Text.d.ts +40 -40
- package/src/ui/Culture.d.ts +55 -55
- package/src/ui/Culture.js +139 -139
- package/src/ui/FocusManager.js +171 -171
- package/src/ui/Instance.d.ts +72 -72
- package/src/ui/VDOM.d.ts +12 -12
- package/src/ui/app/startAppLoop.js +58 -58
- package/src/ui/index.d.ts +42 -42
- package/src/ui/layout/LabelsTopLayout.js +134 -134
- package/src/util/Console.d.ts +4 -4
- package/src/util/scss/add-rules.scss +38 -38
- package/src/widgets/CxCredit.scss +37 -37
- package/src/widgets/List.scss +91 -91
- package/src/widgets/drag-drop/DropZone.js +214 -214
- package/src/widgets/form/Calendar.scss +196 -196
- package/src/widgets/form/ColorField.js +397 -397
- package/src/widgets/form/ColorPicker.scss +283 -283
- package/src/widgets/form/DateTimeField.js +573 -573
- package/src/widgets/form/MonthField.js +516 -516
- package/src/widgets/form/MonthPicker.scss +118 -118
- package/src/widgets/form/NumberField.js +459 -459
- package/src/widgets/form/NumberField.scss +61 -61
- package/src/widgets/form/Select.scss +99 -99
- package/src/widgets/form/Slider.scss +118 -118
- package/src/widgets/form/Switch.scss +140 -140
- package/src/widgets/form/TextArea.scss +43 -43
- package/src/widgets/form/TextField.js +290 -289
- package/src/widgets/form/TextField.scss +55 -55
- package/src/widgets/form/UploadButton.d.ts +34 -34
- package/src/widgets/grid/TreeNode.scss +88 -88
- package/src/widgets/grid/variables.scss +88 -88
- package/src/widgets/nav/Menu.scss +74 -74
- package/src/widgets/overlay/Dropdown.js +612 -612
- package/src/widgets/overlay/FlyweightTooltipTracker.js +39 -39
- package/src/widgets/overlay/Tooltip.js +300 -300
- package/src/widgets/overlay/Window.js +196 -196
- package/src/widgets/overlay/captureMouse.js +124 -124
- package/src/widgets/overlay/variables.scss +83 -83
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
// TOOLTIP
|
|
2
|
-
$cx-tooltip-background-color: white !default;
|
|
3
|
-
$cx-tooltip-border-color: #d5d5d5 !default;
|
|
4
|
-
$cx-tooltip-border-width: 1px !default;
|
|
5
|
-
$cx-tooltip-border-radius: 5px !default;
|
|
6
|
-
$cx-tooltip-arrow-size: 5px !default;
|
|
7
|
-
$cx-tooltip-color: null !default;
|
|
8
|
-
$cx-tooltip-padding: 10px !default;
|
|
9
|
-
|
|
10
|
-
$cx-tooltip-background-color-error: white !default;
|
|
11
|
-
$cx-tooltip-border-color-error: #e63001 !default;
|
|
12
|
-
$cx-tooltip-color-error: null !default;
|
|
13
|
-
|
|
14
|
-
// DROPDOWN
|
|
15
|
-
$cx-default-dropdown-color: $cx-default-color !default;
|
|
16
|
-
$cx-default-dropdown-background-color: white !default;
|
|
17
|
-
$cx-default-dropdown-arrow-size: 6px !default;
|
|
18
|
-
$cx-default-dropdown-arrow-offset: 16px !default;
|
|
19
|
-
|
|
20
|
-
$cx-dropdown-styles: (
|
|
21
|
-
color: $cx-default-dropdown-color,
|
|
22
|
-
background-color: $cx-default-dropdown-background-color,
|
|
23
|
-
border-radius: $cx-default-border-radius,
|
|
24
|
-
border-color: $cx-default-border-color,
|
|
25
|
-
border-width: 0,
|
|
26
|
-
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.29),
|
|
27
|
-
white-space: normal,
|
|
28
|
-
font-weight: normal,
|
|
29
|
-
font-size: $cx-default-font-size,
|
|
30
|
-
text-align: left,
|
|
31
|
-
line-height: normal,
|
|
32
|
-
) !default;
|
|
33
|
-
|
|
34
|
-
// TOAST
|
|
35
|
-
$cx-default-toast-color: $cx-default-color !default;
|
|
36
|
-
$cx-default-toast-background-color: rgb(255, 255, 255) !default;
|
|
37
|
-
$cx-default-toast-border-width: 0 !default;
|
|
38
|
-
$cx-default-toast-border-color: rgba(255, 255, 255, 0) !default;
|
|
39
|
-
$cx-default-toast-box-shadow: 0 0 5px 1px rgba(128, 128, 128, 0.3) !default;
|
|
40
|
-
$cx-default-toast-padding: 10px !default;
|
|
41
|
-
|
|
42
|
-
$cx-toast-mods: (
|
|
43
|
-
warning: (
|
|
44
|
-
default: (
|
|
45
|
-
color: #fff,
|
|
46
|
-
background-color: #f09037,
|
|
47
|
-
),
|
|
48
|
-
),
|
|
49
|
-
primary: (
|
|
50
|
-
default: (
|
|
51
|
-
color: #fff,
|
|
52
|
-
background-color: #1f99f8,
|
|
53
|
-
),
|
|
54
|
-
),
|
|
55
|
-
success: (
|
|
56
|
-
default: (
|
|
57
|
-
color: #fff,
|
|
58
|
-
background-color: #5cb85c,
|
|
59
|
-
),
|
|
60
|
-
),
|
|
61
|
-
error: (
|
|
62
|
-
default: (
|
|
63
|
-
color: #fff,
|
|
64
|
-
background-color: #d9534f,
|
|
65
|
-
),
|
|
66
|
-
),
|
|
67
|
-
) !default;
|
|
68
|
-
|
|
69
|
-
// WINDOW
|
|
70
|
-
@import "Window.variables";
|
|
71
|
-
|
|
72
|
-
$cx-dependencies: map-merge(
|
|
73
|
-
$cx-dependencies,
|
|
74
|
-
(
|
|
75
|
-
"cx/widgets/Overlay": "cx/widgets/captureMouse",
|
|
76
|
-
"cx/widgets/Dropdown": "cx/widgets/Overlay",
|
|
77
|
-
"cx/widgets/Window": "cx/widgets/Overlay",
|
|
78
|
-
"cx/widgets/Tooltip": "cx/widgets/Dropdown",
|
|
79
|
-
"cx/widgets/enableMsgBoxAlerts": "cx/widgets/MsgBox",
|
|
80
|
-
"cx/widgets/MsgBox": "cx/widgets/Window" "cx/widgets/FlexRow",
|
|
81
|
-
"cx/widgets/Toast": "cx/widgets/Overlay",
|
|
82
|
-
)
|
|
83
|
-
);
|
|
1
|
+
// TOOLTIP
|
|
2
|
+
$cx-tooltip-background-color: white !default;
|
|
3
|
+
$cx-tooltip-border-color: #d5d5d5 !default;
|
|
4
|
+
$cx-tooltip-border-width: 1px !default;
|
|
5
|
+
$cx-tooltip-border-radius: 5px !default;
|
|
6
|
+
$cx-tooltip-arrow-size: 5px !default;
|
|
7
|
+
$cx-tooltip-color: null !default;
|
|
8
|
+
$cx-tooltip-padding: 10px !default;
|
|
9
|
+
|
|
10
|
+
$cx-tooltip-background-color-error: white !default;
|
|
11
|
+
$cx-tooltip-border-color-error: #e63001 !default;
|
|
12
|
+
$cx-tooltip-color-error: null !default;
|
|
13
|
+
|
|
14
|
+
// DROPDOWN
|
|
15
|
+
$cx-default-dropdown-color: $cx-default-color !default;
|
|
16
|
+
$cx-default-dropdown-background-color: white !default;
|
|
17
|
+
$cx-default-dropdown-arrow-size: 6px !default;
|
|
18
|
+
$cx-default-dropdown-arrow-offset: 16px !default;
|
|
19
|
+
|
|
20
|
+
$cx-dropdown-styles: (
|
|
21
|
+
color: $cx-default-dropdown-color,
|
|
22
|
+
background-color: $cx-default-dropdown-background-color,
|
|
23
|
+
border-radius: $cx-default-border-radius,
|
|
24
|
+
border-color: $cx-default-border-color,
|
|
25
|
+
border-width: 0,
|
|
26
|
+
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.29),
|
|
27
|
+
white-space: normal,
|
|
28
|
+
font-weight: normal,
|
|
29
|
+
font-size: $cx-default-font-size,
|
|
30
|
+
text-align: left,
|
|
31
|
+
line-height: normal,
|
|
32
|
+
) !default;
|
|
33
|
+
|
|
34
|
+
// TOAST
|
|
35
|
+
$cx-default-toast-color: $cx-default-color !default;
|
|
36
|
+
$cx-default-toast-background-color: rgb(255, 255, 255) !default;
|
|
37
|
+
$cx-default-toast-border-width: 0 !default;
|
|
38
|
+
$cx-default-toast-border-color: rgba(255, 255, 255, 0) !default;
|
|
39
|
+
$cx-default-toast-box-shadow: 0 0 5px 1px rgba(128, 128, 128, 0.3) !default;
|
|
40
|
+
$cx-default-toast-padding: 10px !default;
|
|
41
|
+
|
|
42
|
+
$cx-toast-mods: (
|
|
43
|
+
warning: (
|
|
44
|
+
default: (
|
|
45
|
+
color: #fff,
|
|
46
|
+
background-color: #f09037,
|
|
47
|
+
),
|
|
48
|
+
),
|
|
49
|
+
primary: (
|
|
50
|
+
default: (
|
|
51
|
+
color: #fff,
|
|
52
|
+
background-color: #1f99f8,
|
|
53
|
+
),
|
|
54
|
+
),
|
|
55
|
+
success: (
|
|
56
|
+
default: (
|
|
57
|
+
color: #fff,
|
|
58
|
+
background-color: #5cb85c,
|
|
59
|
+
),
|
|
60
|
+
),
|
|
61
|
+
error: (
|
|
62
|
+
default: (
|
|
63
|
+
color: #fff,
|
|
64
|
+
background-color: #d9534f,
|
|
65
|
+
),
|
|
66
|
+
),
|
|
67
|
+
) !default;
|
|
68
|
+
|
|
69
|
+
// WINDOW
|
|
70
|
+
@import "Window.variables";
|
|
71
|
+
|
|
72
|
+
$cx-dependencies: map-merge(
|
|
73
|
+
$cx-dependencies,
|
|
74
|
+
(
|
|
75
|
+
"cx/widgets/Overlay": "cx/widgets/captureMouse",
|
|
76
|
+
"cx/widgets/Dropdown": "cx/widgets/Overlay",
|
|
77
|
+
"cx/widgets/Window": "cx/widgets/Overlay",
|
|
78
|
+
"cx/widgets/Tooltip": "cx/widgets/Dropdown",
|
|
79
|
+
"cx/widgets/enableMsgBoxAlerts": "cx/widgets/MsgBox",
|
|
80
|
+
"cx/widgets/MsgBox": "cx/widgets/Window" "cx/widgets/FlexRow",
|
|
81
|
+
"cx/widgets/Toast": "cx/widgets/Overlay",
|
|
82
|
+
)
|
|
83
|
+
);
|