kdpa-components 1.2.0 → 1.2.1
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/Buttons/index.js +2 -2
- package/dist/CopyToClipboard/index.js +2 -2
- package/dist/{KdpaCopyToClipboard-53aa97d3.js → KdpaCopyToClipboard-47aff0ac.js} +1 -1
- package/dist/{KdpaSecondaryButton-a70aafe5.js → KdpaSecondaryButton-9d9e759c.js} +1 -1
- package/dist/{KpdaPrimaryButton-5416aa2c.js → KpdaPrimaryButton-729f6054.js} +2 -2
- package/dist/Loading/index.d.ts +1 -0
- package/dist/Loading/index.d.ts.map +1 -1
- package/dist/Loading/index.js +10 -4
- package/dist/index.js +3 -3
- package/package.json +20 -16
- package/CHANGELOG.md +0 -7
package/dist/Buttons/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { K as M, a as N } from "../KpdaPrimaryButton-
|
|
1
|
+
import { K as M, a as N } from "../KpdaPrimaryButton-729f6054.js";
|
|
2
2
|
import { K as Q } from "../KdpaIconButton-a0ee669c.js";
|
|
3
|
-
import { K as T } from "../KdpaSecondaryButton-
|
|
3
|
+
import { K as T } from "../KdpaSecondaryButton-9d9e759c.js";
|
|
4
4
|
import "../jsx-dev-runtime-48fdc504.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../KdpaTooltip-653424c7.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as Q } from "../KdpaCopyToClipboard-
|
|
1
|
+
import { K as Q } from "../KdpaCopyToClipboard-47aff0ac.js";
|
|
2
2
|
import "../jsx-dev-runtime-48fdc504.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../useThemeProps-ea792506.js";
|
|
@@ -32,7 +32,7 @@ import "../useId-a21bd5c3.js";
|
|
|
32
32
|
import "../Zoom-36a189bb.js";
|
|
33
33
|
import "../kdpaButton-4ed993c7.js";
|
|
34
34
|
import "../kdpaPrimaryButton-4ed993c7.js";
|
|
35
|
-
import "../KdpaSecondaryButton-
|
|
35
|
+
import "../KdpaSecondaryButton-9d9e759c.js";
|
|
36
36
|
import "../Button-9d9cc0bd.js";
|
|
37
37
|
import "../ButtonBase-fa4630c8.js";
|
|
38
38
|
import "../emotion-react.browser.esm-3fa5f721.js";
|
|
@@ -5,7 +5,7 @@ import { M as Pe } from "./index.esm-b78383d3.js";
|
|
|
5
5
|
import { K as Re } from "./KdpaTooltip-653424c7.js";
|
|
6
6
|
import "./kdpaButton-4ed993c7.js";
|
|
7
7
|
import "./kdpaPrimaryButton-4ed993c7.js";
|
|
8
|
-
import { K as Le } from "./KdpaSecondaryButton-
|
|
8
|
+
import { K as Le } from "./KdpaSecondaryButton-9d9e759c.js";
|
|
9
9
|
import { I as Me } from "./IconButton-48d87778.js";
|
|
10
10
|
const V = (e) => typeof e == "number" && !isNaN(e), H = (e) => typeof e == "string", N = (e) => typeof e == "function", Z = (e) => H(e) || N(e) ? e : null, se = (e) => U(e) || H(e) || N(e) || V(e);
|
|
11
11
|
function Se(e, t, n) {
|
|
@@ -11,7 +11,7 @@ function m({
|
|
|
11
11
|
return /* @__PURE__ */ o.jsxDEV(r, { title: n, children: /* @__PURE__ */ o.jsxDEV(
|
|
12
12
|
d,
|
|
13
13
|
{
|
|
14
|
-
className: `kdpa-secondaryButton ${
|
|
14
|
+
className: `kdpa-secondaryButton ${t ? "" : "kdpa-secondaryButton__noname"}`,
|
|
15
15
|
onClick: e,
|
|
16
16
|
variant: "outlined",
|
|
17
17
|
startIcon: a,
|
|
@@ -12,7 +12,7 @@ function c({
|
|
|
12
12
|
return /* @__PURE__ */ a.jsxDEV(s, { title: o, ...n, children: /* @__PURE__ */ a.jsxDEV(
|
|
13
13
|
i,
|
|
14
14
|
{
|
|
15
|
-
className: `kdpa-material-button ${
|
|
15
|
+
className: `kdpa-material-button ${t ? "" : "kdpa-material-button__noname"}`,
|
|
16
16
|
variant: e,
|
|
17
17
|
...n,
|
|
18
18
|
children: /* @__PURE__ */ a.jsxDEV("span", { className: "kdpa-material-button__name", children: [
|
|
@@ -48,7 +48,7 @@ function B({
|
|
|
48
48
|
return /* @__PURE__ */ a.jsxDEV(s, { title: e, children: /* @__PURE__ */ a.jsxDEV(
|
|
49
49
|
i,
|
|
50
50
|
{
|
|
51
|
-
className: `kdpa-material-primaryButton${
|
|
51
|
+
className: `kdpa-material-primaryButton ${t ? "" : "kdpa-material-primaryButton__noname"}`,
|
|
52
52
|
onClick: n,
|
|
53
53
|
variant: "contained",
|
|
54
54
|
startIcon: o,
|
package/dist/Loading/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as KdpaInlineSpinner } from "./KdpaInlineSpinner/KdpaInlineSpinner";
|
|
2
2
|
export { default as KdpaLoading } from "./KdpaLoading/KdpaLoading";
|
|
3
3
|
export { default as KdpaSkeleton } from "./KdpaSkeleton/KdpaSkeleton";
|
|
4
|
+
export { default as KdpaCircularProgress } from "./KdpaProgress/KdpaCircularProgress";
|
|
4
5
|
export type { KdpaInlineSpinnerProps } from "./KdpaInlineSpinner/KdpaInlineSpinner";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAEtF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC"}
|
package/dist/Loading/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K as
|
|
1
|
+
import { K as c, B as k, a as u } from "../KdpaSkeleton-f8f3aefc.js";
|
|
2
|
+
import { K as C } from "../KdpaCircularProgress-6c4605cd.js";
|
|
2
3
|
import "../jsx-dev-runtime-48fdc504.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import "../iconBase-800b43ff.js";
|
|
@@ -10,8 +11,13 @@ import "../useThemeProps-ea792506.js";
|
|
|
10
11
|
import "../emotion-react.browser.esm-3fa5f721.js";
|
|
11
12
|
import "../chainPropTypes-004bf492.js";
|
|
12
13
|
import "../useTheme-6ea322ec.js";
|
|
14
|
+
import "../KdpaTypography-763c3238.js";
|
|
15
|
+
import "../Typography-db7e5ea2.js";
|
|
16
|
+
import "../extendSxProp-d294b946.js";
|
|
17
|
+
import "../Box-032e9a1d.js";
|
|
13
18
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
C as KdpaCircularProgress,
|
|
20
|
+
c as KdpaInlineSpinner,
|
|
21
|
+
k as KdpaLoading,
|
|
22
|
+
u as KdpaSkeleton
|
|
17
23
|
};
|
package/dist/index.js
CHANGED
|
@@ -9,9 +9,9 @@ import { K as Ho } from "./KdpaSwitch-b2ba7c23.js";
|
|
|
9
9
|
import { K as No, a as Qo, b as Uo } from "./KdpaDateTimePicker-cb4a16d0.js";
|
|
10
10
|
import { a as Wo, K as Xo } from "./KdpaMenuItem-99cde871.js";
|
|
11
11
|
import { K as _o } from "./KdpaAutoComplete-8a11974a.js";
|
|
12
|
-
import { K as or, a as rr } from "./KpdaPrimaryButton-
|
|
12
|
+
import { K as or, a as rr } from "./KpdaPrimaryButton-729f6054.js";
|
|
13
13
|
import { K as ar } from "./KdpaIconButton-a0ee669c.js";
|
|
14
|
-
import { K as mr } from "./KdpaSecondaryButton-
|
|
14
|
+
import { K as mr } from "./KdpaSecondaryButton-9d9e759c.js";
|
|
15
15
|
import { K as er } from "./KdpaCheckBox-84d56486.js";
|
|
16
16
|
import { K as dr } from "./KdpaTooltip-653424c7.js";
|
|
17
17
|
import { K as fr, a as xr, b as lr } from "./KdpaSweetAlertOK-85e9c7b1.js";
|
|
@@ -24,7 +24,7 @@ import { K as Ir, a as hr, b as kr } from "./KdpaZoom-1b0f3404.js";
|
|
|
24
24
|
import { K as Gr } from "./KdpaTypography-763c3238.js";
|
|
25
25
|
import { K as Fr } from "./KdpaDropZone-b21d2304.js";
|
|
26
26
|
import { K as Mr } from "./KdpaLazyDrop-1985fc75.js";
|
|
27
|
-
import { K as Zr } from "./KdpaCopyToClipboard-
|
|
27
|
+
import { K as Zr } from "./KdpaCopyToClipboard-47aff0ac.js";
|
|
28
28
|
import { K as Or, B as jr, a as qr } from "./KdpaSkeleton-f8f3aefc.js";
|
|
29
29
|
import { K as Hr } from "./KdpaModalImage-eb732bf0.js";
|
|
30
30
|
import { K as Nr } from "./KdpaSlider-b7226e20.js";
|
package/package.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kdpa-components",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"private":false,
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"style": "./dist/style.css",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": "./dist/index.js"
|
|
10
11
|
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist/*"
|
|
14
|
+
],
|
|
11
15
|
"scripts": {
|
|
12
16
|
"dev": "vite",
|
|
13
17
|
"build": "tsc && vite build",
|
|
@@ -56,22 +60,22 @@
|
|
|
56
60
|
"react-dom": "^18.2.0"
|
|
57
61
|
},
|
|
58
62
|
"devDependencies": {
|
|
59
|
-
"@storybook/addon-essentials": "7.0.
|
|
60
|
-
"@storybook/addon-interactions": "7.0.
|
|
61
|
-
"@storybook/addon-links": "7.0.
|
|
63
|
+
"@storybook/addon-essentials": "7.0.18",
|
|
64
|
+
"@storybook/addon-interactions": "7.0.18",
|
|
65
|
+
"@storybook/addon-links": "7.0.18",
|
|
62
66
|
"@storybook/addon-styling": "^1.0.8",
|
|
63
|
-
"@storybook/blocks": "7.0.
|
|
64
|
-
"@storybook/builder-vite": "^7.0.
|
|
65
|
-
"@storybook/manager-api": "^7.0.
|
|
66
|
-
"@storybook/react": "7.0.
|
|
67
|
-
"@storybook/react-vite": "7.0.
|
|
68
|
-
"@storybook/testing-library": "0.0
|
|
69
|
-
"@storybook/theming": "^7.0.
|
|
67
|
+
"@storybook/blocks": "7.0.18",
|
|
68
|
+
"@storybook/builder-vite": "^7.0.18",
|
|
69
|
+
"@storybook/manager-api": "^7.0.18",
|
|
70
|
+
"@storybook/react": "7.0.18",
|
|
71
|
+
"@storybook/react-vite": "7.0.18",
|
|
72
|
+
"@storybook/testing-library": "0.1.0",
|
|
73
|
+
"@storybook/theming": "^7.0.18",
|
|
70
74
|
"@types/babel__traverse": "^7.18.5",
|
|
71
75
|
"@types/dompurify": "^3.0.2",
|
|
72
|
-
"@types/react": "^18.
|
|
76
|
+
"@types/react": "^18.2.7",
|
|
73
77
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
74
|
-
"@types/react-dom": "^18.
|
|
78
|
+
"@types/react-dom": "^18.2.4",
|
|
75
79
|
"@types/react-modal-image": "^2.6.0",
|
|
76
80
|
"@types/stylis": "^4.0.2",
|
|
77
81
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
@@ -80,9 +84,9 @@
|
|
|
80
84
|
"eslint": "^8.38.0",
|
|
81
85
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
82
86
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
83
|
-
"eslint-plugin-storybook": "^0.6.
|
|
87
|
+
"eslint-plugin-storybook": "^0.6.12",
|
|
84
88
|
"prop-types": "15.8.1",
|
|
85
|
-
"storybook": "7.0.
|
|
89
|
+
"storybook": "7.0.18",
|
|
86
90
|
"storybook-addon-rtl": "^0.5.0",
|
|
87
91
|
"typescript": "^5.0.2",
|
|
88
92
|
"vite": "^4.3.2"
|