abrplus-ui-kit 1.0.6 → 1.0.8
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/antOverrides.cjs.js +1 -127
- package/dist/antOverrides.es.js +70 -98
- package/dist/atoms.cjs.js +1 -391
- package/dist/atoms.es.js +252 -306
- package/dist/colors-BDQwGpaB.cjs +5 -0
- package/dist/{colors-CztsZ6e_.js → colors-BW-NR0oP.js} +30 -34
- package/dist/deepMerge-2zqLIrFM.cjs +1 -0
- package/dist/deepMerge-Dm_AZi0Z.js +14 -0
- package/dist/index-B1HRk2-g.cjs +1 -0
- package/dist/index-BCH1vT85.js +8 -0
- package/dist/index-BJmt8SSx.cjs +1 -0
- package/dist/index-BPqX2Hsu.js +75 -0
- package/dist/{index-DqFzpRuD.cjs → index-BRLLsEKX.js} +20169 -19477
- package/dist/index-BeP9-mrf.js +200 -0
- package/dist/index-Bpx-uyOR.cjs +1 -0
- package/dist/index-CpGdrWps.js +19 -0
- package/dist/index-CwKyw6uN.cjs +1 -0
- package/dist/index-CzPs2mPX.js +478 -0
- package/dist/index-QraJKad8.cjs +1 -0
- package/dist/index-R9oQ5kp6.js +1569 -0
- package/dist/index-bNh4-ggT.cjs +1 -0
- package/dist/index-lDQ4dr86.cjs +1 -0
- package/dist/index.cjs.js +1 -109
- package/dist/index.css +1 -1519
- package/dist/index.es.js +5 -5
- package/dist/index2.css +1 -3
- package/dist/molecules.cjs.js +8 -7826
- package/dist/molecules.es.js +4270 -6306
- package/dist/organisms.cjs.js +1 -940
- package/dist/organisms.es.js +651 -758
- package/dist/provider.cjs.js +1 -48
- package/dist/provider.es.js +29 -34
- package/dist/sortable.esm-BSCvBWLi.js +2943 -0
- package/dist/sortable.esm-CA8VbUF-.cjs +5 -0
- package/dist/theme.css +1 -102
- package/dist/types/components/atoms/icon/constants/iconNames.d.ts +1 -1
- package/package.json +3 -3
- package/dist/colors-TPZkyKI4.cjs +0 -2212
- package/dist/deepMerge-CG1he8ZD.js +0 -20
- package/dist/deepMerge-Cn27K7-s.cjs +0 -19
- package/dist/index-Bknzi7oo.js +0 -266
- package/dist/index-BvegjQUf.js +0 -90
- package/dist/index-Bvu3tjZA.js +0 -37331
- package/dist/index-CCvWoynu.cjs +0 -12
- package/dist/index-CIBuPhXl.cjs +0 -1629
- package/dist/index-C_d8YZwK.js +0 -28
- package/dist/index-Ck1A1Vbk.js +0 -543
- package/dist/index-DKwKBp9E.cjs +0 -265
- package/dist/index-DLUd_0LP.js +0 -13
- package/dist/index-DTnBytzT.cjs +0 -89
- package/dist/index-DvjH6QYq.cjs +0 -542
- package/dist/index-ITeOhLPx.js +0 -1630
- package/dist/index-vJLaOgWn.cjs +0 -27
- package/dist/sortable.esm-CJ4hbOQu.js +0 -3873
- package/dist/sortable.esm-grhzbi7z.cjs +0 -3872
package/dist/index-vJLaOgWn.cjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const antd = require("antd");
|
|
4
|
-
const reactRouterDom = require("react-router-dom");
|
|
5
|
-
const index = require("./index-DqFzpRuD.cjs");
|
|
6
|
-
const colors = require("./colors-TPZkyKI4.cjs");
|
|
7
|
-
const Breadcrumb = (props) => {
|
|
8
|
-
const appName = colors.AbrplusUIKit.config().getAppName();
|
|
9
|
-
const color = colors.colors[appName];
|
|
10
|
-
const actionColor = color?.action;
|
|
11
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
-
antd.Breadcrumb,
|
|
13
|
-
{
|
|
14
|
-
...props,
|
|
15
|
-
separator: /* @__PURE__ */ jsxRuntime.jsx(index.Icon, { name: "Chevron_Left", size: 22, color: actionColor }),
|
|
16
|
-
itemRender: (route, _, items) => {
|
|
17
|
-
if (!route.title) return null;
|
|
18
|
-
const last = items.indexOf(route) === items.length - 1;
|
|
19
|
-
if (last) {
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx(index.Text, { size: 16, weight: "medium", color: colors.colors.primary_dark_1, children: route.title });
|
|
21
|
-
}
|
|
22
|
-
return route.path ? /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Link, { to: route.path, children: /* @__PURE__ */ jsxRuntime.jsx(index.Text, { size: 16, weight: "medium", color: actionColor, children: route.title }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { onClick: route.onClick, className: "cursor-pointer", children: /* @__PURE__ */ jsxRuntime.jsx(index.Text, { size: 16, weight: "medium", color: actionColor, children: route.title }) });
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
};
|
|
27
|
-
exports.Breadcrumb = Breadcrumb;
|