react-luminus-components 2.0.1-table-d03d7058b722969c6483c37eaffda481c74264aa → 2.0.3-beta.r19-3

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 (79) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +46 -46
  3. package/dist/FormDisabledProvider-CNVOqN9X.js +40 -0
  4. package/dist/FormDisabledProvider-DmZDEoe7.cjs +1 -0
  5. package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +6 -3
  6. package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +4 -1
  7. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +6 -1
  8. package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
  9. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +6 -3
  10. package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +3 -1
  11. package/dist/components/Flexmonster/Flexmonster.d.ts +1 -1
  12. package/dist/components/Flexmonster/hooks/useReportVersionApi.d.ts +1 -1
  13. package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +1 -1
  14. package/dist/components/HookForm/MiniDetailWrapper/MiniDetailWrapper.d.ts +1 -1
  15. package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -17
  16. package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +7 -38
  17. package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +8 -38
  18. package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +8 -38
  19. package/dist/components/ResponsiveContextDropdown/components/ResponsiveContextDropdownItem/ResponsiveContextDropdownItem.d.ts +1 -1
  20. package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts +2 -2
  21. package/dist/components/ResponsiveContextDropdown/utils/responsiveContextDropdownUtils.d.ts +1 -1
  22. package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +2 -2
  23. package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -1
  24. package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +1 -1
  25. package/dist/components/common/ColumnResizer/ColumnResizer.d.ts +1 -1
  26. package/dist/components/common/DisabledRowLabelLink/DisabledRowLabelLink.d.ts +1 -1
  27. package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +7 -3
  28. package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +3 -1
  29. package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
  30. package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +8 -1
  31. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +15 -0
  32. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +14 -0
  33. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +5 -0
  34. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +1 -0
  35. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +1 -0
  36. package/dist/components/common/PhotoLightbox/comps/index.d.ts +1 -0
  37. package/dist/components/common/QrCode/QrCode.d.ts +1 -1
  38. package/dist/components/common/RouteLink/RouteLink.d.ts +1 -1
  39. package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -1
  40. package/dist/components/common/index.d.ts +0 -1
  41. package/dist/contexts.cjs.js +1 -1
  42. package/dist/contexts.es.js +274 -921
  43. package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
  44. package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
  45. package/dist/hooks.cjs.js +1 -1
  46. package/dist/hooks.es.js +105 -89
  47. package/dist/layout.cjs.js +1 -1
  48. package/dist/layout.es.js +109 -120
  49. package/dist/{localStorageUtils-DBNNyBcc.js → localStorageUtils-DKh4zlsM.js} +5 -5
  50. package/dist/localStorageUtils-VI7zmTA0.cjs +1 -0
  51. package/dist/main.cjs.js +21 -183
  52. package/dist/main.es.js +6372 -11355
  53. package/dist/models/bntTable/IBnfTableDefColumn.d.ts +40 -0
  54. package/dist/models/prop-types/InputContainerProps.d.ts +4 -12
  55. package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
  56. package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +4 -2
  57. package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
  58. package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
  59. package/dist/{ShortcutLinksContext-B6B_uG2X.js → nivo-bar-DXK3wbjv.js} +28480 -28322
  60. package/dist/nivo-bar-U0TkOANS.cjs +306 -0
  61. package/dist/style.css +1 -1
  62. package/dist/useEmployeePhotoPath-DdMmh1qU.js +65 -0
  63. package/dist/useEmployeePhotoPath-Q0EhpWOh.cjs +1 -0
  64. package/dist/{useLocalStorageState-DG9g_lFm.js → useLocalStorageState-B3o2yBVf.js} +15 -14
  65. package/dist/useLocalStorageState-BWT4Z8eu.cjs +1 -0
  66. package/dist/utils/bnfTable/bnfTableUtils.d.ts +1 -0
  67. package/dist/utils/route/apiPathUtils.d.ts +1 -1
  68. package/dist/utils.cjs.js +1 -1
  69. package/dist/utils.es.js +101 -79
  70. package/dist/variables.scss +165 -165
  71. package/package.json +124 -123
  72. package/dist/FormDisabledProvider-BNE4w-91.cjs +0 -1
  73. package/dist/FormDisabledProvider-Ct-odePz.js +0 -40
  74. package/dist/ShortcutLinksContext-d3AdgJhg.cjs +0 -334
  75. package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +0 -5
  76. package/dist/localStorageUtils-CBQuZzg0.cjs +0 -1
  77. package/dist/useLocalStorageState-CGKmNXMv.cjs +0 -1
  78. package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +0 -78
  79. package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +0 -1
