react-luminus-components 2.1.8 → 2.1.10
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/.vite/manifest.json +191 -50
- package/dist/Alert-BApdinGX.cjs +1 -0
- package/dist/Alert-D2Bw906t.js +495 -0
- package/dist/DelegationContext-B1WXROG2.cjs +201 -0
- package/dist/DelegationContext-CCnk58PI.js +3156 -0
- package/dist/HelmetContext-ChKPef74.js +49 -0
- package/dist/HelmetContext-DDQ-Phg7.cjs +1 -0
- package/dist/PrimaryButton-D7r0m8xi.js +742 -0
- package/dist/PrimaryButton-D91b3Dmv.cjs +1 -0
- package/dist/SimpleTooltip-B00uLuVM.cjs +1 -0
- package/dist/SimpleTooltip-dwOOgecT.js +1642 -0
- package/dist/Typography-C5KJzU5O.js +1627 -0
- package/dist/Typography-Fo21SeyJ.cjs +20 -0
- package/dist/UserContext-45ZxeQHB.cjs +1 -0
- package/dist/UserContext-ZsTsf5Xe.js +270 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +1773 -852
- package/dist/dateUtils-CXm9PEh6.cjs +1 -0
- package/dist/dateUtils-ayErBYbI.js +1488 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +118 -123
- package/dist/index-4IYT9u10.js +95 -0
- package/dist/index-jmbq5h95.cjs +25 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +97 -98
- package/dist/localStorageUtils-BSATUi5m.cjs +1 -0
- package/dist/localStorageUtils-DNgjNynk.js +1070 -0
- package/dist/main.cjs.js +56 -7
- package/dist/main.es.js +36401 -11370
- package/dist/models/texts/SubstitutionsTexts.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-76y8Dca-.cjs +1 -0
- package/dist/useIsFormDirty-Ba5uhPH7.js +3257 -0
- package/dist/useWindowSize-7W91GsJQ.js +56 -0
- package/dist/useWindowSize-CLoDaEYh.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +79 -85
- package/package.json +10 -1
- package/dist/FormDisabledProvider-D-DRODSt.js +0 -51
- package/dist/FormDisabledProvider-Dt39yr7W.cjs +0 -1
- package/dist/localStorageUtils-CVwJ9FKd.cjs +0 -1
- package/dist/localStorageUtils-TeLq8MHE.js +0 -59
- package/dist/nivo-bar-D6NJLYWS.js +0 -39616
- package/dist/nivo-bar-SBWBmyeI.cjs +0 -293
- package/dist/useIsFormDirty-CZ4jNRFn.js +0 -117
- package/dist/useIsFormDirty-Crsu8mjo.cjs +0 -1
- package/dist/useLocalStorageState-Ca7olZgH.cjs +0 -1
- package/dist/useLocalStorageState-DtBc-C2W.js +0 -25
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import { createContext as p } from "react";
|
|
3
|
+
import { a as r } from "./index-4IYT9u10.js";
|
|
4
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
5
|
+
import { P as a } from "./Typography-C5KJzU5O.js";
|
|
6
|
+
const N = (o) => (
|
|
7
|
+
// eslint-disable-next-line react/display-name
|
|
8
|
+
/* @__PURE__ */ s.forwardRef((e, t) => /* @__PURE__ */ l("div", {
|
|
9
|
+
...e,
|
|
10
|
+
ref: t,
|
|
11
|
+
className: r(e.className, o)
|
|
12
|
+
}))
|
|
13
|
+
), c = {
|
|
14
|
+
/** An accessible label indicating the relevant information about the Close Button. */
|
|
15
|
+
"aria-label": a.string,
|
|
16
|
+
/** A callback fired after the Close Button is clicked. */
|
|
17
|
+
onClick: a.func,
|
|
18
|
+
/**
|
|
19
|
+
* Render different color variant for the button.
|
|
20
|
+
*
|
|
21
|
+
* Omitting this will render the default dark color.
|
|
22
|
+
*/
|
|
23
|
+
variant: a.oneOf(["white"])
|
|
24
|
+
}, m = /* @__PURE__ */ s.forwardRef(({
|
|
25
|
+
className: o,
|
|
26
|
+
variant: e,
|
|
27
|
+
"aria-label": t = "Close",
|
|
28
|
+
...i
|
|
29
|
+
}, n) => /* @__PURE__ */ l("button", {
|
|
30
|
+
ref: n,
|
|
31
|
+
type: "button",
|
|
32
|
+
className: r("btn-close", e && `btn-close-${e}`, o),
|
|
33
|
+
"aria-label": t,
|
|
34
|
+
...i
|
|
35
|
+
}));
|
|
36
|
+
m.displayName = "CloseButton";
|
|
37
|
+
m.propTypes = c;
|
|
38
|
+
const u = p({
|
|
39
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
40
|
+
addHelmet: (o) => {
|
|
41
|
+
},
|
|
42
|
+
removeHelmet: () => {
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
m as C,
|
|
47
|
+
u as H,
|
|
48
|
+
N as d
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("react"),l=require("./index-jmbq5h95.cjs"),c=require("react/jsx-runtime"),a=require("./Typography-Fo21SeyJ.cjs");function p(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}return t.default=e,Object.freeze(t)}const i=p(n),m=e=>i.forwardRef((t,s)=>c.jsx("div",{...t,ref:s,className:l.classNames(t.className,e)})),f={"aria-label":a.PropTypes.string,onClick:a.PropTypes.func,variant:a.PropTypes.oneOf(["white"])},r=i.forwardRef(({className:e,variant:t,"aria-label":s="Close",...o},u)=>c.jsx("button",{ref:u,type:"button",className:l.classNames("btn-close",t&&`btn-close-${t}`,e),"aria-label":s,...o}));r.displayName="CloseButton";r.propTypes=f;const d=n.createContext({addHelmet:e=>{},removeHelmet:()=>{}});exports.CloseButton=r;exports.HelmetContext=d;exports.divWithClassName=m;
|