react-luminus-components 1.5.16 → 1.5.18

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 (42) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +30 -30
  3. package/dist/FormDisabledProvider-BNE4w-91.cjs +1 -0
  4. package/dist/{FormDisabledProvider-DmsIGftF.js → FormDisabledProvider-Ct-odePz.js} +3 -3
  5. package/dist/ShortcutLinksContext-B6B_uG2X.js +39866 -0
  6. package/dist/ShortcutLinksContext-d3AdgJhg.cjs +334 -0
  7. package/dist/components/Documents/Documents.d.ts +10 -3
  8. package/dist/components/Documents/components/DocumentsFilesTable/DocumentsFilesTable.d.ts +11 -3
  9. package/dist/components/Documents/components/DocumentsFilesTable/hooks/useDocumentsFilesColumns.d.ts +2 -2
  10. package/dist/components/Imports/Result/Result.d.ts +5 -3
  11. package/dist/components/Localization/LocalizationImport/LocalizationImport.d.ts +5 -3
  12. package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +7 -3
  13. package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +5 -3
  14. package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +4 -3
  15. package/dist/components/NotifCenter/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +4 -3
  16. package/dist/components/common/Approvals/Delegations/ApprovalsDelegations.d.ts +7 -4
  17. package/dist/components/common/Approvals/Delegations/comps/DelegationsTable/DelegationsTable.d.ts +6 -3
  18. package/dist/components/common/PermissionsSubstitute/SubstituteTable/SubstituteTable.d.ts +6 -3
  19. package/dist/contexts.cjs.js +1 -1
  20. package/dist/contexts.es.js +32 -32
  21. package/dist/hooks.cjs.js +1 -1
  22. package/dist/hooks.es.js +45 -45
  23. package/dist/layout.cjs.js +1 -1
  24. package/dist/layout.es.js +20 -20
  25. package/dist/main.cjs.js +50 -50
  26. package/dist/main.es.js +9153 -9130
  27. package/dist/models/bnfTable/BnfTableWrappedProps.d.ts +70 -0
  28. package/dist/models/legacyBnfTable/TableDefaultConfig.d.ts +23 -0
  29. package/dist/style.css +1 -1
  30. package/dist/useLocalStorageState-CGKmNXMv.cjs +1 -0
  31. package/dist/{useLocalStorageState-Bt5yy2Yy.js → useLocalStorageState-DG9g_lFm.js} +10 -10
  32. package/dist/utils/bnfTable/bnfTableUtils.d.ts +5 -0
  33. package/dist/utils/bnfValueFormat/bnfValueFormat.d.ts +5 -3
  34. package/dist/utils/index.d.ts +1 -0
  35. package/dist/utils.cjs.js +1 -1
  36. package/dist/utils.es.js +109 -71
  37. package/dist/variables.scss +165 -165
  38. package/package.json +123 -123
  39. package/dist/FormDisabledProvider-BVhDveJZ.cjs +0 -1
  40. package/dist/nivo-bar.es-DYTSOlB_.js +0 -28243
  41. package/dist/nivo-bar.es-D_6oLmDV.cjs +0 -281
  42. package/dist/useLocalStorageState-B4sP2ZIX.cjs +0 -1
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { j as i, aA as g, U as f } from "./nivo-bar.es-DYTSOlB_.js";
2
- import { cd as C, cb as I, cc as P, ca as k, c9 as A, bU as M, bV as V, bm as E, c0 as W, bR as z, by as B, aS as U, c8 as G, cf as Y, b$ as K, bW as Z, bd as $, bY as q, be as H, bX as X, bZ as _, b_ as J, c4 as Q, bw 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, bi as ce, bl as me, ci as ge, c6 as fe, af as pe, c7 as ue, bc as de, ce as he, ch as be } from "./nivo-bar.es-DYTSOlB_.js";
1
+ import { j as n, ao as u, U as d } from "./ShortcutLinksContext-B6B_uG2X.js";
2
+ import { ce as I, cc as z, cd as M, cb as R, ca as k, bV as E, bW as U, a_ as A, c1 as B, bS as G, bo as W, b6 as $, c9 as Y, cg as Z, c0 as _, bX as H, aI as J, bZ as q, aJ as K, bY as Q, b_ as X, b$ as ee, c5 as te, bm as re, c3 as se, c2 as ae, bT as oe, c4 as ie, bU as ne, ch as le, bL as ce, c6 as me, aT as ue, aZ as de, cj as ge, c7 as pe, _ as fe, c8 as he, aH as Se, cf as be, ci as ye } from "./ShortcutLinksContext-B6B_uG2X.js";
3
3
  import "react";