package/dist/utils.es.js CHANGED
@@ -1,36 +1,37 @@
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 E, cb as M, ca as R, bV as k, bW as U, a_ as W, c1 as A, bS as B, bo as G, 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";
1
+ import { aD as g, W as f } from "./nivo-bar-DXK3wbjv.js";
2
+ import { cg as E, ce as L, cf as z, cd as W, cc as R, bX as $, bY as A, bo as G, c3 as J, bU as U, bD as Y, aW as Z, cb as q, ci as H, c2 as K, bZ as Q, bg as X, b$ as _, bh as ee, b_ as te, c0 as re, c1 as se, c7 as ae, bB as oe, c5 as ne, c4 as ie, bV as le, c6 as ce, bW as me, $ as ue, bO as ge, c8 as fe, bk as de, bn as pe, ck as he, c9 as Se, aj as be, ca as ye, bf as Oe, ch as De, cj as Fe } from "./nivo-bar-DXK3wbjv.js";
3
+ import { jsx as l, Fragment as c } from "react/jsx-runtime";
3
4
  import "react";
4
5
  import "@azure/msal-browser";
5
6
  import "@azure/msal-react";
6
- import "react-router-dom";
7
+ import "react-router";
7
8
  import "react-dom";
8
9
  import "react-hook-form";
