react-luminus-components 2.1.8 → 2.1.9

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 (48) hide show
  1. package/dist/.vite/manifest.json +191 -50
  2. package/dist/Alert-BApdinGX.cjs +1 -0
  3. package/dist/Alert-D2Bw906t.js +495 -0
  4. package/dist/DelegationContext-B1WXROG2.cjs +201 -0
  5. package/dist/DelegationContext-CCnk58PI.js +3156 -0
  6. package/dist/HelmetContext-ChKPef74.js +49 -0
  7. package/dist/HelmetContext-DDQ-Phg7.cjs +1 -0
  8. package/dist/PrimaryButton-D7r0m8xi.js +742 -0
  9. package/dist/PrimaryButton-D91b3Dmv.cjs +1 -0
  10. package/dist/SimpleTooltip-B00uLuVM.cjs +1 -0
  11. package/dist/SimpleTooltip-dwOOgecT.js +1642 -0
  12. package/dist/Typography-C5KJzU5O.js +1627 -0
  13. package/dist/Typography-Fo21SeyJ.cjs +20 -0
  14. package/dist/UserContext-45ZxeQHB.cjs +1 -0
  15. package/dist/UserContext-ZsTsf5Xe.js +270 -0
  16. package/dist/contexts.cjs.js +1 -1
  17. package/dist/contexts.es.js +1773 -852
  18. package/dist/dateUtils-CXm9PEh6.cjs +1 -0
  19. package/dist/dateUtils-ayErBYbI.js +1488 -0
  20. package/dist/hooks.cjs.js +1 -1
  21. package/dist/hooks.es.js +118 -123
  22. package/dist/index-4IYT9u10.js +95 -0
  23. package/dist/index-jmbq5h95.cjs +25 -0
  24. package/dist/layout.cjs.js +1 -1
  25. package/dist/layout.es.js +97 -98
  26. package/dist/localStorageUtils-BSATUi5m.cjs +1 -0
  27. package/dist/localStorageUtils-DNgjNynk.js +1070 -0
  28. package/dist/main.cjs.js +56 -7
  29. package/dist/main.es.js +36660 -11628
  30. package/dist/models/texts/ApprovalTexts.d.ts +1 -0
  31. package/dist/style.css +1 -1
  32. package/dist/useIsFormDirty-76y8Dca-.cjs +1 -0
  33. package/dist/useIsFormDirty-Ba5uhPH7.js +3257 -0
  34. package/dist/useWindowSize-7W91GsJQ.js +56 -0
  35. package/dist/useWindowSize-CLoDaEYh.cjs +1 -0
  36. package/dist/utils.cjs.js +1 -1
  37. package/dist/utils.es.js +79 -85
  38. package/package.json +10 -1
  39. package/dist/FormDisabledProvider-D-DRODSt.js +0 -51
  40. package/dist/FormDisabledProvider-Dt39yr7W.cjs +0 -1
  41. package/dist/localStorageUtils-CVwJ9FKd.cjs +0 -1
  42. package/dist/localStorageUtils-TeLq8MHE.js +0 -59
  43. package/dist/nivo-bar-D6NJLYWS.js +0 -39616
  44. package/dist/nivo-bar-SBWBmyeI.cjs +0 -293
  45. package/dist/useIsFormDirty-CZ4jNRFn.js +0 -117
  46. package/dist/useIsFormDirty-Crsu8mjo.cjs +0 -1
  47. package/dist/useLocalStorageState-Ca7olZgH.cjs +0 -1
  48. 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;