4
4
  import "@azure/msal-browser";
5
5
  import "@azure/msal-react";
@@ -7,31 +7,67 @@ import "react-router-dom";
7
7
  import "react-dom";
8
8
  import "react-hook-form";
9
9
  import "react-flexmonster";
10
- import { d as Se, 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 = f(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);
10
+ import { d as Fe, g as De, h as Oe, a as ve, l as Ne, r as Te } from "./localStorageUtils-DBNNyBcc.js";
11
+ const F = (e) => {
12
+ var t, r;
13
+ return /* @__PURE__ */ n.jsx(u, { text: ((t = e.getValue()) == null ? void 0 : t.toString()) ?? "", placement: "bottom", children: /* @__PURE__ */ n.jsx("div", { className: "w-100 text-truncate", children: ((r = e.getValue()) == null ? void 0 : r.toString()) ?? "" }) });
14
+ }, D = (e) => {
15
+ var t;
16
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: (t = e.getValue()) == null ? void 0 : t.toLocaleString("cs-CZ") });
17
+ }, O = (e) => {
18
+ var s;
19
+ const t = ((s = e.getValue()) == null ? void 0 : s.toString()) ?? "", r = d(new Date(t), "dd.MM.yyyy");
20
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? r : "" });
21
+ }, v = (e, t) => {
22
+ let r = !1, s = e;
23
+ e[0] === "#" && (s = e.slice(1), r = !0);
24
+ let a = parseInt(s.substring(0, 2), 16), o = parseInt(s.substring(2, 4), 16), i = parseInt(s.substring(4, 6), 16);
25
+ a += t, o += t, i += t, a > 255 ? a = 255 : a < 0 && (a = 0), o > 255 ? o = 255 : o < 0 && (o = 0), i > 255 ? i = 255 : i < 0 && (i = 0);
26
+ const l = a.toString(16).length === 1 ? "0" + a.toString(16) : a.toString(16), c = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16), m = i.toString(16).length === 1 ? "0" + i.toString(16) : i.toString(16);
20
27
  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));
