react-luminus-components 1.5.4 → 1.5.6

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 (60) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +36 -36
  3. package/dist/{FormDisabledProvider-Dko54lPr.js → FormDisabledProvider-CB-JXGnI.js} +5 -5
  4. package/dist/FormDisabledProvider-DtQ7YOqf.cjs +1 -0
  5. package/dist/ShortcutLinksContext-AgOPPcPf.cjs +281 -0
  6. package/dist/{nivo-bar.es-CTjPolEf.js → ShortcutLinksContext-CNZMOV_j.js} +6925 -6887
  7. package/dist/components/ShortcutLinks/ShortcutLinksSetup/comps/ShortcutLinkSetupItem/comps/ShortcutLinkItemEdit/ShortcutLinkItemEdit.d.ts +2 -1
  8. package/dist/components/UserSettings/FileDownloadUS/FileDownloadUS.d.ts +1 -3
  9. package/dist/components/common/Approvals/Approvals/Approvals.d.ts +17 -0
  10. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/ApprovalDetail.d.ts +12 -0
  11. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/comps/ApprovalDelegations/ApprovalDelegations.d.ts +9 -0
  12. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/comps/ApprovalLevel/ApprovalLevel.d.ts +11 -0
  13. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/comps/ApprovalLevel/comps/ChangeEmployeeModal/ChangeEmployeeModal.d.ts +13 -0
  14. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/comps/ApprovalLevel/comps/index.d.ts +1 -0
  15. package/dist/components/common/Approvals/Approvals/comps/ApprovalDetail/comps/index.d.ts +2 -0
  16. package/dist/components/common/Approvals/Approvals/comps/index.d.ts +1 -0
  17. package/dist/components/common/Approvals/Delegations/ApprovalsDelegations.d.ts +16 -0
  18. package/dist/components/common/Approvals/Delegations/comps/DelegationModal/DelegationModal.d.ts +14 -0
  19. package/dist/components/common/Approvals/Delegations/comps/DelegationModal/hooks/useDelegationModalApi.d.ts +8 -0
  20. package/dist/components/common/Approvals/Delegations/comps/DelegationsTable/DelegationsTable.d.ts +10 -0
  21. package/dist/components/common/Approvals/Delegations/comps/index.d.ts +2 -0
  22. package/dist/components/common/SettingsFormPicker/SettingsFormPicker.d.ts +4 -3
  23. package/dist/components/common/index.d.ts +2 -0
  24. package/dist/contexts.cjs.js +1 -1
  25. package/dist/contexts.es.js +64 -64
  26. package/dist/hooks.cjs.js +1 -1
  27. package/dist/hooks.es.js +47 -47
  28. package/dist/layout.cjs.js +1 -1
  29. package/dist/layout.es.js +23 -23
  30. package/dist/localStorageUtils-CBQuZzg0.cjs +1 -0
  31. package/dist/localStorageUtils-DBNNyBcc.js +57 -0
  32. package/dist/main.cjs.js +60 -60
  33. package/dist/main.d.ts +1 -0
  34. package/dist/main.es.js +9679 -9408
  35. package/dist/models/api/approval/ApprovalDefinitionIndexModel.d.ts +6 -0
  36. package/dist/models/api/approval/ApprovalDefinitionLevelApproverModel.d.ts +7 -0
  37. package/dist/models/api/approval/ApprovalDefinitionLevelModel.d.ts +8 -0
  38. package/dist/models/api/approval/ApprovalDefinitionModel.d.ts +8 -0
  39. package/dist/models/api/approval/ApprovalDelegationModel.d.ts +12 -0
  40. package/dist/models/index.d.ts +7 -1
  41. package/dist/models/texts/ApprovalTexts.d.ts +44 -0
  42. package/dist/models/types/EmployeePickerBaseProps.d.ts +8 -0
  43. package/dist/models/types/dynamicForms/formPickerTypes/SettingsFormGroup.d.ts +1 -1
  44. package/dist/models/types/dynamicForms/formPickerTypes/SettingsFormItem.d.ts +0 -1
  45. package/dist/models/types/dynamicForms/formPickerTypes/SettingsFormItemWithGroup.d.ts +6 -0
  46. package/dist/models/types/dynamicForms/index.d.ts +1 -0
  47. package/dist/style.css +1 -1
  48. package/dist/useLocalStorageState-B_unZcbQ.cjs +1 -0
  49. package/dist/{useLocalStorageState-BpK3wMPU.js → useLocalStorageState-Uqlj_lt1.js} +10 -10
  50. package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
  51. package/dist/utils/file/fileUtils.d.ts +2 -0
  52. package/dist/utils.cjs.js +1 -1
  53. package/dist/utils.es.js +80 -85
  54. package/dist/variables.scss +165 -165
  55. package/package.json +123 -123
  56. package/dist/FormDisabledProvider-DEnF17ZC.cjs +0 -1
  57. package/dist/localStorageUtils-CHdu9Xvf.js +0 -46
  58. package/dist/localStorageUtils-DUQHXXBp.cjs +0 -1
  59. package/dist/nivo-bar.es-BBwBFH2s.cjs +0 -281
  60. package/dist/useLocalStorageState-BrwcXD6Y.cjs +0 -1
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { j as i, aA as f, U as g } from "./nivo-bar.es-CTjPolEf.js";
2
- import { ca as C, c8 as V, c9 as k, c7 as A, c6 as M, bS as E, bT as W, bm as z, b_ as B, bP as U, c0 as G, aS as Y, c5 as Z, cc as $, bZ as q, bU as H, bd as K, bW as Q, be as X, bV as _, bX as J, bY as tt, c1 as et, bw as rt, bQ as st, b$ as at, bR as ot, cd as it, bI as nt, c2 as lt, bi as ct, bl as mt, cf as ft, c3 as gt, af as ut, c4 as pt, bc as dt, cb as ht, ce as bt } from "./nivo-bar.es-CTjPolEf.js";
1
+ import { j as i, ao as g, U as p } from "./ShortcutLinksContext-CNZMOV_j.js";
2
+ import { cd as j, cb as C, cc as P, ca as k, c9 as M, bU as V, bV as A, a_ as E, c0 as W, bR as z, bn as B, b6 as U, c8 as G, cf as Y, b$ as Z, bW as _, aI as H, bY as K, aJ as $, bX as q, bZ as J, b_ as X, c4 as Q, bl as ee, c2 as te, c1 as se, bS as re, c3 as ae, bT as oe, cg as ie, bK as ne, c5 as le, aT as ce, aZ as me, ci as ge, c6 as pe, _ as fe, c7 as ue, aH as de, ce as he, ch as ye } from "./ShortcutLinksContext-CNZMOV_j.js";
3
3
  import "react";
