mimir-ui-kit 1.41.4 → 1.41.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Input-DAmc_HxO.js → Input-BU_6U1CW.js} +63 -63
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/Dropdown.css +1 -1
- package/dist/assets/Image.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/OtpInput.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/ScrollBar.css +1 -0
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Timer.css +1 -1
- package/dist/assets/stories.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Drawer/Drawer.js +74 -74
- package/dist/components/Dropdown/Dropdown.js +121 -121
- package/dist/components/Image/Image.js +12 -12
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputPassword/InputPassword.js +1 -1
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
- package/dist/components/MultiSelectSearch/utils.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +28 -28
- package/dist/components/Pagination/Pagination.js +28 -28
- package/dist/components/RadioGroup/RadioGroup.js +79 -79
- package/dist/components/ScrollBar/ScrollBar.d.ts +17 -0
- package/dist/components/ScrollBar/ScrollBar.js +22 -0
- package/dist/components/ScrollBar/constants.d.ts +8 -0
- package/dist/components/ScrollBar/constants.js +5 -0
- package/dist/components/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/SelectSearch/utils.js +1 -1
- package/dist/components/Slider/Slider.js +40 -40
- package/dist/components/Table/ColumnOrderSettings.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/TableBody.js +1 -1
- package/dist/components/Table/TableCard.js +1 -1
- package/dist/components/Table/TableCardsView.js +1 -1
- package/dist/components/Table/TableFilters.js +1 -1
- package/dist/components/Table/TableHeader.js +1 -1
- package/dist/components/Table/TableRow.js +1 -1
- package/dist/components/Table/TableScrollButtons.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/Timer/Timer.js +6 -6
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/stories.module-DBGkpJ-O.js +29 -0
- package/dist/styles.module-9m98aUhp.js +36 -0
- package/package.json +6 -2
- package/src/assets/styles/mixins/animations.scss +3 -0
- package/src/assets/styles/mixins/index.scss +3 -0
- package/src/assets/styles/mixins/media.scss +21 -0
- package/src/assets/styles/mixins/scrollbar.scss +43 -0
- package/dist/stories.module-fud786VB.js +0 -29
- package/dist/styles.module--QBQYoA9.js +0 -36
@@ -1,30 +1,30 @@
|
|
1
|
-
import { jsx as s, jsxs as n, Fragment as
|
1
|
+
import { jsx as s, jsxs as n, Fragment as $ } from "react/jsx-runtime";
|
2
2
|
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
-
import { memo as
|
4
|
-
import { u as
|
3
|
+
import { memo as k, useCallback as d, useMemo as F, forwardRef as j, useRef as S, useState as D } from "react";
|
4
|
+
import { u as U, S as Y, A as z, a as G } from "../../swiper-react-BvAw14a4.js";
|
5
5
|
import { EProgressBarPosition as N } from "./constants.js";
|
6
|
-
import { AppImage as
|
6
|
+
import { AppImage as q } from "../Image/Image.js";
|
7
7
|
import { MergedButton as H } from "../MergedButton/MergedButton.js";
|
8
|
-
import '../../assets/Slider.css';const J = "
|
8
|
+
import '../../assets/Slider.css';const J = "_swiper_qafre_2", K = "_slide_qafre_8", Q = "_link_qafre_15", V = "_image_qafre_21", W = "_navigation_qafre_28", X = "_pagination_qafre_38", Z = "_slides_qafre_57", ee = "_separator_qafre_63", re = "_progress_qafre_70", se = "_descriptions_qafre_87", r = {
|
9
9
|
swiper: J,
|
10
10
|
slide: K,
|
11
11
|
link: Q,
|
12
12
|
image: V,
|
13
13
|
navigation: W,
|
14
14
|
pagination: X,
|
15
|
-
"is-full": "_is-
|
15
|
+
"is-full": "_is-full_qafre_52",
|
16
16
|
slides: Z,
|
17
17
|
separator: ee,
|
18
18
|
progress: re,
|
19
|
-
"progress-bar-bottom": "_progress-bar-
|
20
|
-
"progress-bar": "_progress-
|
19
|
+
"progress-bar-bottom": "_progress-bar-bottom_qafre_77",
|
20
|
+
"progress-bar": "_progress-bar_qafre_77",
|
21
21
|
descriptions: se
|
22
|
-
}, te = 15e3, ae =
|
23
|
-
const e =
|
22
|
+
}, te = 15e3, ae = k(() => {
|
23
|
+
const e = U(), o = d(() => {
|
24
24
|
e.slideNext();
|
25
25
|
}, [e]), l = d(() => {
|
26
26
|
e.slidePrev();
|
27
|
-
}, [e]), p =
|
27
|
+
}, [e]), p = F(
|
28
28
|
() => [
|
29
29
|
{
|
30
30
|
isIconButton: !0,
|
@@ -42,8 +42,8 @@ import '../../assets/Slider.css';const J = "_swiper_1f4c7_3", K = "_slide_1f4c7_
|
|
42
42
|
[l, o]
|
43
43
|
);
|
44
44
|
return /* @__PURE__ */ s(H, { buttons: p });
|
45
|
-
}),
|
46
|
-
|
45
|
+
}), v = k(
|
46
|
+
j((e, o) => /* @__PURE__ */ s(
|
47
47
|
"div",
|
48
48
|
{
|
49
49
|
"data-testid": "progress-bar-wrapper",
|
@@ -64,25 +64,25 @@ function fe({
|
|
64
64
|
children: o,
|
65
65
|
onSlideClick: l,
|
66
66
|
swiperClassName: p,
|
67
|
-
slideClassName:
|
67
|
+
slideClassName: x,
|
68
68
|
imageClassName: g,
|
69
|
-
navigationClassName:
|
70
|
-
sliderBottomPanelClassName:
|
71
|
-
descriptionsClassName:
|
69
|
+
navigationClassName: A,
|
70
|
+
sliderBottomPanelClassName: y,
|
71
|
+
descriptionsClassName: B,
|
72
72
|
progressBarPosition: h = "top",
|
73
|
-
isFullPaginationWidth:
|
73
|
+
isFullPaginationWidth: C = !1,
|
74
74
|
needNavigation: i = !0,
|
75
75
|
leftDescription: w,
|
76
76
|
rightDescription: b,
|
77
|
-
delay:
|
78
|
-
...
|
77
|
+
delay: I = te,
|
78
|
+
...P
|
79
79
|
}) {
|
80
|
-
const c = S(null), f = S(null), [
|
80
|
+
const c = S(null), f = S(null), [T, E] = D(1), L = `0${T}`, M = `0${(e == null ? void 0 : e.length) ?? 0}`, O = d(() => {
|
81
81
|
if (f.current && i) {
|
82
82
|
const t = f.current.swiper;
|
83
|
-
|
83
|
+
E(t.realIndex + 1);
|
84
84
|
}
|
85
|
-
}, [i]),
|
85
|
+
}, [i]), R = d(
|
86
86
|
(t, u) => {
|
87
87
|
if (c.current && i) {
|
88
88
|
const _ = t.params.autoplay.delay, m = u / _ * 100;
|
@@ -92,47 +92,47 @@ function fe({
|
|
92
92
|
[i]
|
93
93
|
);
|
94
94
|
return /* @__PURE__ */ n(
|
95
|
-
|
95
|
+
Y,
|
96
96
|
{
|
97
|
-
...
|
97
|
+
...P,
|
98
98
|
ref: f,
|
99
99
|
className: a(r.swiper, p),
|
100
100
|
loop: !0,
|
101
101
|
autoplay: {
|
102
|
-
delay:
|
102
|
+
delay: I,
|
103
103
|
disableOnInteraction: !1
|
104
104
|
},
|
105
105
|
fadeEffect: {
|
106
106
|
crossFade: !0
|
107
107
|
},
|
108
108
|
modules: [z],
|
109
|
-
onAutoplayTimeLeft:
|
110
|
-
onSlideChange:
|
109
|
+
onAutoplayTimeLeft: R,
|
110
|
+
onSlideChange: O,
|
111
111
|
children: [
|
112
112
|
/* @__PURE__ */ s(
|
113
113
|
"div",
|
114
114
|
{
|
115
|
-
className: a(r.navigation,
|
115
|
+
className: a(r.navigation, A),
|
116
116
|
slot: "container-start",
|
117
|
-
children: i && /* @__PURE__ */ n(
|
117
|
+
children: i && /* @__PURE__ */ n($, { children: [
|
118
118
|
/* @__PURE__ */ n(
|
119
119
|
"div",
|
120
120
|
{
|
121
121
|
"data-testid": "pagination",
|
122
122
|
className: a(r.pagination, {
|
123
|
-
[r["is-full"]]:
|
123
|
+
[r["is-full"]]: C
|
124
124
|
}),
|
125
125
|
children: [
|
126
126
|
/* @__PURE__ */ n("h2", { className: r.slides, children: [
|
127
|
-
|
127
|
+
L,
|
128
128
|
/* @__PURE__ */ s("span", { className: r.separator }),
|
129
|
-
|
129
|
+
M
|
130
130
|
] }),
|
131
131
|
/* @__PURE__ */ s(ae, {})
|
132
132
|
]
|
133
133
|
}
|
134
134
|
),
|
135
|
-
h === N.TOP && /* @__PURE__ */ s(
|
135
|
+
h === N.TOP && /* @__PURE__ */ s(v, { ref: c })
|
136
136
|
] })
|
137
137
|
}
|
138
138
|
),
|
@@ -146,7 +146,7 @@ function fe({
|
|
146
146
|
rel: "noopener noreferrer",
|
147
147
|
target: "_blank",
|
148
148
|
children: /* @__PURE__ */ s(
|
149
|
-
|
149
|
+
q,
|
150
150
|
{
|
151
151
|
className: a(r.image, g),
|
152
152
|
src: t.image
|
@@ -154,7 +154,7 @@ function fe({
|
|
154
154
|
)
|
155
155
|
}
|
156
156
|
), m = () => typeof o == "function" ? o(t) : t.url ? _ : /* @__PURE__ */ s(
|
157
|
-
|
157
|
+
q,
|
158
158
|
{
|
159
159
|
className: a(r.image, g),
|
160
160
|
src: t.image,
|
@@ -167,21 +167,21 @@ function fe({
|
|
167
167
|
{
|
168
168
|
"data-testid": `slide-${u}`,
|
169
169
|
onClick: l,
|
170
|
-
className: a(r.slide,
|
170
|
+
className: a(r.slide, x),
|
171
171
|
children: m()
|
172
172
|
},
|
173
173
|
t.id
|
174
174
|
);
|
175
175
|
}),
|
176
|
-
h === N.BOTTOM && /* @__PURE__ */ n("div", { className:
|
176
|
+
h === N.BOTTOM && /* @__PURE__ */ n("div", { className: y, children: [
|
177
177
|
/* @__PURE__ */ s(
|
178
|
-
|
178
|
+
v,
|
179
179
|
{
|
180
180
|
ref: c,
|
181
181
|
className: r["progress-bar-bottom"]
|
182
182
|
}
|
183
183
|
),
|
184
|
-
/* @__PURE__ */ n("div", { className: a(r.descriptions,
|
184
|
+
/* @__PURE__ */ n("div", { className: a(r.descriptions, B), children: [
|
185
185
|
w && /* @__PURE__ */ s("div", { "data-testid": "slider-left-description", children: w }),
|
186
186
|
b && /* @__PURE__ */ s("div", { "data-testid": "slider-right-description", children: b })
|
187
187
|
] })
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as g, jsx as s } from "react/jsx-runtime";
|
2
2
|
import { c as x } from "../../index-DIxK0V-G.js";
|
3
3
|
import { useState as p, useEffect as J, useCallback as l } from "react";
|
4
|
-
import { c as r } from "../../stories.module-
|
4
|
+
import { c as r } from "../../stories.module-DBGkpJ-O.js";
|
5
5
|
import { Icon as K } from "../../icons/Icon.js";
|
6
6
|
import { Button as O } from "../Button/Button.js";
|
7
7
|
import { EButtonVariantBorderless as M, EButtonForm as k, EButtonVariantOutline as Q, EButtonVariantDefault as U } from "../Button/constants.js";
|
@@ -5,7 +5,7 @@ import { ETableDisplayMode as b, TABLE_OPTIONS as R, ETableVariant as Se, ETable
|
|
5
5
|
import { useTableInstance as Be } from "./hooks/useTableInstance.js";
|
6
6
|
import { useTableScroll as Le } from "./hooks/useTableScroll.js";
|
7
7
|
import { useTableState as Ne } from "./hooks/useTableState.js";
|
8
|
-
import { c as l } from "../../styles.module
|
8
|
+
import { c as l } from "../../styles.module-9m98aUhp.js";
|
9
9
|
import { TableBody as Oe } from "./TableBody.js";
|
10
10
|
import { TableCardsView as Ae } from "./TableCardsView.js";
|
11
11
|
import { TableHeader as He } from "./TableHeader.js";
|
@@ -3,7 +3,7 @@ import { c as m } from "../../index-DIxK0V-G.js";
|
|
3
3
|
import { memo as E, useRef as G, useState as x, useEffect as $ } from "react";
|
4
4
|
import { ETableVariant as B } from "./constants.js";
|
5
5
|
import { useTableVirtualization as H } from "./hooks/useTableVirtualization.js";
|
6
|
-
import { c as t } from "../../styles.module
|
6
|
+
import { c as t } from "../../styles.module-9m98aUhp.js";
|
7
7
|
import { TableRow as k } from "./TableRow.js";
|
8
8
|
function R({
|
9
9
|
table: r,
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { f as b } from "../../index-CVk4sixt.js";
|
3
3
|
import { c as o } from "../../index-DIxK0V-G.js";
|
4
4
|
import { memo as v } from "react";
|
5
|
-
import { c as a } from "../../styles.module
|
5
|
+
import { c as a } from "../../styles.module-9m98aUhp.js";
|
6
6
|
import { Icon as l } from "../../icons/Icon.js";
|
7
7
|
import { CheckboxMimir as k } from "../CheckboxMimir/CheckboxMimir.js";
|
8
8
|
function A({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
2
2
|
import { memo as V, useRef as b } from "react";
|
3
3
|
import { useTableVirtualization as v } from "./hooks/useTableVirtualization.js";
|
4
|
-
import { c as u } from "../../styles.module
|
4
|
+
import { c as u } from "../../styles.module-9m98aUhp.js";
|
5
5
|
import { TableCard as g } from "./TableCard.js";
|
6
6
|
function y({
|
7
7
|
table: r,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
2
2
|
import { useState as z, useEffect as A, useCallback as I } from "react";
|
3
3
|
import { EFilterType as E } from "./constants.js";
|
4
|
-
import { c as e } from "../../stories.module-
|
4
|
+
import { c as e } from "../../stories.module-DBGkpJ-O.js";
|
5
5
|
import { Button as d } from "../Button/Button.js";
|
6
6
|
import { EButtonVariantBorderless as L, EButtonForm as b, EButtonVariantOutline as O, EButtonVariantDefault as j } from "../Button/constants.js";
|
7
7
|
import { DatePicker as S } from "../DatePicker/DatePicker.js";
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { f as H } from "../../index-CVk4sixt.js";
|
3
3
|
import { c as n } from "../../index-DIxK0V-G.js";
|
4
4
|
import { ETableVariant as s, ESortDirection as m } from "./constants.js";
|
5
|
-
import { c as t } from "../../styles.module
|
5
|
+
import { c as t } from "../../styles.module-9m98aUhp.js";
|
6
6
|
import { Icon as c } from "../../icons/Icon.js";
|
7
7
|
const E = ({
|
8
8
|
table: i,
|
@@ -3,7 +3,7 @@ import { f as I } from "../../index-CVk4sixt.js";
|
|
3
3
|
import { c as n } from "../../index-DIxK0V-G.js";
|
4
4
|
import { memo as R, useState as B, useEffect as D, useCallback as N } from "react";
|
5
5
|
import { ETableVariant as u } from "./constants.js";
|
6
|
-
import { c as l } from "../../styles.module
|
6
|
+
import { c as l } from "../../styles.module-9m98aUhp.js";
|
7
7
|
import { CheckboxMimir as V } from "../CheckboxMimir/CheckboxMimir.js";
|
8
8
|
function E({
|
9
9
|
row: e,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
2
2
|
import { memo as i, useMemo as s } from "react";
|
3
3
|
import { ETableScrollIconName as c, ETableScrollButtonVariant as l } from "./constants.js";
|
4
|
-
import { c as a } from "../../styles.module
|
4
|
+
import { c as a } from "../../styles.module-9m98aUhp.js";
|
5
5
|
import { MergedButton as u } from "../MergedButton/MergedButton.js";
|
6
6
|
const E = i(
|
7
7
|
({
|
@@ -5,7 +5,7 @@ import { useAutoResizeTextArea as Z } from "./hooks.js";
|
|
5
5
|
import { useMergeRefs as $ } from "../../hooks/useMergeRefs/useMergeRefs.js";
|
6
6
|
import { Icon as ee } from "../../icons/Icon.js";
|
7
7
|
import { Button as te } from "../Button/Button.js";
|
8
|
-
import { c as e } from "../../Input-
|
8
|
+
import { c as e } from "../../Input-BU_6U1CW.js";
|
9
9
|
import { EInputVariant as ae } from "../Input/constants.js";
|
10
10
|
import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_rk5xe_11", le = "_label_rk5xe_26", ne = "_s_rk5xe_71", oe = "_m_rk5xe_84", ce = "_l_rk5xe_26", t = {
|
11
11
|
"textarea-wrapper": "_textarea-wrapper_rk5xe_2",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { jsxs as c } from "react/jsx-runtime";
|
2
2
|
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
-
import { memo as
|
4
|
-
import { useTimer as
|
5
|
-
import '../../assets/Timer.css';const f = "
|
3
|
+
import { memo as p } from "react";
|
4
|
+
import { useTimer as d } from "../../hooks/useTimer/index.js";
|
5
|
+
import '../../assets/Timer.css';const f = "_timer_1gps8_2", l = {
|
6
6
|
timer: f
|
7
|
-
},
|
7
|
+
}, _ = p(
|
8
8
|
({ expiryTimestamp: t, autoStart: r = !1, onTimerEnd: s, className: e }) => {
|
9
|
-
const { minutes: m, seconds: o } =
|
9
|
+
const { minutes: m, seconds: o } = d({
|
10
10
|
expiryTimestamp: t,
|
11
11
|
onExpire: s,
|
12
12
|
autoStart: r
|
@@ -19,5 +19,5 @@ import '../../assets/Timer.css';const f = "_timer_un9th_3", l = {
|
|
19
19
|
}
|
20
20
|
);
|
21
21
|
export {
|
22
|
-
|
22
|
+
_ as Timer
|
23
23
|
};
|
package/dist/components/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
|
3
|
-
import { I as l } from "../Input-
|
3
|
+
import { I as l } from "../Input-BU_6U1CW.js";
|
4
4
|
import { EInputSize as S, EInputStatus as s, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as I } from "./TextArea/constants.js";
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
|
-
import { I as l } from "./Input-
|
3
|
+
import { I as l } from "./Input-BU_6U1CW.js";
|
4
4
|
import { EInputSize as u, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import './assets/stories.css';const e = "_tableClassNameContainer_1jv1b_2", t = "_headerTextClassName_1jv1b_13", o = "_cellClassName_1jv1b_18", n = "_columnOrderDrawer_1jv1b_23", r = "_columnOrderList_1jv1b_27", l = "_columnOrderItem_1jv1b_33", _ = "_dragging_1jv1b_44", a = "_dragOver_1jv1b_48", c = "_disabled_1jv1b_51", s = "_hidden_1jv1b_54", i = "_iconDrag_1jv1b_58", m = "_iconDisabled_1jv1b_64", b = "_columnNameAndSwitch_1jv1b_71", d = "_columnName_1jv1b_71", u = "_columnSwitch_1jv1b_82", v = "_columnOrderFooter_1jv1b_86", j = "_footerButtonGroup_1jv1b_91", C = "_controlsRow_1jv1b_92", g = "_filterItem_1jv1b_97", f = "_filterDateRange_1jv1b_98", N = "_filterList_1jv1b_99", O = "_tableControlsContainer_1jv1b_100", h = "_filterLabel_1jv1b_106", w = "_activeFiltersCount_1jv1b_110", D = {
|
2
|
+
tableClassNameContainer: e,
|
3
|
+
headerTextClassName: t,
|
4
|
+
cellClassName: o,
|
5
|
+
columnOrderDrawer: n,
|
6
|
+
columnOrderList: r,
|
7
|
+
columnOrderItem: l,
|
8
|
+
dragging: _,
|
9
|
+
dragOver: a,
|
10
|
+
disabled: c,
|
11
|
+
hidden: s,
|
12
|
+
iconDrag: i,
|
13
|
+
iconDisabled: m,
|
14
|
+
columnNameAndSwitch: b,
|
15
|
+
columnName: d,
|
16
|
+
columnSwitch: u,
|
17
|
+
columnOrderFooter: v,
|
18
|
+
footerButtonGroup: j,
|
19
|
+
controlsRow: C,
|
20
|
+
filterItem: g,
|
21
|
+
filterDateRange: f,
|
22
|
+
filterList: N,
|
23
|
+
tableControlsContainer: O,
|
24
|
+
filterLabel: h,
|
25
|
+
activeFiltersCount: w
|
26
|
+
};
|
27
|
+
export {
|
28
|
+
D as c
|
29
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import './assets/styles2.css';const t = "_tableContainer_5ptmb_2", e = "_tableScroll_5ptmb_10", r = "_scrollButtons_5ptmb_31", a = "_table_5ptmb_2", o = "_header_5ptmb_48", _ = "_headerCell_5ptmb_61", c = "_headerContent_5ptmb_71", n = "_headerText_5ptmb_77", l = "_sortButton_5ptmb_83", d = "_sortIcon_5ptmb_103", s = "_selectHeaderCell_5ptmb_111", b = "_body_5ptmb_121", p = "_virtualBody_5ptmb_126", m = "_rowWhiteBackground_5ptmb_132", h = "_rowGrayBackground_5ptmb_137", C = "_cell_5ptmb_155", i = "_selectCell_5ptmb_170", u = "_loaderOverlay_5ptmb_180", w = "_cardsContainer_5ptmb_191", y = "_cardsVirtualContainer_5ptmb_198", B = "_cardActions_5ptmb_202", g = "_tableCard_5ptmb_212", k = "_cardCheckbox_5ptmb_222", x = "_cardContent_5ptmb_227", v = "_cardValue_5ptmb_234", A = "_cardArrow_5ptmb_241", H = "_cardHeader_5ptmb_248", V = {
|
2
|
+
tableContainer: t,
|
3
|
+
tableScroll: e,
|
4
|
+
scrollButtons: r,
|
5
|
+
table: a,
|
6
|
+
header: o,
|
7
|
+
"header-white": "_header-white_5ptmb_54",
|
8
|
+
"header-gray": "_header-gray_5ptmb_57",
|
9
|
+
headerCell: _,
|
10
|
+
headerContent: c,
|
11
|
+
headerText: n,
|
12
|
+
sortButton: l,
|
13
|
+
sortIcon: d,
|
14
|
+
selectHeaderCell: s,
|
15
|
+
body: b,
|
16
|
+
virtualBody: p,
|
17
|
+
rowWhiteBackground: m,
|
18
|
+
rowGrayBackground: h,
|
19
|
+
"row-white-header": "_row-white-header_5ptmb_142",
|
20
|
+
"row-gray-header": "_row-gray-header_5ptmb_148",
|
21
|
+
cell: C,
|
22
|
+
selectCell: i,
|
23
|
+
loaderOverlay: u,
|
24
|
+
cardsContainer: w,
|
25
|
+
cardsVirtualContainer: y,
|
26
|
+
cardActions: B,
|
27
|
+
tableCard: g,
|
28
|
+
cardCheckbox: k,
|
29
|
+
cardContent: x,
|
30
|
+
cardValue: v,
|
31
|
+
cardArrow: A,
|
32
|
+
cardHeader: H
|
33
|
+
};
|
34
|
+
export {
|
35
|
+
V as c
|
36
|
+
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "mimir-ui-kit",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.41.
|
4
|
+
"version": "1.41.5",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
7
7
|
".": {
|
@@ -23,6 +23,9 @@
|
|
23
23
|
"./styles": {
|
24
24
|
"default": "./dist/assets/index.css"
|
25
25
|
},
|
26
|
+
"./mixins": {
|
27
|
+
"default": "./src/assets/styles/mixins/index.scss"
|
28
|
+
},
|
26
29
|
"./types": {
|
27
30
|
"types": "./dist/index.d.ts"
|
28
31
|
}
|
@@ -30,7 +33,8 @@
|
|
30
33
|
"module": "./dist/index.js",
|
31
34
|
"types": "./dist/index.d.ts",
|
32
35
|
"files": [
|
33
|
-
"dist"
|
36
|
+
"dist",
|
37
|
+
"src/assets/styles/mixins"
|
34
38
|
],
|
35
39
|
"sideEffects": [
|
36
40
|
"**/*.{css,scss}"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* Container Width */
|
2
|
+
$xxl: 1920px;
|
3
|
+
$xl: 1440px;
|
4
|
+
$l: 1280px;
|
5
|
+
$m: 960px;
|
6
|
+
$s: 768px;
|
7
|
+
$s2: 767.9px;
|
8
|
+
$xs: 600px;
|
9
|
+
$xxs: 375px;
|
10
|
+
|
11
|
+
@mixin respond-to($type, $breakpoint) {
|
12
|
+
@if $type == min {
|
13
|
+
@media (min-width: $breakpoint) {
|
14
|
+
@content;
|
15
|
+
}
|
16
|
+
} @else if $type == max {
|
17
|
+
@media (max-width: $breakpoint) {
|
18
|
+
@content;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
@mixin scroll-bar($theme, $size) {
|
2
|
+
$track-background: var(--black-85);
|
3
|
+
$thumb-background: var(--black-60);
|
4
|
+
$thumb-border-color: var(--black-85);
|
5
|
+
|
6
|
+
@if $theme == 'light' {
|
7
|
+
$track-background: var(--white);
|
8
|
+
$thumb-background: var(--black-80);
|
9
|
+
$thumb-border-color: var(--white);
|
10
|
+
}
|
11
|
+
|
12
|
+
&::-webkit-scrollbar {
|
13
|
+
width: 8px;
|
14
|
+
height: 8px;
|
15
|
+
}
|
16
|
+
|
17
|
+
&::-webkit-scrollbar-track {
|
18
|
+
background: $track-background;
|
19
|
+
border-radius: var(--mimir-control-radius);
|
20
|
+
}
|
21
|
+
|
22
|
+
&::-webkit-scrollbar-thumb {
|
23
|
+
background: $thumb-background;
|
24
|
+
border: 2px solid $thumb-border-color;
|
25
|
+
border-radius: var(--mimir-control-radius);
|
26
|
+
}
|
27
|
+
|
28
|
+
@if $size == 's' {
|
29
|
+
&::-webkit-scrollbar {
|
30
|
+
width: 4px;
|
31
|
+
height: 4px;
|
32
|
+
}
|
33
|
+
|
34
|
+
&::-webkit-scrollbar-track {
|
35
|
+
border-radius: var(--mimir-control-radius-xs2);
|
36
|
+
}
|
37
|
+
|
38
|
+
&::-webkit-scrollbar-thumb {
|
39
|
+
border: 1px solid $thumb-border-color;
|
40
|
+
border-radius: var(--mimir-control-radius-xs2);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import './assets/stories.css';const e = "_tableClassNameContainer_1mzja_3", t = "_headerTextClassName_1mzja_14", o = "_cellClassName_1mzja_19", a = "_columnOrderDrawer_1mzja_24", n = "_columnOrderList_1mzja_28", r = "_columnOrderItem_1mzja_34", l = "_dragging_1mzja_45", _ = "_dragOver_1mzja_49", c = "_disabled_1mzja_52", m = "_hidden_1mzja_55", s = "_iconDrag_1mzja_59", i = "_iconDisabled_1mzja_65", d = "_columnNameAndSwitch_1mzja_72", u = "_columnName_1mzja_72", j = "_columnSwitch_1mzja_83", z = "_columnOrderFooter_1mzja_87", C = "_footerButtonGroup_1mzja_92", g = "_controlsRow_1mzja_93", b = "_filterItem_1mzja_98", f = "_filterDateRange_1mzja_99", N = "_filterList_1mzja_100", O = "_tableControlsContainer_1mzja_101", h = "_filterLabel_1mzja_107", w = "_activeFiltersCount_1mzja_111", D = {
|
2
|
-
tableClassNameContainer: e,
|
3
|
-
headerTextClassName: t,
|
4
|
-
cellClassName: o,
|
5
|
-
columnOrderDrawer: a,
|
6
|
-
columnOrderList: n,
|
7
|
-
columnOrderItem: r,
|
8
|
-
dragging: l,
|
9
|
-
dragOver: _,
|
10
|
-
disabled: c,
|
11
|
-
hidden: m,
|
12
|
-
iconDrag: s,
|
13
|
-
iconDisabled: i,
|
14
|
-
columnNameAndSwitch: d,
|
15
|
-
columnName: u,
|
16
|
-
columnSwitch: j,
|
17
|
-
columnOrderFooter: z,
|
18
|
-
footerButtonGroup: C,
|
19
|
-
controlsRow: g,
|
20
|
-
filterItem: b,
|
21
|
-
filterDateRange: f,
|
22
|
-
filterList: N,
|
23
|
-
tableControlsContainer: O,
|
24
|
-
filterLabel: h,
|
25
|
-
activeFiltersCount: w
|
26
|
-
};
|
27
|
-
export {
|
28
|
-
D as c
|
29
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import './assets/styles2.css';const e = "_tableContainer_12qch_3", r = "_tableScroll_12qch_11", c = "_scrollButtons_12qch_32", t = "_table_12qch_3", a = "_header_12qch_49", o = "_headerCell_12qch_62", _ = "_headerContent_12qch_72", n = "_headerText_12qch_78", l = "_sortButton_12qch_84", d = "_sortIcon_12qch_104", h = "_selectHeaderCell_12qch_112", s = "_body_12qch_122", q = "_virtualBody_12qch_127", C = "_rowWhiteBackground_12qch_133", i = "_rowGrayBackground_12qch_138", u = "_cell_12qch_156", b = "_selectCell_12qch_171", w = "_loaderOverlay_12qch_181", y = "_cardsContainer_12qch_192", B = "_cardsVirtualContainer_12qch_199", g = "_cardActions_12qch_203", k = "_tableCard_12qch_213", x = "_cardCheckbox_12qch_223", v = "_cardContent_12qch_228", A = "_cardValue_12qch_235", H = "_cardArrow_12qch_242", V = "_cardHeader_12qch_249", G = {
|
2
|
-
tableContainer: e,
|
3
|
-
tableScroll: r,
|
4
|
-
scrollButtons: c,
|
5
|
-
table: t,
|
6
|
-
header: a,
|
7
|
-
"header-white": "_header-white_12qch_55",
|
8
|
-
"header-gray": "_header-gray_12qch_58",
|
9
|
-
headerCell: o,
|
10
|
-
headerContent: _,
|
11
|
-
headerText: n,
|
12
|
-
sortButton: l,
|
13
|
-
sortIcon: d,
|
14
|
-
selectHeaderCell: h,
|
15
|
-
body: s,
|
16
|
-
virtualBody: q,
|
17
|
-
rowWhiteBackground: C,
|
18
|
-
rowGrayBackground: i,
|
19
|
-
"row-white-header": "_row-white-header_12qch_143",
|
20
|
-
"row-gray-header": "_row-gray-header_12qch_149",
|
21
|
-
cell: u,
|
22
|
-
selectCell: b,
|
23
|
-
loaderOverlay: w,
|
24
|
-
cardsContainer: y,
|
25
|
-
cardsVirtualContainer: B,
|
26
|
-
cardActions: g,
|
27
|
-
tableCard: k,
|
28
|
-
cardCheckbox: x,
|
29
|
-
cardContent: v,
|
30
|
-
cardValue: A,
|
31
|
-
cardArrow: H,
|
32
|
-
cardHeader: V
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
G as c
|
36
|
-
};
|