@jigowatts/jigowatts-ui 0.0.1-12

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 (199) hide show
  1. package/README.md +50 -0
  2. package/dist/AccordionSummary-B4zooGpd.js +831 -0
  3. package/dist/ButtonBase-pxtIu13Q.js +866 -0
  4. package/dist/DateTimePicker-DJSOr5wM.js +4653 -0
  5. package/dist/ListContext-DOVwHqy-.js +180 -0
  6. package/dist/MenuItem-yBaT3_db.js +470 -0
  7. package/dist/Paper-COvYqxZa.js +522 -0
  8. package/dist/Tabs-D3lJRumZ.js +1085 -0
  9. package/dist/_commonjsHelpers-CT_km90n.js +30 -0
  10. package/dist/assets/index.css +1 -0
  11. package/dist/assets/index10.css +1 -0
  12. package/dist/assets/index11.css +1 -0
  13. package/dist/assets/index12.css +1 -0
  14. package/dist/assets/index13.css +1 -0
  15. package/dist/assets/index14.css +1 -0
  16. package/dist/assets/index15.css +1 -0
  17. package/dist/assets/index16.css +1 -0
  18. package/dist/assets/index17.css +1 -0
  19. package/dist/assets/index18.css +1 -0
  20. package/dist/assets/index19.css +1 -0
  21. package/dist/assets/index2.css +1 -0
  22. package/dist/assets/index20.css +1 -0
  23. package/dist/assets/index21.css +1 -0
  24. package/dist/assets/index22.css +1 -0
  25. package/dist/assets/index23.css +1 -0
  26. package/dist/assets/index24.css +1 -0
  27. package/dist/assets/index25.css +1 -0
  28. package/dist/assets/index26.css +1 -0
  29. package/dist/assets/index27.css +1 -0
  30. package/dist/assets/index3.css +1 -0
  31. package/dist/assets/index4.css +1 -0
  32. package/dist/assets/index5.css +1 -0
  33. package/dist/assets/index6.css +1 -0
  34. package/dist/assets/index7.css +1 -0
  35. package/dist/assets/index8.css +1 -0
  36. package/dist/assets/index9.css +1 -0
  37. package/dist/browser-DxfwT6rn.js +656 -0
  38. package/dist/components/Button/index.d.ts +28 -0
  39. package/dist/components/Button/index.js +18 -0
  40. package/dist/components/Button/index.test.d.ts +1 -0
  41. package/dist/components/Button/index.test.js +23 -0
  42. package/dist/components/Card/index.d.ts +16 -0
  43. package/dist/components/Card/index.js +37 -0
  44. package/dist/components/Card/index.test.d.ts +1 -0
  45. package/dist/components/Card/index.test.js +35 -0
  46. package/dist/components/CustomLink/index.d.ts +11 -0
  47. package/dist/components/CustomLink/index.js +1670 -0
  48. package/dist/components/CustomLink/index.test.d.ts +1 -0
  49. package/dist/components/CustomLink/index.test.js +40 -0
  50. package/dist/components/DataTable/index.d.ts +28 -0
  51. package/dist/components/DataTable/index.js +137 -0
  52. package/dist/components/DataTable/index.test.d.ts +1 -0
  53. package/dist/components/DataTable/index.test.js +3010 -0
  54. package/dist/components/DatePickerController/index.d.ts +16 -0
  55. package/dist/components/DatePickerController/index.js +83 -0
  56. package/dist/components/DatePickerController/index.test.d.ts +1 -0
  57. package/dist/components/DatePickerController/index.test.js +24 -0
  58. package/dist/components/ErrorMessage/index.d.ts +5 -0
  59. package/dist/components/ErrorMessage/index.js +11 -0
  60. package/dist/components/ErrorMessage/index.test.d.ts +1 -0
  61. package/dist/components/ErrorMessage/index.test.js +17 -0
  62. package/dist/components/EvseStateLabel/index.d.ts +5 -0
  63. package/dist/components/EvseStateLabel/index.js +36 -0
  64. package/dist/components/FlexButtons/index.d.ts +9 -0
  65. package/dist/components/FlexButtons/index.js +13 -0
  66. package/dist/components/Form/index.d.ts +8 -0
  67. package/dist/components/Form/index.js +11 -0
  68. package/dist/components/Form/index.test.d.ts +1 -0
  69. package/dist/components/Form/index.test.js +25 -0
  70. package/dist/components/FormItem/index.d.ts +9 -0
  71. package/dist/components/FormItem/index.js +19 -0
  72. package/dist/components/FormItem/index.test.d.ts +1 -0
  73. package/dist/components/FormItem/index.test.js +15 -0
  74. package/dist/components/FormTitle/index.d.ts +5 -0
  75. package/dist/components/FormTitle/index.js +11 -0
  76. package/dist/components/FormTitle/index.test.d.ts +1 -0
  77. package/dist/components/FormTitle/index.test.js +15 -0
  78. package/dist/components/Input/index.d.ts +15 -0
  79. package/dist/components/Input/index.js +39 -0
  80. package/dist/components/Input/index.test.d.ts +1 -0
  81. package/dist/components/Input/index.test.js +39 -0
  82. package/dist/components/InputController/index.d.ts +20 -0
  83. package/dist/components/InputController/index.js +81 -0
  84. package/dist/components/InputController/index.test.d.ts +1 -0
  85. package/dist/components/InputController/index.test.js +56 -0
  86. package/dist/components/InputGroup/index.d.ts +7 -0
  87. package/dist/components/InputGroup/index.js +11 -0
  88. package/dist/components/InputGroup/index.test.d.ts +1 -0
  89. package/dist/components/InputGroup/index.test.js +15 -0
  90. package/dist/components/Label/index.d.ts +7 -0
  91. package/dist/components/Label/index.js +14 -0
  92. package/dist/components/Label/index.test.d.ts +1 -0
  93. package/dist/components/Label/index.test.js +25 -0
  94. package/dist/components/LabeledContent/index.d.ts +15 -0
  95. package/dist/components/LabeledContent/index.js +28 -0
  96. package/dist/components/LabeledContent/index.test.d.ts +1 -0
  97. package/dist/components/LabeledContent/index.test.js +19 -0
  98. package/dist/components/LoadingOverlay/index.d.ts +2 -0
  99. package/dist/components/LoadingOverlay/index.js +134 -0
  100. package/dist/components/LoadingOverlay/index.test.d.ts +1 -0
  101. package/dist/components/LoadingOverlay/index.test.js +12 -0
  102. package/dist/components/Map/index.d.ts +8 -0
  103. package/dist/components/Map/index.js +6575 -0
  104. package/dist/components/MaxWidthContainer/index.d.ts +13 -0
  105. package/dist/components/MaxWidthContainer/index.js +15 -0
  106. package/dist/components/MaxWidthContainer/index.test.d.ts +1 -0
  107. package/dist/components/MaxWidthContainer/index.test.js +24 -0
  108. package/dist/components/NumericFieldController/index.d.ts +53 -0
  109. package/dist/components/NumericFieldController/index.js +620 -0
  110. package/dist/components/NumericFieldController/index.test.d.ts +1 -0
  111. package/dist/components/NumericFieldController/index.test.js +24 -0
  112. package/dist/components/OfflineLabel/index.d.ts +5 -0
  113. package/dist/components/OfflineLabel/index.js +34 -0
  114. package/dist/components/PageSizeSelector/index.d.ts +15 -0
  115. package/dist/components/PageSizeSelector/index.js +43 -0
  116. package/dist/components/Pagination/index.d.ts +9 -0
  117. package/dist/components/Pagination/index.js +7 -0
  118. package/dist/components/Pagination/index.test.d.ts +1 -0
  119. package/dist/components/Pagination/index.test.js +34 -0
  120. package/dist/components/PasswordInputController/index.d.ts +17 -0
  121. package/dist/components/PasswordInputController/index.js +78 -0
  122. package/dist/components/PasswordInputController/index.test.d.ts +1 -0
  123. package/dist/components/PasswordInputController/index.test.js +37 -0
  124. package/dist/components/RadioButton/index.d.ts +13 -0
  125. package/dist/components/RadioButton/index.js +7 -0
  126. package/dist/components/RadioButton/index.test.d.ts +1 -0
  127. package/dist/components/RadioButton/index.test.js +38 -0
  128. package/dist/components/RadioGroupController/index.d.ts +15 -0
  129. package/dist/components/RadioGroupController/index.js +48 -0
  130. package/dist/components/RadioGroupController/index.test.d.ts +1 -0
  131. package/dist/components/RadioGroupController/index.test.js +48 -0
  132. package/dist/components/RangeDatePicker/index.d.ts +14 -0
  133. package/dist/components/RangeDatePicker/index.js +1594 -0
  134. package/dist/components/RangeDatePickerController/index.d.ts +21 -0
  135. package/dist/components/RangeDatePickerController/index.js +123 -0
  136. package/dist/components/RangeDatePickerController/index.test.d.ts +1 -0
  137. package/dist/components/RangeDatePickerController/index.test.js +24 -0
  138. package/dist/components/ReportCard/index.d.ts +12 -0
  139. package/dist/components/ReportCard/index.js +18 -0
  140. package/dist/components/ReportCard/index.test.d.ts +1 -0
  141. package/dist/components/ReportCard/index.test.js +27 -0
  142. package/dist/components/ReportChart/index.d.ts +22 -0
  143. package/dist/components/ReportChart/index.js +23101 -0
  144. package/dist/components/ScrollableDialog/index.d.ts +19 -0
  145. package/dist/components/ScrollableDialog/index.js +42 -0
  146. package/dist/components/ScrollableDialog/index.test.d.ts +1 -0
  147. package/dist/components/ScrollableDialog/index.test.js +59 -0
  148. package/dist/components/SearchForm/index.d.ts +13 -0
  149. package/dist/components/SearchForm/index.js +86 -0
  150. package/dist/components/SelectBox/index.d.ts +18 -0
  151. package/dist/components/SelectBox/index.js +7 -0
  152. package/dist/components/SelectBox/index.test.d.ts +1 -0
  153. package/dist/components/SelectBox/index.test.js +34 -0
  154. package/dist/components/SelectBoxController/index.d.ts +20 -0
  155. package/dist/components/SelectBoxController/index.js +87 -0
  156. package/dist/components/SelectBoxController/index.test.d.ts +1 -0
  157. package/dist/components/SelectBoxController/index.test.js +52 -0
  158. package/dist/components/SubMenu/index.d.ts +22 -0
  159. package/dist/components/SubMenu/index.js +278 -0
  160. package/dist/components/SubMenu/index.test.d.ts +1 -0
  161. package/dist/components/SubMenu/index.test.js +41 -0
  162. package/dist/components/Tabs/index.d.ts +21 -0
  163. package/dist/components/Tabs/index.js +100 -0
  164. package/dist/components/Tabs/index.test.d.ts +1 -0
  165. package/dist/components/Tabs/index.test.js +24 -0
  166. package/dist/components/Textarea/index.d.ts +18 -0
  167. package/dist/components/Textarea/index.js +34 -0
  168. package/dist/components/Textarea/index.test.d.ts +1 -0
  169. package/dist/components/Textarea/index.test.js +25 -0
  170. package/dist/components/ToggleButton/index.d.ts +16 -0
  171. package/dist/components/ToggleButton/index.js +39 -0
  172. package/dist/components/ToggleButton/index.test.d.ts +1 -0
  173. package/dist/components/ToggleButton/index.test.js +49 -0
  174. package/dist/constants/datetime.d.ts +2 -0
  175. package/dist/constants/datetime.js +5 -0
  176. package/dist/createSvgIcon-B53UOwxg.js +183 -0
  177. package/dist/createSvgIcon-Dj8zNxRS.js +72 -0
  178. package/dist/index-BLPOOjNr.js +184 -0
  179. package/dist/index-BOjtnFU5.js +34 -0
  180. package/dist/index-Bs3JCwgu.js +689 -0
  181. package/dist/index-CICI7n5Y.js +19688 -0
  182. package/dist/index-CQDJfJT1.js +50 -0
  183. package/dist/index-C_i0-R5C.js +393 -0
  184. package/dist/index-DWRHnq8_.js +42 -0
  185. package/dist/index-Di2gTfPF.js +25175 -0
  186. package/dist/index-VF82hRp0.js +2522 -0
  187. package/dist/index-kvi6aotO.js +39 -0
  188. package/dist/index.d.ts +38 -0
  189. package/dist/index.esm-ChwJSgnF.js +1052 -0
  190. package/dist/index.js +77 -0
  191. package/dist/isEqual-BBhdD79C.js +667 -0
  192. package/dist/mergeSlotProps-J197zKan.js +63 -0
  193. package/dist/react.esm-C8amP77L.js +11182 -0
  194. package/dist/styled-CWju4EfZ.js +2702 -0
  195. package/dist/unsupportedProp-DZaWZqWQ.js +30 -0
  196. package/dist/useControlled-BQCJRJNJ.js +64 -0
  197. package/dist/useIsFocusVisible-BxB-Hdhb.js +124 -0
  198. package/dist/useSlotProps-Bh7akxXV.js +33 -0
  199. package/package.json +360 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { a as n, s as i } from "../../react.esm-C8amP77L.js";