4
4
  import "@azure/msal-browser";
5
5
  import "@azure/msal-react";
@@ -7,40 +7,31 @@ import "react-router-dom";
7
7
  import "react-dom";
8
8
  import "react-hook-form";
9
9
  import "react-flexmonster";
10
- import { d as St, g as xt, l as Dt, r as Ft } from "./localStorageUtils-CHdu9Xvf.js";
11
- const F = ({ cell: { value: t } }) => /* @__PURE__ */ i.jsx(f, { text: t, placement: "bottom", children: /* @__PURE__ */ i.jsx("div", { className: "w-100 text-truncate", children: t }) }), O = ({ cell: { value: t } }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: t == null ? void 0 : t.toLocaleString("cs-CZ") }), N = ({ cell: { value: t } }) => {
12
- const e = g(new Date(t), "dd.MM.yyyy");
13
- return /* @__PURE__ */ i.jsx(i.Fragment, { children: t ? e : "" });
14
- }, v = (t, e) => {
15
- let s = !1, n = t;
16
- t[0] === "#" && (n = t.slice(1), s = !0);
17
- let r = parseInt(n.substring(0, 2), 16), a = parseInt(n.substring(2, 4), 16), o = parseInt(n.substring(4, 6), 16);
18
- r += e, a += e, o += e, r > 255 ? r = 255 : r < 0 && (r = 0), a > 255 ? a = 255 : a < 0 && (a = 0), o > 255 ? o = 255 : o < 0 && (o = 0);
19
- const l = r.toString(16).length === 1 ? "0" + r.toString(16) : r.toString(16), c = a.toString(16).length === 1 ? "0" + a.toString(16) : a.toString(16), m = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16);
20
- return (s ? "#" : "") + l + c + m;
21
- }, T = (t) => {
22
- const e = t.slice(3), s = [];
23
- for (let r = 0; r < e.length; r += 2)
24
- s.push(e.slice(r, r + 2));
25
- return `#${s.reverse().join("")}`;
26
- };
27
- function u(t, e) {
28
- t.setValue(e, null);
29
- }
30
- function w(t, e) {
31
- e.forEach((s) => {
32
- u(t, s);
33
- });
34
- }
35
- const I = (t) => typeof t.directoryName == "string" && typeof t.directoryPath == "string" && typeof t.directoryTranslationKey == "string" && Array.isArray(t.files), L = async (t) => {
36
- let e = { status: "pending" };
10
+ import { d as be, g as xe, h as Fe, a as De, l as Oe, r as Ne } from "./localStorageUtils-DBNNyBcc.js";
11
+ const F = ({ cell: { value: e } }) => /* @__PURE__ */ i.jsx(g, { text: e, placement: "bottom", children: /* @__PURE__ */ i.jsx("div", { className: "w-100 text-truncate", children: e }) }), D = ({ cell: { value: e } }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: e == null ? void 0 : e.toLocaleString("cs-CZ") }), O = ({ cell: { value: e } }) => {
12
+ const s = p(new Date(e), "dd.MM.yyyy");
13
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: e ? s : "" });
14
+ }, N = (e, s) => {
15
+ let r = !1, n = e;
16
+ e[0] === "#" && (n = e.slice(1), r = !0);
17
+ let t = parseInt(n.substring(0, 2), 16), a = parseInt(n.substring(2, 4), 16), o = parseInt(n.substring(4, 6), 16);
18
+ t += s, a += s, o += s, t > 255 ? t = 255 : t < 0 && (t = 0), a > 255 ? a = 255 : a < 0 && (a = 0), o > 255 ? o = 255 : o < 0 && (o = 0);
19
+ const l = t.toString(16).length === 1 ? "0" + t.toString(16) : t.toString(16), c = a.toString(16).length === 1 ? "0" + a.toString(16) : a.toString(16), m = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16);
20
+ return (r ? "#" : "") + l + c + m;
21
+ }, v = (e) => {
22
+ const s = e.slice(3), r = [];
23
+ for (let t = 0; t < s.length; t += 2)
24
+ r.push(s.slice(t, t + 2));
25
+ return `#${r.reverse().join("")}`;
26
+ }, T = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), w = async (e) => {
27
+ let s = { status: "pending" };
37
28
  try {
38
- e = { status: "success", data: (await t).data };
39
- } catch (s) {
40
- e = { status: "error", error: s };
29
+ s = { status: "success", data: (await e).data };
30
+ } catch (r) {
31
+ s = { status: "error", error: r };
41
32
  }
42
- return e;
43
- }, P = [
33
+ return s;
34
+ }, I = [
44
35
  "edit",
45
36
  "delete",
46
37
  "info",
@@ -76,60 +67,64 @@ const I = (t) => typeof t.directoryName == "string" && typeof t.directoryPath ==
76
67
  "close",
77
68
  "search",
78
69
  "plus",
79
- "minus"
70
+ "minus",
71
+ "menu",
72
+ "arrow-right"
80
73
  ];