9
10
  import "react-flexmonster";
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) => {
11
+ import { d as Te, g as Ne, h as ve, a as Ce, l as we, r as Me } from "./localStorageUtils-DKh4zlsM.js";
12
+ const T = (e) => {
12
13
  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) => {
14
+ return /* @__PURE__ */ l(g, { text: ((t = e.getValue()) == null ? void 0 : t.toString()) ?? "", placement: "bottom", children: /* @__PURE__ */ l("div", { className: "w-100 text-truncate", children: ((r = e.getValue()) == null ? void 0 : r.toString()) ?? "" }) });
15
+ }, N = (e) => {
15
16
  var t;
16
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: (t = e.getValue()) == null ? void 0 : t.toLocaleString("cs-CZ") });
17
- }, O = (e) => {
17
+ return /* @__PURE__ */ l(c, { children: (t = e.getValue()) == null ? void 0 : t.toLocaleString("cs-CZ") });
18
+ }, v = (e) => {
18
19
  var a;
19
- const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r = d(new Date(t), "dd.MM.yyyy");
20
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? r : "" });
21
- }, v = (e, t) => {
20
+ const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r = f(new Date(t), "dd.MM.yyyy");
21
+ return /* @__PURE__ */ l(c, { children: t ? r : "" });
22
+ }, C = (e, t) => {
22
23
  let r = !1, a = e;
23
24
  e[0] === "#" && (a = e.slice(1), r = !0);
24
- let s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16), i = parseInt(a.substring(4, 6), 16);
25
- s += t, o += t, i += t, s > 255 ? s = 255 : s < 0 && (s = 0), o > 255 ? o = 255 : o < 0 && (o = 0), i > 255 ? i = 255 : i < 0 && (i = 0);
26
- const l = s.toString(16).length === 1 ? "0" + s.toString(16) : s.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);
27
- return (r ? "#" : "") + l + c + m;
28
- }, N = (e) => {
25
+ let s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16), n = parseInt(a.substring(4, 6), 16);
26
+ s += t, o += t, n += t, s > 255 ? s = 255 : s < 0 && (s = 0), o > 255 ? o = 255 : o < 0 && (o = 0), n > 255 ? n = 255 : n < 0 && (n = 0);
27
+ const i = s.toString(16).length === 1 ? "0" + s.toString(16) : s.toString(16), m = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16), u = n.toString(16).length === 1 ? "0" + n.toString(16) : n.toString(16);
28
+ return (r ? "#" : "") + i + m + u;
29
+ }, w = (e) => {
29
30
  const t = e.slice(3), r = [];
30
31
  for (let s = 0; s < t.length; s += 2)
31
32
  r.push(t.slice(s, s + 2));
32
33
  return `#${r.reverse().join("")}`;
33
- }, T = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), C = async (e) => {
34
+ }, M = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), I = async (e) => {
34
35
  let t = { status: "pending" };
35
36
  try {
36
37
  t = { status: "success", data: (await e).data };
@@ -38,15 +39,13 @@ const F = (e) => {
38
39
  t = { status: "error", error: r };
39
40
  }
40
41
  return t;
41
- }, w = (e) => {
42
+ }, d = (e) => {
42
43
  var t, r, a;
43
44
  return {
44
45
  columnOrder: e.columnsOrder ?? [],
45
46
  columnVisibility: Object.fromEntries((e.hiddenColumns ?? []).map((s) => [s, !1])),
46
- pagination: {
47
- pageIndex: 0,
48
- pageSize: e.defaultPageSize ?? 50
49
- },
47
+ pageIndex: 0,
48
+ pageSize: e.defaultPageSize ?? 50,
50
49
  columnSorting: e.defaultSort ? [e.defaultSort] : [],
51
50
  columnFilters: e.defaultFilters ?? [],
52
51
  columnPinning: e.fixedColumns ? {
@@ -62,11 +61,33 @@ const F = (e) => {
62
61
  expanding: {},
63
62
  isFullScreen: !1
64
63
  };
65
- }, j = (e, t) => {
64
+ }, k = (e, t) => {
66
65
  const r = new URLSearchParams();
67
66
  return Object.keys(e).forEach((a) => {
68
67
  r.append(`BnfTable-${t || "Universal"}.${a}`, JSON.stringify(e[a]));
69
68
  }), r.toString();
69
+ }, B = (e, t) => {
70
+ const r = localStorage.getItem("BnfTable-SettingsMigration");
71
+ if (r) {
72
+ const a = JSON.parse(r);
73
+ if (a.done && a.version >= t)
74
+ return;
75
+ }
76
+ console.log("Migrating BnfTable settings to Tanstack Table format..."), e.forEach((a) => {
77
+ const s = localStorage.getItem(a);
78
+ if (!s)
79
+ return;
80
+ const o = JSON.parse(s);
81
+ if (!o || Object.keys(o).length < 1)
82
+ return;
83
+ const n = d(o);
84
+ Object.keys(n).forEach((i) => {
85
+ localStorage.setItem(`BnfTable-${a}.${i}`, JSON.stringify(n[i]));
86
+ });
87
+ }), localStorage.setItem("BnfTable-SettingsMigration", JSON.stringify({
88
+ done: !0,
89
+ version: t
90
+ }));
70
91
  }, V = [
71
92
  "edit",
72
93
  "delete",
@@ -109,60 +130,61 @@ const F = (e) => {
109
130
  ];
110
131
  export {
111
132
  V as CommonLuminusIconsArray,
112
- v as adjustBrightness,
113
- I as atobUtf8,
114
- z as buildEmployeeNameString,
115
- E as buildOrgUnitString,
116
- j as buildTableSearchQuery,
117
- M as buildVehicleNameString,
133
+ C as adjustBrightness,
134
+ E as atobUtf8,
135
+ L as buildEmployeeNameString,
136
+ z as buildOrgUnitString,
137
+ k as buildTableSearchQuery,
138
+ W as buildVehicleNameString,
118
139
  R as capitalizeFirstLetter,
119
- k as compareDate,
120
- U as compareDateTime,
121
- w as configToTanstackTableState,
122
- O as dateValueFormat,
123
- Fe as dumpLocalStorage,
124
- W as extractErrorsFromResponse,
125
- A as extractFilename,
126
- B as extractPermissionsFromResponse,
127
- G 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,
135
- q as getFirstDayOfOffsetMonth,
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,
146
- T as isFileStructureDirectory,
147
- oe as isISODate,
148
- ie as isPrimitive,
149
- ne as isValidDate,
150
- le as joinStrings,
151
- Ne as limitNumber,
152
- ce as msToStartOfNextDay,
153
- D as numFormat,
154
- me as replaceNullValuesOnlyObjectsWithNulls,
155
- C as responsePromiseWrapper,
156
- Te as restoreLocalStorage,
157
- ue as saveFile,
158
- de as saveFileFromResponse,
159
- ge as shortenText,
160
- pe as stringContains,
161
- fe as stringSearchWithin,
162
- he as stringStartsWith,
163
- Se as trimIsoDate,
164
- be as truncateText,
165
- ye as urlfyArray,
166
- F as valueTooltip,
167
- N as vclToHex
140
+ $ as compareDate,
141
+ A as compareDateTime,
142
+ d as configToTanstackTableState,
143
+ v as dateValueFormat,
144
+ Te as dumpLocalStorage,
145
+ G as extractErrorsFromResponse,
146
+ J as extractFilename,
147
+ U as extractPermissionsFromResponse,
148
+ Y as fixNameIdNulls,
149
+ Z as formatDate,
150
+ q as formatDateTime,
151
+ H as formatFileSize,
152
+ Ne as generateApiPath,
153
+ K as getDateString,
154
+ Q as getDaysDifference,
155
+ X as getFirstDayOfMonth,
156
+ _ as getFirstDayOfOffsetMonth,
157
+ ee as getFirstDayOfYear,
158
+ te as getLastDayOfMonth,
159
+ re as getLastDayOfOffsetMonth,
160
+ se as getLastDayOfYear,
161
+ ae as hasOnlyNullValues,
162
+ ve as hookFormSetNull,
163
+ Ce as hookFormSetNulls,
164
+ oe as hookFormSetServerErrors,
165
+ ne as isExtensionOpenable,
166
+ ie as isFileOpenable,
167
+ M as isFileStructureDirectory,
168
+ le as isISODate,
169
+ ce as isPrimitive,
170
+ me as isValidDate,
171
+ ue as joinStrings,
172
+ we as limitNumber,
173
+ B as migrateBnfTableSettings,
174
+ ge as msToStartOfNextDay,
175
+ N as numFormat,
176
+ fe as replaceNullValuesOnlyObjectsWithNulls,
177
+ I as responsePromiseWrapper,
178
+ Me as restoreLocalStorage,
179
+ de as saveFile,
180
+ pe as saveFileFromResponse,
181
+ he as shortenText,
182
+ Se as stringContains,
183
+ be as stringSearchWithin,
184
+ ye as stringStartsWith,
185
+ Oe as trimIsoDate,
186
+ De as truncateText,
187
+ Fe as urlfyArray,
188
+ T as valueTooltip,
189
+ w as vclToHex
168
190
  };
@@ -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;