28
+ }, N = (e) => {
29
+ const t = e.slice(3), r = [];
30
+ for (let a = 0; a < t.length; a += 2)
31
+ r.push(t.slice(a, a + 2));
25
32
  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" };
33
+ }, T = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), C = async (e) => {
34
+ let t = { status: "pending" };
28
35
  try {
29
- s = { status: "success", data: (await e).data };
36
+ t = { status: "success", data: (await e).data };
30
37
  } catch (r) {
31
- s = { status: "error", error: r };
38
+ t = { status: "error", error: r };
32
39
  }
33
- return s;
34
- }, L = [
40
+ return t;
41
+ }, w = (e) => {
42
+ var t, r;
43
+ return {
44
+ columnOrder: e.columnsOrder ?? [],
45
+ columnVisibility: Object.fromEntries((e.hiddenColumns ?? []).map((s) => [s, !1])),
46
+ pagination: {
47
+ pageIndex: 0,
48
+ pageSize: e.defaultPageSize ?? 50
49
+ },
50
+ columnSorting: e.defaultSort ? [e.defaultSort] : [],
51
+ columnFilters: e.defaultFilters ?? [],
52
+ columnPinning: e.fixedColumns ? {
53
+ left: e.fixedColumns.left ? [e.fixedColumns.left] : [],
54
+ right: e.fixedColumns.right ? [e.fixedColumns.right] : []
55
+ } : { left: [], right: [] },
56
+ size: e.isDense ? "sm" : "md",
57
+ mobileDisplayGroup: ((t = e.onMobile) == null ? void 0 : t.defaultDisplayGroup) ?? "",
58
+ mobileFilter: { globalFilter: "" },
59
+ mobileShowColumnNames: ((r = e.onMobile) == null ? void 0 : r.showColumnNames) ?? !1,
60
+ columnSizing: {},
61
+ grouping: [],
62
+ expanding: {},
63
+ isFullScreen: !1
64
+ };
65
+ }, V = (e, t) => {
66
+ const r = new URLSearchParams();
67
+ return Object.keys(e).forEach((s) => {
68
+ r.append(`BnfTable-${t || "Universal"}.${s}`, JSON.stringify(e[s]));
69
+ }), r.toString();
70
+ }, j = [
35
71
  "edit",
36
72
  "delete",
37
73
  "info",
@@ -72,59 +108,61 @@ const F = ({ cell: { value: e } }) => /* @__PURE__ */ i.jsx(g, { text: e, placem
72
108
  "arrow-right"
73
109
  ];
74
110
  export {
75
- L as CommonLuminusIconsArray,
76
- N as adjustBrightness,
77
- C as atobUtf8,
78
- I as buildEmployeeNameString,
79
- P as buildOrgUnitString,
80
- k as buildVehicleNameString,
81
- A as capitalizeFirstLetter,
82
- M as compareDate,
83
- V as compareDateTime,
111
+ j as CommonLuminusIconsArray,
112
+ v as adjustBrightness,
113
+ I as atobUtf8,
114
+ z as buildEmployeeNameString,
115
+ M as buildOrgUnitString,
116
+ V as buildTableSearchQuery,
117
+ R as buildVehicleNameString,
118
+ k as capitalizeFirstLetter,
119
+ E as compareDate,
120
+ U as compareDateTime,
121
+ w as configToTanstackTableState,
84
122
  O as dateValueFormat,
85
- Se 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
- K as getDateString,
95
- Z as getDaysDifference,
96
- $ as getFirstDayOfMonth,
123
+ Fe as dumpLocalStorage,
124
+ A as extractErrorsFromResponse,
125
+ B as extractFilename,
126
+ G as extractPermissionsFromResponse,
127
+ W as fixNameIdNulls,
128
+ $ as formatDate,
129
+ Y as formatDateTime,
130
+ Z as formatFileSize,
131
+ De as generateApiPath,
132
+ _ as getDateString,
133
+ H as getDaysDifference,
134
+ J as getFirstDayOfMonth,
97
135
  q as getFirstDayOfOffsetMonth,
98
- H as getFirstDayOfYear,
99
- X as getLastDayOfMonth,
100
- _ as getLastDayOfOffsetMonth,
101
- J 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,
136
+ K as getFirstDayOfYear,
137
+ Q as getLastDayOfMonth,
138
+ X as getLastDayOfOffsetMonth,
139
+ ee as getLastDayOfYear,
140
+ te as hasOnlyNullValues,
141
+ Oe as hookFormSetNull,
142
+ ve as hookFormSetNulls,
143
+ re as hookFormSetServerErrors,
144
+ se as isExtensionOpenable,
145
+ ae as isFileOpenable,
108
146
  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,
147
+ oe as isISODate,
148
+ ie as isPrimitive,
149
+ ne as isValidDate,
150
+ le as joinStrings,
151
+ Ne as limitNumber,
152
+ ce as msToStartOfNextDay,
115
153
  D as numFormat,
116
- le as replaceNullValuesOnlyObjectsWithNulls,
117
- w as responsePromiseWrapper,
118
- Ne as restoreLocalStorage,
119
- ce as saveFile,
120
- me as saveFileFromResponse,
154
+ me as replaceNullValuesOnlyObjectsWithNulls,
155
+ C as responsePromiseWrapper,
156
+ Te as restoreLocalStorage,
157
+ ue as saveFile,
158
+ de as saveFileFromResponse,
121
159
  ge as shortenText,
122
- fe as stringContains,
123
- pe as stringSearchWithin,
124
- ue as stringStartsWith,
125
- de as trimIsoDate,
126
- he as truncateText,
127
- be as urlfyArray,
160
+ pe as stringContains,
161
+ fe as stringSearchWithin,
162
+ he as stringStartsWith,
163
+ Se as trimIsoDate,
164
+ be as truncateText,
165
+ ye as urlfyArray,
128
166
  F as valueTooltip,
129
- v as vclToHex
167
+ N as vclToHex
130
168
  };
@@ -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;