81
74
  export {
82
- P as CommonLuminusIconsArray,
83
- v as adjustBrightness,
84
- C as atobUtf8,
85
- V as buildEmployeeNameString,
86
- k as buildOrgUnitString,
87
- A as buildVehicleNameString,
75
+ I as CommonLuminusIconsArray,
76
+ N as adjustBrightness,
77
+ j as atobUtf8,
78
+ C as buildEmployeeNameString,
79
+ P as buildOrgUnitString,
80
+ k as buildVehicleNameString,
88
81
  M as capitalizeFirstLetter,
89
- E as compareDate,
90
- W as compareDateTime,
91
- N as dateValueFormat,
92
- St as dumpLocalStorage,
93
- z as extractErrorsFromResponse,
94
- B as extractFilename,
95
- U as extractPermissionsFromResponse,
96
- G as fixNameIdNulls,
97
- Y as formatDate,
98
- Z as formatDateTime,
99
- $ as formatFileSize,
100
- xt as generateApiPath,
101
- q as getDateString,
102
- H as getDaysDifference,
103
- K as getFirstDayOfMonth,
104
- Q as getFirstDayOfOffsetMonth,
105
- X as getFirstDayOfYear,
106
- _ as getLastDayOfMonth,
82
+ V as compareDate,
83
+ A as compareDateTime,
84
+ O as dateValueFormat,
85
+ be as dumpLocalStorage,
86
+ E as extractErrorsFromResponse,
87
+ W as extractFilename,
88
+ z as extractPermissionsFromResponse,
89
+ B as fixNameIdNulls,
90
+ U as formatDate,
91
+ G as formatDateTime,
92
+ Y as formatFileSize,
93
+ xe as generateApiPath,
94
+ Z as getDateString,
95
+ _ as getDaysDifference,
96
+ H as getFirstDayOfMonth,
97
+ K as getFirstDayOfOffsetMonth,
98
+ $ as getFirstDayOfYear,
99
+ q as getLastDayOfMonth,
107
100
  J as getLastDayOfOffsetMonth,
108
- tt as getLastDayOfYear,
109
- et as hasOnlyNullValues,
110
- u as hookFormSetNull,
111
- w as hookFormSetNulls,
112
- rt as hookFormSetServerErrors,
113
- I as isFileStructureDirectory,
114
- st as isISODate,
115
- at as isPrimitive,
116
- ot as isValidDate,
117
- it as joinStrings,
118
- Dt as limitNumber,
119
- nt as msToStartOfNextDay,
120
- O as numFormat,
121
- lt as replaceNullValuesOnlyObjectsWithNulls,
122
- L as responsePromiseWrapper,
123
- Ft as restoreLocalStorage,
124
- ct as saveFile,
125
- mt as saveFileFromResponse,
126
- ft as shortenText,
127
- gt as stringContains,
128
- ut as stringSearchWithin,
129
- pt as stringStartsWith,
130
- dt as trimIsoDate,
131
- ht as truncateText,
132
- bt as urlfyArray,
101
+ X as getLastDayOfYear,
102
+ Q as hasOnlyNullValues,
103
+ Fe as hookFormSetNull,
104
+ De as hookFormSetNulls,
105
+ ee as hookFormSetServerErrors,
106
+ te as isExtensionOpenable,
107
+ se as isFileOpenable,
108
+ T as isFileStructureDirectory,
109
+ re as isISODate,
110
+ ae as isPrimitive,
111
+ oe as isValidDate,
112
+ ie as joinStrings,
113
+ Oe as limitNumber,
114
+ ne as msToStartOfNextDay,
115
+ D as numFormat,
116
+ le as replaceNullValuesOnlyObjectsWithNulls,
117
+ w as responsePromiseWrapper,
118
+ Ne as restoreLocalStorage,
119
+ ce as saveFile,
120
+ me as saveFileFromResponse,
121
+ ge as shortenText,
122
+ pe as stringContains,
123
+ fe as stringSearchWithin,
124
+ ue as stringStartsWith,
125
+ de as trimIsoDate,
126
+ he as truncateText,
127
+ ye as urlfyArray,
133
128
  F as valueTooltip,
134
- T as vclToHex
129
+ v as vclToHex
135
130
  };
