fina-react-ds 1.0.21 → 1.0.23

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 (110) hide show
  1. package/dist/components/alert-dialog.d.ts +1 -1
  2. package/dist/components/alert-dialog.js +65 -59
  3. package/dist/components/avatar.d.ts +1 -1
  4. package/dist/components/avatar.js +19 -19
  5. package/dist/components/badge.js +12 -11
  6. package/dist/components/button.js +12 -11
  7. package/dist/components/checkbox.d.ts +1 -1
  8. package/dist/components/checkbox.js +17 -17
  9. package/dist/components/dialog.d.ts +1 -1
  10. package/dist/components/dialog.js +60 -60
  11. package/dist/components/dropdown-menu.d.ts +1 -1
  12. package/dist/components/dropdown-menu.js +93 -93
  13. package/dist/components/form.d.ts +2 -3
  14. package/dist/components/form.js +2 -2
  15. package/dist/components/hover-card.d.ts +1 -1
  16. package/dist/components/hover-card.js +23 -23
  17. package/dist/components/label.d.ts +1 -1
  18. package/dist/components/label.js +12 -12
  19. package/dist/components/popover.d.ts +1 -1
  20. package/dist/components/popover.js +28 -28
  21. package/dist/components/separator.d.ts +1 -1
  22. package/dist/components/separator.js +10 -10
  23. package/dist/components/sheet.d.ts +1 -1
  24. package/dist/components/sheet.js +73 -73
  25. package/dist/components/sidebar.js +73 -69
  26. package/dist/components/switch.d.ts +1 -1
  27. package/dist/components/switch.js +13 -13
  28. package/dist/components/tabs.d.ts +1 -1
  29. package/dist/components/tabs.js +22 -22
  30. package/dist/components/tooltip.d.ts +1 -1
  31. package/dist/components/tooltip.js +27 -27
  32. package/dist/index.d.ts +6 -3
  33. package/dist/index.js +190 -172
  34. package/dist/lib/http.d.ts +13 -0
  35. package/dist/lib/http.js +59 -0
  36. package/dist/lib/utils.d.ts +15 -1
  37. package/dist/lib/utils.js +29 -9
  38. package/dist/lib/yup.d.ts +2 -0
  39. package/dist/lib/yup.js +88 -0
  40. package/package.json +6 -3
  41. package/dist/_virtual/index.js +0 -5
  42. package/dist/_virtual/index2.js +0 -4
  43. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
  44. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
  45. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -534
  46. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -430
  47. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -215
  48. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -159
  49. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -149
  50. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -12
  51. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -130
  52. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  53. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +0 -80
  54. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -258
  55. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -51
  56. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -34
  57. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -76
  58. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -265
  59. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
  60. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -133
  61. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -230
  62. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -21
  63. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -149
  64. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -192
  65. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -16
  66. package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -22
  67. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -663
  68. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -247
  69. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -224
  70. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  71. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -77
  72. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -39
  73. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -189
  74. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -27
  75. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -67
  76. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +0 -136
  77. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -168
  78. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -348
  79. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -16
  80. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -59
  81. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -17
  82. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -19
  83. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  84. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -11
  85. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -30
  86. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -32
  87. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -54
  88. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -9
  89. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  90. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -116
  91. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -33
  92. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -18
  93. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -70
  94. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  95. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  96. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -73
  97. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  98. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -27
  99. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -13
  100. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -17
  101. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -35
  102. package/dist/node_modules/tslib/tslib.es6.js +0 -31
  103. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -9
  104. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -29
  105. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -28
  106. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
  107. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -72
  108. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -73
  109. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -62
  110. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -13
@@ -1,73 +0,0 @@
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
- };
@@ -1,62 +0,0 @@
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
- };
@@ -1,13 +0,0 @@
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
- };