flipper-ui 0.34.6 → 0.34.7
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/core/data-display/advertise/styles.d.ts +1 -1
- package/core/data-display/advertise/styles.js +2 -2
- package/core/data-display/chapter/styles.js +2 -2
- package/core/data-display/line/index.js +2 -2
- package/core/data-display/list/index.js +2 -2
- package/core/data-display/table/index.js +2 -2
- package/core/data-display/table/table-footer.js +2 -2
- package/core/data-display/table/table-pagination.js +3 -3
- package/core/data-display/table/table-row.js +2 -2
- package/core/feedback/skeleton/index.js +4 -4
- package/core/feedback/snackbar/index.js +10 -5
- package/core/feedback/validation-dialog/styles.d.ts +1 -1
- package/core/inputs/date-time/index.js +10 -8
- package/core/inputs/slider/index.js +10 -6
- package/core/inputs/text-field/styles.js +2 -2
- package/core/navigation/breadcrumbs/styles.d.ts +1 -1
- package/core/navigation/sidebar/index.js +2 -2
- package/core/navigation/sidebar/styles.js +2 -2
- package/core/surfaces/card/styles.d.ts +1 -1
- package/core/surfaces/panel/styles.d.ts +1 -1
- package/core/surfaces/step-card/step-card-details.js +3 -3
- package/core/surfaces/step-card/step-card-panel.js +6 -6
- package/package.json +25 -28
- package/test/util.js +1 -1
- package/theme/colors.d.ts +50 -45
- package/theme/colors.js +274 -120
- package/theme/index.d.ts +0 -1
- package/theme/index.js +0 -12
- package/theme/theme.d.ts +50 -61
- package/theme/theme.js +6 -18
- package/theme/presets.d.ts +0 -31
- package/theme/presets.js +0 -41
package/theme/theme.js
CHANGED
|
@@ -9,34 +9,22 @@ var _colors = _interopRequireDefault(require("./colors"));
|
|
|
9
9
|
var theme = exports.theme = {
|
|
10
10
|
colors: _colors["default"]
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Options to createMuiTheme
|
|
15
|
-
* */
|
|
16
12
|
var muiThemeOptions = exports.muiThemeOptions = {
|
|
17
13
|
palette: {
|
|
18
14
|
primary: {
|
|
19
|
-
main: _colors["default"].
|
|
15
|
+
main: _colors["default"].darkBlue[600]
|
|
20
16
|
},
|
|
21
17
|
secondary: {
|
|
22
|
-
main: _colors["default"].
|
|
18
|
+
main: _colors["default"].green[600]
|
|
23
19
|
},
|
|
24
20
|
error: {
|
|
25
|
-
main: _colors["default"].
|
|
21
|
+
main: _colors["default"].deepOrange[600]
|
|
26
22
|
},
|
|
27
23
|
background: {
|
|
28
|
-
"default": _colors["default"].
|
|
24
|
+
"default": _colors["default"].neutral[100]
|
|
29
25
|
},
|
|
30
26
|
text: {
|
|
31
|
-
primary: _colors["default"].
|
|
27
|
+
primary: _colors["default"].gray[900]
|
|
32
28
|
}
|
|
33
29
|
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Raw colors
|
|
38
|
-
* */
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Util interface to extend (Props + Theme)
|
|
42
|
-
* */
|
|
30
|
+
};
|
package/theme/presets.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare enum Feedback {
|
|
2
|
-
danger = "danger",
|
|
3
|
-
warning = "warning",
|
|
4
|
-
success = "success",
|
|
5
|
-
info = "info"
|
|
6
|
-
}
|
|
7
|
-
export declare enum Priority {
|
|
8
|
-
critical = "critical",
|
|
9
|
-
high = "high",
|
|
10
|
-
medium = "medium",
|
|
11
|
-
low = "low",
|
|
12
|
-
minimal = "minimal",
|
|
13
|
-
neutral = "neutral"
|
|
14
|
-
}
|
|
15
|
-
export declare enum Criticality {
|
|
16
|
-
high = "high",
|
|
17
|
-
medium = "medium",
|
|
18
|
-
low = "low"
|
|
19
|
-
}
|
|
20
|
-
export declare enum Graphically {
|
|
21
|
-
pink = "pink",
|
|
22
|
-
purple = "purple",
|
|
23
|
-
brown = "brown",
|
|
24
|
-
red = "red",
|
|
25
|
-
orange = "orange",
|
|
26
|
-
yellow = "yellow",
|
|
27
|
-
lightgreen = "lightgreen",
|
|
28
|
-
green = "green",
|
|
29
|
-
blue = "blue",
|
|
30
|
-
gray = "gray"
|
|
31
|
-
}
|
package/theme/presets.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Priority = exports.Graphically = exports.Feedback = exports.Criticality = void 0;
|
|
7
|
-
var Feedback = exports.Feedback = /*#__PURE__*/function (Feedback) {
|
|
8
|
-
Feedback["danger"] = "danger";
|
|
9
|
-
Feedback["warning"] = "warning";
|
|
10
|
-
Feedback["success"] = "success";
|
|
11
|
-
Feedback["info"] = "info";
|
|
12
|
-
return Feedback;
|
|
13
|
-
}({});
|
|
14
|
-
var Priority = exports.Priority = /*#__PURE__*/function (Priority) {
|
|
15
|
-
Priority["critical"] = "critical";
|
|
16
|
-
Priority["high"] = "high";
|
|
17
|
-
Priority["medium"] = "medium";
|
|
18
|
-
Priority["low"] = "low";
|
|
19
|
-
Priority["minimal"] = "minimal";
|
|
20
|
-
Priority["neutral"] = "neutral";
|
|
21
|
-
return Priority;
|
|
22
|
-
}({});
|
|
23
|
-
var Criticality = exports.Criticality = /*#__PURE__*/function (Criticality) {
|
|
24
|
-
Criticality["high"] = "high";
|
|
25
|
-
Criticality["medium"] = "medium";
|
|
26
|
-
Criticality["low"] = "low";
|
|
27
|
-
return Criticality;
|
|
28
|
-
}({});
|
|
29
|
-
var Graphically = exports.Graphically = /*#__PURE__*/function (Graphically) {
|
|
30
|
-
Graphically["pink"] = "pink";
|
|
31
|
-
Graphically["purple"] = "purple";
|
|
32
|
-
Graphically["brown"] = "brown";
|
|
33
|
-
Graphically["red"] = "red";
|
|
34
|
-
Graphically["orange"] = "orange";
|
|
35
|
-
Graphically["yellow"] = "yellow";
|
|
36
|
-
Graphically["lightgreen"] = "lightgreen";
|
|
37
|
-
Graphically["green"] = "green";
|
|
38
|
-
Graphically["blue"] = "blue";
|
|
39
|
-
Graphically["gray"] = "gray";
|
|
40
|
-
return Graphically;
|
|
41
|
-
}({});
|