@@ -1,165 +1,165 @@
1
- @use 'sass:color';
2
- @use 'pkg:bootstrap/scss/functions' as bs-functions;
3
-
4
- $enable-negative-margins: true;
5
-
6
- $eon-red: #ea1b0a;
7
- $eon-yellow: #e3e000;
8
- $eon-turquoise: #1ea2b1;
9
-
10
- $palette-turkey-red: #b00402;
11
- $palette-moonstone: #56b9c5;
12
- $palette-light-cyan: #c7e8eb;
13
- $palette-jet: #39393a;
14
- $palette-battleship-gray: #8f9192;
15
- $palette-alice-blue: #ebf2f4;
16
- $palette-seasalt: #f6f7f7;
17
-
18
- $bg: #f7fbfa;
19
- $bg-darker: #ebf2f4;
20
-
21
- $accent-darker: #e9edf2;
22
-
23
- $danger: #f4254e;
24
- $danger-100: color.adjust($danger, $lightness: 40%);
25
- $danger-50: color.adjust($danger, $lightness: 43%);
26
-
27
- $success: #00b77a;
28
-
29
- $warning: #ffb000;
30
-
31
- $info: #38b0e5;
32
-
33
- $border-radius: 4px;
34
- $border-width: 1px;
35
- $border-color: $bg-darker;
36
-
37
- $white: #fff !default;
38
- $gray-100: #f8f9fa !default;
39
- $gray-200: #e9ecef !default;
40
- $gray-300: #dee2e6 !default;
41
- $gray-400: #ced4da !default;
42
- $gray-500: #adb5bd !default;
43
- $gray-600: #6c757d !default;
44
- $gray-700: #495057 !default;
45
- $gray-800: #343a40 !default;
46
- $gray-900: #212529 !default;
47
- $black: #000 !default;
48
- $blue: #0d6efd !default;
49
- $indigo: #6610f2 !default;
50
- $purple: #6f42c1 !default;
51
- $pink: #d63384 !default;
52
- $red: #dc3545 !default;
53
- $orange: #fd7e14 !default;
54
- $yellow: #ffc107 !default;
55
- $green: #198754 !default;
56
- $teal: #20c997 !default;
57
- $cyan: #0dcaf0 !default;
58
- $blue-100: bs-functions.tint-color($blue, 80%) !default;
59
- $blue-200: bs-functions.tint-color($blue, 60%) !default;
60
- $blue-300: bs-functions.tint-color($blue, 40%) !default;
61
- $blue-400: bs-functions.tint-color($blue, 20%) !default;
62
- $blue-500: $blue !default;
63
- $blue-600: bs-functions.shade-color($blue, 20%) !default;
64
- $blue-700: bs-functions.shade-color($blue, 40%) !default;
65
- $blue-800: bs-functions.shade-color($blue, 60%) !default;
66
- $blue-900: bs-functions.shade-color($blue, 80%) !default;
67
- $indigo-100: bs-functions.tint-color($indigo, 80%) !default;
68
- $indigo-200: bs-functions.tint-color($indigo, 60%) !default;
69
- $indigo-300: bs-functions.tint-color($indigo, 40%) !default;
70
- $indigo-400: bs-functions.tint-color($indigo, 20%) !default;
71
- $indigo-500: $indigo !default;
72
- $indigo-600: bs-functions.shade-color($indigo, 20%) !default;
73
- $indigo-700: bs-functions.shade-color($indigo, 40%) !default;
74
- $indigo-800: bs-functions.shade-color($indigo, 60%) !default;
75
- $indigo-900: bs-functions.shade-color($indigo, 80%) !default;
76
- $purple-100: bs-functions.tint-color($purple, 80%) !default;
77
- $purple-200: bs-functions.tint-color($purple, 60%) !default;
78
- $purple-300: bs-functions.tint-color($purple, 40%) !default;
79
- $purple-400: bs-functions.tint-color($purple, 20%) !default;
80
- $purple-500: $purple !default;
81
- $purple-600: bs-functions.shade-color($purple, 20%) !default;
82
- $purple-700: bs-functions.shade-color($purple, 40%) !default;
83
- $purple-800: bs-functions.shade-color($purple, 60%) !default;
84
- $purple-900: bs-functions.shade-color($purple, 80%) !default;
85
- $pink-100: bs-functions.tint-color($pink, 80%) !default;
86
- $pink-200: bs-functions.tint-color($pink, 60%) !default;
87
- $pink-300: bs-functions.tint-color($pink, 40%) !default;
88
- $pink-400: bs-functions.tint-color($pink, 20%) !default;
89
- $pink-500: $pink !default;
90
- $pink-600: bs-functions.shade-color($pink, 20%) !default;
91
- $pink-700: bs-functions.shade-color($pink, 40%) !default;
92
- $pink-800: bs-functions.shade-color($pink, 60%) !default;
93
- $pink-900: bs-functions.shade-color($pink, 80%) !default;
94
- $red-100: bs-functions.tint-color($red, 80%) !default;
95
- $red-200: bs-functions.tint-color($red, 60%) !default;
96
- $red-300: bs-functions.tint-color($red, 40%) !default;
97
- $red-400: bs-functions.tint-color($red, 20%) !default;
98
- $red-500: $red !default;
99
- $red-600: bs-functions.shade-color($red, 20%) !default;
100
- $red-700: bs-functions.shade-color($red, 40%) !default;
101
- $red-800: bs-functions.shade-color($red, 60%) !default;
102
- $red-900: bs-functions.shade-color($red, 80%) !default;
103
- $orange-100: bs-functions.tint-color($orange, 80%) !default;
104
- $orange-200: bs-functions.tint-color($orange, 60%) !default;
105
- $orange-300: bs-functions.tint-color($orange, 40%) !default;
106
- $orange-400: bs-functions.tint-color($orange, 20%) !default;
107
- $orange-500: $orange !default;
108
- $orange-600: bs-functions.shade-color($orange, 20%) !default;
109
- $orange-700: bs-functions.shade-color($orange, 40%) !default;
110
- $orange-800: bs-functions.shade-color($orange, 60%) !default;
111
- $orange-900: bs-functions.shade-color($orange, 80%) !default;
112
- $yellow-100: bs-functions.tint-color($yellow, 80%) !default;
113
- $yellow-200: bs-functions.tint-color($yellow, 60%) !default;
114
- $yellow-300: bs-functions.tint-color($yellow, 40%) !default;
115
- $yellow-400: bs-functions.tint-color($yellow, 20%) !default;
116
- $yellow-500: $yellow !default;
117
- $yellow-600: bs-functions.shade-color($yellow, 20%) !default;
118
- $yellow-700: bs-functions.shade-color($yellow, 40%) !default;
119
- $yellow-800: bs-functions.shade-color($yellow, 60%) !default;
120
- $yellow-900: bs-functions.shade-color($yellow, 80%) !default;
121
- $green-100: bs-functions.tint-color($green, 80%) !default;
122
- $green-200: bs-functions.tint-color($green, 60%) !default;
123
- $green-300: bs-functions.tint-color($green, 40%) !default;
124
- $green-400: bs-functions.tint-color($green, 20%) !default;
125
- $green-500: $green !default;
126
- $green-600: bs-functions.shade-color($green, 20%) !default;
127
- $green-700: bs-functions.shade-color($green, 40%) !default;
128
- $green-800: bs-functions.shade-color($green, 60%) !default;
129
- $green-900: bs-functions.shade-color($green, 80%) !default;
130
- $teal-100: bs-functions.tint-color($teal, 80%) !default;
131
- $teal-200: bs-functions.tint-color($teal, 60%) !default;
132
- $teal-300: bs-functions.tint-color($teal, 40%) !default;
133
- $teal-400: bs-functions.tint-color($teal, 20%) !default;
134
- $teal-500: $teal !default;
135
- $teal-600: bs-functions.shade-color($teal, 20%) !default;
136
- $teal-700: bs-functions.shade-color($teal, 40%) !default;
137
- $teal-800: bs-functions.shade-color($teal, 60%) !default;
138
- $teal-900: bs-functions.shade-color($teal, 80%) !default;
139
- $cyan-100: bs-functions.tint-color($cyan, 80%) !default;
140
- $cyan-200: bs-functions.tint-color($cyan, 60%) !default;
141
- $cyan-300: bs-functions.tint-color($cyan, 40%) !default;
142
- $cyan-400: bs-functions.tint-color($cyan, 20%) !default;
143
- $cyan-500: $cyan !default;
144
- $cyan-600: bs-functions.shade-color($cyan, 20%) !default;
145
- $cyan-700: bs-functions.shade-color($cyan, 40%) !default;
146
- $cyan-800: bs-functions.shade-color($cyan, 60%) !default;
147
- $cyan-900: bs-functions.shade-color($cyan, 80%) !default;
148
-
149
- $text: #1e2832;
150
- $text-muted: #8a929c;
151
- $text-light: $gray-200;
152
-
153
- $dark: $text;
154
-
155
- $box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
156
- $box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
157
- // $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
158
- $box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
159
- $box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
160
- $box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
161
- $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
162
- $box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
163
-
164
- $modal-backdrop-bg: black;
165
- $modal-backdrop-opacity: 0.3;
1
+ @use 'sass:color';
2
+ @use 'pkg:bootstrap/scss/functions' as bs-functions;
3
+
4
+ $enable-negative-margins: true;
5
+
6
+ $eon-red: #ea1b0a;
7
+ $eon-yellow: #e3e000;
8
+ $eon-turquoise: #1ea2b1;
9
+
10
+ $palette-turkey-red: #b00402;
11
+ $palette-moonstone: #56b9c5;
12
+ $palette-light-cyan: #c7e8eb;
13
+ $palette-jet: #39393a;
14
+ $palette-battleship-gray: #8f9192;
15
+ $palette-alice-blue: #ebf2f4;
16
+ $palette-seasalt: #f6f7f7;
17
+
18
+ $bg: #f7fbfa;
19
+ $bg-darker: #ebf2f4;
20
+
21
+ $accent-darker: #e9edf2;
22
+
23
+ $danger: #f4254e;
24
+ $danger-100: color.adjust($danger, $lightness: 40%);
25
+ $danger-50: color.adjust($danger, $lightness: 43%);
26
+
27
+ $success: #00b77a;
28
+
29
+ $warning: #ffb000;
30
+
31
+ $info: #38b0e5;
32
+
33
+ $border-radius: 4px;
34
+ $border-width: 1px;
35
+ $border-color: $bg-darker;
36
+
37
+ $white: #fff !default;
38
+ $gray-100: #f8f9fa !default;
39
+ $gray-200: #e9ecef !default;
40
+ $gray-300: #dee2e6 !default;
41
+ $gray-400: #ced4da !default;
42
+ $gray-500: #adb5bd !default;
43
+ $gray-600: #6c757d !default;
44
+ $gray-700: #495057 !default;
45
+ $gray-800: #343a40 !default;
46
+ $gray-900: #212529 !default;
47
+ $black: #000 !default;
48
+ $blue: #0d6efd !default;
49
+ $indigo: #6610f2 !default;
50
+ $purple: #6f42c1 !default;
51
+ $pink: #d63384 !default;
52
+ $red: #dc3545 !default;
53
+ $orange: #fd7e14 !default;
54
+ $yellow: #ffc107 !default;
55
+ $green: #198754 !default;
56
+ $teal: #20c997 !default;
57
+ $cyan: #0dcaf0 !default;
58
+ $blue-100: bs-functions.tint-color($blue, 80%) !default;
59
+ $blue-200: bs-functions.tint-color($blue, 60%) !default;
60
+ $blue-300: bs-functions.tint-color($blue, 40%) !default;
61
+ $blue-400: bs-functions.tint-color($blue, 20%) !default;
62
+ $blue-500: $blue !default;
63
+ $blue-600: bs-functions.shade-color($blue, 20%) !default;
64
+ $blue-700: bs-functions.shade-color($blue, 40%) !default;
65
+ $blue-800: bs-functions.shade-color($blue, 60%) !default;
66
+ $blue-900: bs-functions.shade-color($blue, 80%) !default;
67
+ $indigo-100: bs-functions.tint-color($indigo, 80%) !default;
68
+ $indigo-200: bs-functions.tint-color($indigo, 60%) !default;
69
+ $indigo-300: bs-functions.tint-color($indigo, 40%) !default;
70
+ $indigo-400: bs-functions.tint-color($indigo, 20%) !default;
71
+ $indigo-500: $indigo !default;
72
+ $indigo-600: bs-functions.shade-color($indigo, 20%) !default;
73
+ $indigo-700: bs-functions.shade-color($indigo, 40%) !default;
74
+ $indigo-800: bs-functions.shade-color($indigo, 60%) !default;
75
+ $indigo-900: bs-functions.shade-color($indigo, 80%) !default;
76
+ $purple-100: bs-functions.tint-color($purple, 80%) !default;
77
+ $purple-200: bs-functions.tint-color($purple, 60%) !default;
78
+ $purple-300: bs-functions.tint-color($purple, 40%) !default;
79
+ $purple-400: bs-functions.tint-color($purple, 20%) !default;
80
+ $purple-500: $purple !default;
81
+ $purple-600: bs-functions.shade-color($purple, 20%) !default;
82
+ $purple-700: bs-functions.shade-color($purple, 40%) !default;
83
+ $purple-800: bs-functions.shade-color($purple, 60%) !default;
84
+ $purple-900: bs-functions.shade-color($purple, 80%) !default;
85
+ $pink-100: bs-functions.tint-color($pink, 80%) !default;
86
+ $pink-200: bs-functions.tint-color($pink, 60%) !default;
87
+ $pink-300: bs-functions.tint-color($pink, 40%) !default;
88
+ $pink-400: bs-functions.tint-color($pink, 20%) !default;
89
+ $pink-500: $pink !default;
90
+ $pink-600: bs-functions.shade-color($pink, 20%) !default;
91
+ $pink-700: bs-functions.shade-color($pink, 40%) !default;
92
+ $pink-800: bs-functions.shade-color($pink, 60%) !default;
93
+ $pink-900: bs-functions.shade-color($pink, 80%) !default;
94
+ $red-100: bs-functions.tint-color($red, 80%) !default;
95
+ $red-200: bs-functions.tint-color($red, 60%) !default;
96
+ $red-300: bs-functions.tint-color($red, 40%) !default;
97
+ $red-400: bs-functions.tint-color($red, 20%) !default;
98
+ $red-500: $red !default;
99
+ $red-600: bs-functions.shade-color($red, 20%) !default;
100
+ $red-700: bs-functions.shade-color($red, 40%) !default;
101
+ $red-800: bs-functions.shade-color($red, 60%) !default;
102
+ $red-900: bs-functions.shade-color($red, 80%) !default;
103
+ $orange-100: bs-functions.tint-color($orange, 80%) !default;
104
+ $orange-200: bs-functions.tint-color($orange, 60%) !default;
105
+ $orange-300: bs-functions.tint-color($orange, 40%) !default;
106
+ $orange-400: bs-functions.tint-color($orange, 20%) !default;
107
+ $orange-500: $orange !default;
108
+ $orange-600: bs-functions.shade-color($orange, 20%) !default;
109
+ $orange-700: bs-functions.shade-color($orange, 40%) !default;
110
+ $orange-800: bs-functions.shade-color($orange, 60%) !default;
111
+ $orange-900: bs-functions.shade-color($orange, 80%) !default;
112
+ $yellow-100: bs-functions.tint-color($yellow, 80%) !default;
113
+ $yellow-200: bs-functions.tint-color($yellow, 60%) !default;
114
+ $yellow-300: bs-functions.tint-color($yellow, 40%) !default;
115
+ $yellow-400: bs-functions.tint-color($yellow, 20%) !default;
116
+ $yellow-500: $yellow !default;
117
+ $yellow-600: bs-functions.shade-color($yellow, 20%) !default;
118
+ $yellow-700: bs-functions.shade-color($yellow, 40%) !default;
119
+ $yellow-800: bs-functions.shade-color($yellow, 60%) !default;
120
+ $yellow-900: bs-functions.shade-color($yellow, 80%) !default;
121
+ $green-100: bs-functions.tint-color($green, 80%) !default;
122
+ $green-200: bs-functions.tint-color($green, 60%) !default;
123
+ $green-300: bs-functions.tint-color($green, 40%) !default;
124
+ $green-400: bs-functions.tint-color($green, 20%) !default;
125
+ $green-500: $green !default;
126
+ $green-600: bs-functions.shade-color($green, 20%) !default;
127
+ $green-700: bs-functions.shade-color($green, 40%) !default;
128
+ $green-800: bs-functions.shade-color($green, 60%) !default;
129
+ $green-900: bs-functions.shade-color($green, 80%) !default;
130
+ $teal-100: bs-functions.tint-color($teal, 80%) !default;
131
+ $teal-200: bs-functions.tint-color($teal, 60%) !default;
132
+ $teal-300: bs-functions.tint-color($teal, 40%) !default;
133
+ $teal-400: bs-functions.tint-color($teal, 20%) !default;
134
+ $teal-500: $teal !default;
135
+ $teal-600: bs-functions.shade-color($teal, 20%) !default;
136
+ $teal-700: bs-functions.shade-color($teal, 40%) !default;
137
+ $teal-800: bs-functions.shade-color($teal, 60%) !default;
138
+ $teal-900: bs-functions.shade-color($teal, 80%) !default;
139
+ $cyan-100: bs-functions.tint-color($cyan, 80%) !default;
140
+ $cyan-200: bs-functions.tint-color($cyan, 60%) !default;
141
+ $cyan-300: bs-functions.tint-color($cyan, 40%) !default;
142
+ $cyan-400: bs-functions.tint-color($cyan, 20%) !default;
143
+ $cyan-500: $cyan !default;
144
+ $cyan-600: bs-functions.shade-color($cyan, 20%) !default;
145
+ $cyan-700: bs-functions.shade-color($cyan, 40%) !default;
146
+ $cyan-800: bs-functions.shade-color($cyan, 60%) !default;
147
+ $cyan-900: bs-functions.shade-color($cyan, 80%) !default;
148
+
149
+ $text: #1e2832;
150
+ $text-muted: #8a929c;
151
+ $text-light: $gray-200;
152
+
153
+ $dark: $text;
154
+
155
+ $box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
156
+ $box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
157
+ // $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
158
+ $box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
159
+ $box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
160
+ $box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
161
+ $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
162
+ $box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
163
+
164
+ $modal-backdrop-bg: black;
165
+ $modal-backdrop-opacity: 0.3;