fina-react-ds 0.0.0

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 (106) hide show
  1. package/README.md +17 -0
  2. package/dist/_virtual/index.js +5 -0
  3. package/dist/_virtual/index2.js +4 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  5. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  6. package/dist/components/alert-dialog.d.ts +16 -0
  7. package/dist/components/alert.d.ts +8 -0
  8. package/dist/components/alert.js +70 -0
  9. package/dist/components/avatar.d.ts +5 -0
  10. package/dist/components/avatar.js +58 -0
  11. package/dist/components/badge.d.ts +8 -0
  12. package/dist/components/badge.js +43 -0
  13. package/dist/components/button.d.ts +10 -0
  14. package/dist/components/button.js +152 -0
  15. package/dist/components/card.d.ts +8 -0
  16. package/dist/components/card.js +99 -0
  17. package/dist/components/checkbox.d.ts +4 -0
  18. package/dist/components/checkbox.js +34 -0
  19. package/dist/components/dialog.d.ts +15 -0
  20. package/dist/components/dialog.js +148 -0
  21. package/dist/components/dropdown-menu.d.ts +25 -0
  22. package/dist/components/dropdown-menu.js +248 -0
  23. package/dist/components/input.d.ts +3 -0
  24. package/dist/components/input.js +24 -0
  25. package/dist/components/label.d.ts +6 -0
  26. package/dist/components/label.js +32 -0
  27. package/dist/components/pagination.d.ts +13 -0
  28. package/dist/components/pagination.js +128 -0
  29. package/dist/components/popover.d.ts +7 -0
  30. package/dist/components/popover.js +50 -0
  31. package/dist/components/select.d.ts +11 -0
  32. package/dist/components/select.js +48 -0
  33. package/dist/components/separator.d.ts +4 -0
  34. package/dist/components/simple-pagination.d.ts +6 -0
  35. package/dist/components/simple-pagination.js +34 -0
  36. package/dist/components/tabs.d.ts +7 -0
  37. package/dist/components/tabs.js +73 -0
  38. package/dist/hooks/use-mobile.d.ts +1 -0
  39. package/dist/index.js +80 -0
  40. package/dist/lib/utils.d.ts +2 -0
  41. package/dist/lib/utils.js +11 -0
  42. package/dist/lib.d.ts +16 -0
  43. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +534 -0
  44. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +430 -0
  45. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +215 -0
  46. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +159 -0
  47. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +149 -0
  48. package/dist/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  49. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  50. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +80 -0
  51. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +258 -0
  52. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +51 -0
  53. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +34 -0
  54. package/dist/node_modules/@radix-ui/react-context/dist/index.js +76 -0
  55. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +265 -0
  56. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
  57. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +133 -0
  58. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +230 -0
  59. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +21 -0
  60. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +149 -0
  61. package/dist/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  62. package/dist/node_modules/@radix-ui/react-label/dist/index.js +22 -0
  63. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +663 -0
  64. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +247 -0
  65. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +224 -0
  66. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
  67. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +77 -0
  68. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +39 -0
  69. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +189 -0
  70. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +60 -0
  71. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +168 -0
  72. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +16 -0
  73. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +59 -0
  74. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
  75. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +19 -0
  76. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  77. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -0
  78. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +30 -0
  79. package/dist/node_modules/aria-hidden/dist/es2015/index.js +54 -0
  80. package/dist/node_modules/get-nonce/dist/es2015/index.js +9 -0
  81. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  82. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
  83. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +33 -0
  84. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +18 -0
  85. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +70 -0
  86. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  87. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  88. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +73 -0
  89. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  90. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +27 -0
  91. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +13 -0
  92. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +17 -0
  93. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -0
  94. package/dist/node_modules/tslib/tslib.es6.js +31 -0
  95. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +9 -0
  96. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +29 -0
  97. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +28 -0
  98. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
  99. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +72 -0
  100. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +73 -0
  101. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +62 -0
  102. package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
  103. package/dist/themes/base.css +1982 -0
  104. package/dist/themes/pro.css +188 -0
  105. package/dist/themes/puulse-colors.css +388 -0
  106. package/package.json +114 -0