3
+ import { j as s } from "../../index-Di2gTfPF.js";
4
+ import { InputGroup as r } from "./index.js";
5
+ describe("InputGroup component", () => {
6
+ const e = "Test content";
7
+ it("renders the children", () => {
8
+ n(/* @__PURE__ */ o(r, { children: e }));
9
+ const t = i.getByText(e);
10
+ expect(t).toBeInTheDocument();
11
+ }), it("should be accessible", async () => {
12
+ const { container: t } = n(/* @__PURE__ */ o(r, { children: e })), c = await s.axe(t);
13
+ expect.extend(s.toHaveNoViolations), expect(c).toHaveNoViolations();
14
+ });
15
+ });
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ label: string;
3
+ isRequired?: boolean;
4
+ htmlFor?: string;
5
+ };
6
+ export declare const Label: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export default Label;
@@ -0,0 +1,14 @@
1
+ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
+ import '../../assets/index14.css';const a = "_required_1f4sr_1", d = {
3
+ required: a
4
+ }, o = (e) => {
5
+ const { label: r, isRequired: s, htmlFor: l } = e;
6
+ return /* @__PURE__ */ t("label", { htmlFor: l, children: [
7
+ r,
8
+ s && /* @__PURE__ */ i("span", { className: d.required, children: "※" })
9
+ ] });
10
+ };
11
+ export {
12
+ o as Label,
13
+ o as default
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { a as r, s as o } from "../../react.esm-C8amP77L.js";
3
+ import { j as n } from "../../index-Di2gTfPF.js";
4
+ import { Label as a } from "./index.js";
5
+ describe("Label component", () => {
6
+ it("renders a label with the provided text and htmlFor attribute", () => {
7
+ const e = "Test Label", t = "test-id";
8
+ r(/* @__PURE__ */ i(a, { label: e, htmlFor: t }));
9
+ const s = o.getByText(e);
10
+ expect(s).toBeInTheDocument(), expect(s.closest("label")).toHaveAttribute("for", t);
11
+ }), it("renders a label with the required indicator if isRequired is true", () => {
12
+ const e = "Test Label";
13
+ r(/* @__PURE__ */ i(a, { label: e, isRequired: !0 }));
14
+ const t = o.getByText(e);
15
+ expect(t).toBeInTheDocument(), expect(o.getByText("※")).toBeInTheDocument();
16
+ }), it("does not render the required indicator if isRequired is false", () => {
17
+ const e = "Test Label";
18
+ r(/* @__PURE__ */ i(a, { label: e, isRequired: !1 }));
19
+ const t = o.getByText(e);
20
+ expect(t).toBeInTheDocument(), expect(o.queryByText("※")).not.toBeInTheDocument();
21
+ }), it("should be accessible", async () => {
22
+ const e = "Test Label", { container: t } = r(/* @__PURE__ */ i(a, { label: e, isRequired: !0 })), s = await n.axe(t);
23
+ expect.extend(n.toHaveNoViolations), expect(s).toHaveNoViolations();
24
+ });
25
+ });
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type Props = {
4
+ /**項目名要素 */
5
+ label: ReactNode;
6
+ /**内容要素 */
7
+ content: ReactNode;
8
+ /**カスタムスタイルクラス */
9
+ className?: string | undefined;
10
+ /**必須項目か否か */
11
+ isRequired?: boolean;
12
+ };
13
+ /**項目名と内容がセットになったコンポーネントです*/
14
+ export declare const LabeledContent: (props: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export default LabeledContent;
@@ -0,0 +1,28 @@
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import { c as r } from "../../index-DWRHnq8_.js";
3
+ import '../../assets/index15.css';const o = "_container_1gimn_1", d = "_label_1gimn_7", m = "_required_1gimn_12", _ = "_content_1gimn_16", e = {
4
+ container: o,
5
+ label: d,
6
+ required: m,
7
+ content: _
8
+ }, N = (s) => {
9
+ const { label: a, content: c, className: l, isRequired: i } = s;
10
+ return /* @__PURE__ */ n(
11
+ "div",
12
+ {
13
+ "data-testid": "labeled-content",
14
+ className: r(e.container, l),
15
+ children: [
16
+ /* @__PURE__ */ n("div", { className: e.label, children: [
17
+ a,
18
+ i && /* @__PURE__ */ t("span", { className: e.required, children: "*" })
19
+ ] }),
20
+ /* @__PURE__ */ t("div", { className: e.content, children: c })
21
+ ]
22
+ }
23
+ );
24
+ };
25
+ export {
26
+ N as LabeledContent,
27
+ N as default
28
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { a as o, s as e } from "../../react.esm-C8amP77L.js";
3
+ import { LabeledContent as n } from "./index.js";
4
+ describe("LabeledContent component", () => {
5
+ it("renders label and content correctly", () => {
6
+ o(/* @__PURE__ */ t(n, { label: "Name:", content: "John Doe" })), expect(e.getByText("Name:")).toBeInTheDocument(), expect(e.getByText("John Doe")).toBeInTheDocument();
7
+ }), it("renders with custom className if provided", () => {
8
+ o(
9
+ /* @__PURE__ */ t(
10
+ n,
11
+ {
12
+ label: "Name:",
13
+ content: "John Doe",
14
+ className: "custom-class"
15
+ }
16
+ )
17
+ ), expect(e.getByTestId("labeled-content")).toHaveClass("custom-class");
18
+ });
19
+ });
@@ -0,0 +1,2 @@
1
+ export declare const LoadingOverLay: () => import("react/jsx-runtime").JSX.Element;
2
+ export default LoadingOverLay;
@@ -0,0 +1,134 @@
1
+ import { jsx as b } from "react/jsx-runtime";
2
+ import { c as o } from "../../_commonjsHelpers-CT_km90n.js";
3
+ import A from "react";
4
+ import '../../assets/index24.css';var O = {}, i = {};
5
+ Object.defineProperty(i, "__esModule", { value: !0 });
6
+ i.cssValue = i.parseLengthAndUnit = void 0;
7
+ var R = {
8
+ cm: !0,
9
+ mm: !0,
10
+ in: !0,
11
+ px: !0,
12
+ pt: !0,
13
+ pc: !0,
14
+ em: !0,
15
+ ex: !0,
16
+ ch: !0,
17
+ rem: !0,
18
+ vw: !0,
19
+ vh: !0,
20
+ vmin: !0,
21
+ vmax: !0,
22
+ "%": !0
23
+ };
24
+ function j(e) {
25
+ if (typeof e == "number")
26
+ return {
27
+ value: e,
28
+ unit: "px"
29
+ };
30
+ var t, n = (e.match(/^[0-9.]*/) || "").toString();
31
+ n.includes(".") ? t = parseFloat(n) : t = parseInt(n, 10);
32
+ var r = (e.match(/[^0-9]*$/) || "").toString();
33
+ return R[r] ? {
34
+ value: t,
35
+ unit: r
36
+ } : (console.warn("React Spinners: ".concat(e, " is not a valid css value. Defaulting to ").concat(t, "px.")), {
37
+ value: t,
38
+ unit: "px"
39
+ });
40
+ }
41
+ i.parseLengthAndUnit = j;
42
+ function S(e) {
43
+ var t = j(e);
44
+ return "".concat(t.value).concat(t.unit);
45
+ }
46
+ i.cssValue = S;
47
+ var l = {};
48
+ Object.defineProperty(l, "__esModule", { value: !0 });
49
+ l.createAnimation = void 0;
50
+ var E = function(e, t, n) {
51
+ var r = "react-spinners-".concat(e, "-").concat(n);
52
+ if (typeof window > "u" || !window.document)
53
+ return r;
54
+ var a = document.createElement("style");
55
+ document.head.appendChild(a);
56
+ var c = a.sheet, s = `
57
+ @keyframes `.concat(r, ` {
58
+ `).concat(t, `
59
+ }
60
+ `);
61
+ return c && c.insertRule(s, 0), r;
62
+ };
63
+ l.createAnimation = E;
64
+ var u = o && o.__assign || function() {
65
+ return u = Object.assign || function(e) {
66
+ for (var t, n = 1, r = arguments.length; n < r; n++) {
67
+ t = arguments[n];
68
+ for (var a in t)
69
+ Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
70
+ }
71
+ return e;
72
+ }, u.apply(this, arguments);
73
+ }, U = o && o.__createBinding || (Object.create ? function(e, t, n, r) {
74
+ r === void 0 && (r = n);
75
+ var a = Object.getOwnPropertyDescriptor(t, n);
76
+ (!a || ("get" in a ? !t.__esModule : a.writable || a.configurable)) && (a = { enumerable: !0, get: function() {
77
+ return t[n];
78
+ } }), Object.defineProperty(e, r, a);
79
+ } : function(e, t, n, r) {
80
+ r === void 0 && (r = n), e[r] = t[n];
81
+ }), V = o && o.__setModuleDefault || (Object.create ? function(e, t) {
82
+ Object.defineProperty(e, "default", { enumerable: !0, value: t });
83
+ } : function(e, t) {
84
+ e.default = t;
85
+ }), D = o && o.__importStar || function(e) {
86
+ if (e && e.__esModule)
87
+ return e;
88
+ var t = {};
89
+ if (e != null)
90
+ for (var n in e)
91
+ n !== "default" && Object.prototype.hasOwnProperty.call(e, n) && U(t, e, n);
92
+ return V(t, e), t;
93
+ }, X = o && o.__rest || function(e, t) {
94
+ var n = {};
95
+ for (var r in e)
96
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
97
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
98
+ for (var a = 0, r = Object.getOwnPropertySymbols(e); a < r.length; a++)
99
+ t.indexOf(r[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[a]) && (n[r[a]] = e[r[a]]);
100
+ return n;
101
+ };
102
+ Object.defineProperty(O, "__esModule", { value: !0 });
103
+ var p = D(A), g = i, w = l, Y = (0, w.createAnimation)("RingLoader", "0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(180deg) rotateY(360deg) rotateZ(360deg)}", "right"), Z = (0, w.createAnimation)("RingLoader", "0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg)}", "left");
104
+ function C(e) {
105
+ var t = e.loading, n = t === void 0 ? !0 : t, r = e.color, a = r === void 0 ? "#000000" : r, c = e.speedMultiplier, s = c === void 0 ? 1 : c, m = e.cssOverride, x = m === void 0 ? {} : m, y = e.size, d = y === void 0 ? 60 : y, M = X(e, ["loading", "color", "speedMultiplier", "cssOverride", "size"]), _ = (0, g.parseLengthAndUnit)(d), f = _.value, v = _.unit, P = u({ display: "inherit", width: (0, g.cssValue)(d), height: (0, g.cssValue)(d), position: "relative" }, x), h = function(L) {
106
+ return {
107
+ position: "absolute",
108
+ top: "0",
109
+ left: "0",
110
+ width: "".concat(f).concat(v),
111
+ height: "".concat(f).concat(v),
112
+ border: "".concat(f / 10).concat(v, " solid ").concat(a),
113
+ opacity: "0.4",
114
+ borderRadius: "100%",
115
+ animationFillMode: "forwards",
116
+ perspective: "800px",
117
+ animation: "".concat(L === 1 ? Y : Z, " ").concat(2 / s, "s 0s infinite linear")
118
+ };
119
+ };
120
+ return n ? p.createElement(
121
+ "span",
122
+ u({ style: P }, M),
123
+ p.createElement("span", { style: h(1) }),
124
+ p.createElement("span", { style: h(2) })
125
+ ) : null;
126
+ }
127
+ var F = O.default = C;
128
+ const B = "_overlay_igez4_1", I = {
129
+ overlay: B
130
+ }, W = () => /* @__PURE__ */ b("div", { className: I.overlay, children: /* @__PURE__ */ b(F, { color: "#071d2e", "data-testid": "loader" }) });
131
+ export {
132
+ W as LoadingOverLay,
133
+ W as default
134
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { a as o, s } from "../../react.esm-C8amP77L.js";
3
+ import { j as t } from "../../index-Di2gTfPF.js";
4
+ import { LoadingOverLay as a } from "./index.js";
5
+ describe("LoadingOverLay component", () => {
6
+ it("renders the loading overlay with a RingLoader spinner", () => {
7
+ o(/* @__PURE__ */ e(a, {})), expect(s.getByTestId("loader")).toBeInTheDocument();
8
+ }), it("should be accessible", async () => {
9
+ const { container: r } = o(/* @__PURE__ */ e(a, {})), n = await t.axe(r);
10
+ expect.extend(t.toHaveNoViolations), expect(n).toHaveNoViolations();
11
+ });
12
+ });
@@ -0,0 +1,8 @@
1
+
2
+ interface Props {
3
+ lat: number;
4
+ lon: number;
5
+ pinTitle?: string;
6
+ }
7
+ declare const Map: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export default Map;