@@ -0,0 +1,73 @@
1
+ var m = Object.defineProperty;
2
+ var u = (i, s) => m(i, "name", { value: s, configurable: !0 });
3
+ import { __exports as c } from "../../../_virtual/use-sync-external-store-shim.development.js";
4
+ import T from "react";
5
+ /**
6
+ * @license React
7
+ * use-sync-external-store-shim.development.js
8
+ *
9
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var O;
15
+ function w() {
16
+ return O ? c : (O = 1, process.env.NODE_ENV !== "production" && function() {
17
+ function i(e, t) {
18
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
19
+ }
20
+ u(i, "is");
21
+ function s(e, t) {
22
+ d || o.startTransition === void 0 || (d = !0, console.error(
23
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
24
+ ));
25
+ var r = t();
26
+ if (!S) {
27
+ var a = t();
28
+ l(r, a) || (console.error(
29
+ "The result of getSnapshot should be cached to avoid an infinite loop"
30
+ ), S = !0);
31
+ }
32
+ a = E({
33
+ inst: { value: r, getSnapshot: t }
34
+ });
35
+ var n = a[0].inst, f = a[1];
36
+ return y(
37
+ function() {
38
+ n.value = r, n.getSnapshot = t, _(n) && f({ inst: n });
39
+ },
40
+ [e, r, t]
41
+ ), L(
42
+ function() {
43
+ return _(n) && f({ inst: n }), e(function() {
44
+ _(n) && f({ inst: n });
45
+ });
46
+ },
47
+ [e]
48
+ ), v(r), r;
49
+ }
50
+ u(s, "useSyncExternalStore$2");
51
+ function _(e) {
52
+ var t = e.getSnapshot;
53
+ e = e.value;
54
+ try {
55
+ var r = t();
56
+ return !l(e, r);
57
+ } catch {
58
+ return !0;
59
+ }
60
+ }
61
+ u(_, "checkIfSnapshotChanged");
62
+ function p(e, t) {
63
+ return t();
64
+ }
65
+ u(p, "useSyncExternalStore$1"), typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
66
+ var o = T, l = typeof Object.is == "function" ? Object.is : i, E = o.useState, L = o.useEffect, y = o.useLayoutEffect, v = o.useDebugValue, d = !1, S = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? p : s;
67
+ c.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
68
+ }(), c);
69
+ }
70
+ u(w, "requireUseSyncExternalStoreShim_development");
71
+ export {
72
+ w as __require
73
+ };
@@ -0,0 +1,62 @@
1
+ var _ = Object.defineProperty;
2
+ var o = (n, a) => _(n, "name", { value: a, configurable: !0 });
3
+ import { __exports as s } from "../../../_virtual/use-sync-external-store-shim.production.js";
4
+ import w from "react";
5
+ /**
6
+ * @license React
7
+ * use-sync-external-store-shim.production.js
8
+ *
9
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var S;
15
+ function j() {
16
+ if (S) return s;
17
+ S = 1;
18
+ var n = w;
19
+ function a(e, t) {
20
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
21
+ }
22
+ o(a, "is");
23
+ var d = typeof Object.is == "function" ? Object.is : a, l = n.useState, p = n.useEffect, E = n.useLayoutEffect, v = n.useDebugValue;
24
+ function y(e, t) {
25
+ var u = t(), i = l({ inst: { value: u, getSnapshot: t } }), r = i[0].inst, f = i[1];
26
+ return E(
27
+ function() {
28
+ r.value = u, r.getSnapshot = t, c(r) && f({ inst: r });
29
+ },
30
+ [e, u, t]
31
+ ), p(
32
+ function() {
33
+ return c(r) && f({ inst: r }), e(function() {
34
+ c(r) && f({ inst: r });
35
+ });
36
+ },
37
+ [e]
38
+ ), v(u), u;
39
+ }
40
+ o(y, "useSyncExternalStore$2");
41
+ function c(e) {
42
+ var t = e.getSnapshot;
43
+ e = e.value;
44
+ try {
45
+ var u = t();
46
+ return !d(e, u);
47
+ } catch {
48
+ return !0;
49
+ }
50
+ }
51
+ o(c, "checkIfSnapshotChanged");
52
+ function m(e, t) {
53
+ return t();
54
+ }
55
+ o(m, "useSyncExternalStore$1");
56
+ var h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : y;
57
+ return s.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : h, s;
58
+ }
59
+ o(j, "requireUseSyncExternalStoreShim_production");
60
+ export {
61
+ j as __require
62
+ };
@@ -0,0 +1,13 @@
1
+ var s = Object.defineProperty;
2
+ var e = (i, t) => s(i, "name", { value: t, configurable: !0 });
3
+ import { __module as r } from "../../../_virtual/index2.js";
4
+ import { __require as m } from "../cjs/use-sync-external-store-shim.production.js";
5
+ import { __require as u } from "../cjs/use-sync-external-store-shim.development.js";
6
+ var o;
7
+ function S() {
8
+ return o ? r.exports : (o = 1, process.env.NODE_ENV === "production" ? r.exports = /* @__PURE__ */ m() : r.exports = /* @__PURE__ */ u(), r.exports);
9
+ }
10
+ e(S, "requireShim");
11
+ export {
12
+ S as __require
13
+ };