@adam-milo/ui 1.0.31 → 1.0.32

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 (148) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +5 -3
  3. package/dist/index10.cjs +1 -1
  4. package/dist/index10.js +1 -1
  5. package/dist/index11.cjs +1 -1
  6. package/dist/index11.js +1 -1
  7. package/dist/index12.cjs +1 -1
  8. package/dist/index12.js +1 -1
  9. package/dist/index13.cjs +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index14.cjs +1 -1
  12. package/dist/index14.js +1 -1
  13. package/dist/index15.cjs +1 -1
  14. package/dist/index15.js +2 -2
  15. package/dist/index16.cjs +1 -1
  16. package/dist/index16.js +1 -1
  17. package/dist/index17.cjs +1 -1
  18. package/dist/index17.js +1 -1
  19. package/dist/index18.cjs +1 -1
  20. package/dist/index18.js +1 -1
  21. package/dist/index19.cjs +1 -1
  22. package/dist/index19.js +28 -27
  23. package/dist/index2.cjs +1 -1
  24. package/dist/index2.js +1 -1
  25. package/dist/index20.cjs +1 -1
  26. package/dist/index20.js +25 -35
  27. package/dist/index21.cjs +1 -1
  28. package/dist/index21.js +53 -12
  29. package/dist/index22.cjs +1 -0
  30. package/dist/index22.js +14 -0
  31. package/dist/index24.cjs +1 -1
  32. package/dist/index24.js +1 -1
  33. package/dist/index3.cjs +1 -1
  34. package/dist/index3.js +1 -1
  35. package/dist/index7.cjs +1 -1
  36. package/dist/index7.js +1 -1
  37. package/dist/index8.cjs +1 -1
  38. package/dist/index8.js +1 -1
  39. package/dist/index9.cjs +1 -1
  40. package/dist/index9.js +14 -14
  41. package/dist/src/components/layout/divider/Divider.component.d.ts +39 -0
  42. package/dist/src/components/layout/divider/Divider.component.d.ts.map +1 -0
  43. package/dist/src/index.d.ts +2 -0
  44. package/dist/src/index.d.ts.map +1 -1
  45. package/dist/style.css +1 -1
  46. package/package.json +2 -1
  47. package/dist/index23.cjs +0 -1
  48. package/dist/index23.js +0 -22
  49. package/dist/index28.cjs +0 -1
  50. package/dist/index28.js +0 -1193
  51. package/dist/index44.cjs +0 -1
  52. package/dist/index44.js +0 -6
  53. package/dist/index45.cjs +0 -1
  54. package/dist/index45.js +0 -11
  55. package/dist/index46.cjs +0 -1
  56. package/dist/index46.js +0 -70
  57. package/dist/index47.cjs +0 -1
  58. package/dist/index47.js +0 -39
  59. package/dist/index48.cjs +0 -1
  60. package/dist/index48.js +0 -64
  61. package/dist/index49.cjs +0 -1
  62. package/dist/index49.js +0 -10
  63. package/dist/index50.cjs +0 -1
  64. package/dist/index50.js +0 -212
  65. package/dist/index51.cjs +0 -1
  66. package/dist/index51.js +0 -29
  67. package/dist/index52.cjs +0 -1
  68. package/dist/index52.js +0 -208
  69. package/dist/index53.cjs +0 -1
  70. package/dist/index53.js +0 -14
  71. package/dist/index54.cjs +0 -1
  72. package/dist/index54.js +0 -293
  73. package/dist/index55.cjs +0 -1
  74. package/dist/index55.js +0 -18
  75. package/dist/index56.cjs +0 -1
  76. package/dist/index56.js +0 -43
  77. package/dist/index57.cjs +0 -1
  78. package/dist/index57.js +0 -89
  79. package/dist/index58.cjs +0 -1
  80. package/dist/index58.js +0 -14
  81. package/dist/index59.cjs +0 -1
  82. package/dist/index59.js +0 -71
  83. package/dist/index60.cjs +0 -1
  84. package/dist/index60.js +0 -6
  85. package/dist/index61.cjs +0 -1
  86. package/dist/index61.js +0 -14
  87. package/dist/index62.cjs +0 -1
  88. package/dist/index62.js +0 -34
  89. package/dist/index63.cjs +0 -1
  90. package/dist/index63.js +0 -122
  91. package/dist/index64.cjs +0 -1
  92. package/dist/index64.js +0 -11
  93. package/dist/index65.cjs +0 -1
  94. package/dist/index65.js +0 -17
  95. package/dist/index66.cjs +0 -1
  96. package/dist/index66.js +0 -297
  97. package/dist/index67.cjs +0 -1
  98. package/dist/index67.js +0 -25
  99. package/dist/index68.cjs +0 -1
  100. package/dist/index68.js +0 -39
  101. package/dist/index69.cjs +0 -1
  102. package/dist/index69.js +0 -625
  103. package/dist/index70.cjs +0 -1
  104. package/dist/index70.js +0 -39
  105. package/dist/index71.cjs +0 -1
  106. package/dist/index71.js +0 -38
  107. package/dist/index72.cjs +0 -1
  108. package/dist/index72.js +0 -7
  109. package/dist/index73.cjs +0 -1
  110. package/dist/index73.js +0 -10
  111. package/dist/index74.cjs +0 -1
  112. package/dist/index74.js +0 -5
  113. package/dist/index75.cjs +0 -1
  114. package/dist/index75.js +0 -35
  115. package/dist/index76.cjs +0 -1
  116. package/dist/index76.js +0 -180
  117. package/dist/index77.cjs +0 -1
  118. package/dist/index77.js +0 -21
  119. package/dist/index78.cjs +0 -1
  120. package/dist/index78.js +0 -721
  121. package/dist/index79.cjs +0 -1
  122. package/dist/index79.js +0 -154
  123. package/dist/index80.cjs +0 -1
  124. package/dist/index80.js +0 -173
  125. package/dist/index81.cjs +0 -1
  126. package/dist/index81.js +0 -47
  127. package/dist/index82.cjs +0 -1
  128. package/dist/index82.js +0 -13
  129. package/dist/index83.cjs +0 -1
  130. package/dist/index83.js +0 -19
  131. package/dist/index84.cjs +0 -1
  132. package/dist/index84.js +0 -102
  133. package/dist/index85.cjs +0 -1
  134. package/dist/index85.js +0 -88
  135. package/dist/index86.cjs +0 -1
  136. package/dist/index86.js +0 -11
  137. package/dist/index87.cjs +0 -1
  138. package/dist/index87.js +0 -29
  139. package/dist/index88.cjs +0 -1
  140. package/dist/index88.js +0 -37
  141. package/dist/index89.cjs +0 -1
  142. package/dist/index89.js +0 -16
  143. package/dist/index90.cjs +0 -1
  144. package/dist/index90.js +0 -48
  145. package/dist/index91.cjs +0 -1
  146. package/dist/index91.js +0 -9
  147. /package/dist/{index36.cjs → index35.cjs} +0 -0
  148. /package/dist/{index36.js → index35.js} +0 -0
package/dist/index87.js DELETED
@@ -1,29 +0,0 @@
1
- import { useState } from "react";
2
- function useCallbackRef(initialValue, callback) {
3
- var ref = useState(function() {
4
- return {
5
- // value
6
- value: initialValue,
7
- // last callback
8
- callback,
9
- // "memoized" public interface
10
- facade: {
11
- get current() {
12
- return ref.value;
13
- },
14
- set current(value) {
15
- var last = ref.value;
16
- if (last !== value) {
17
- ref.value = value;
18
- ref.callback(value, last);
19
- }
20
- }
21
- }
22
- };
23
- })[0];
24
- ref.callback = callback;
25
- return ref.facade;
26
- }
27
- export {
28
- useCallbackRef
29
- };
package/dist/index88.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t={left:0,top:0,right:0,gap:0},n=function(t){return parseInt(t||"",10)||0};exports.getGapWidth=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return t;var i=function(t){var e=window.getComputedStyle(document.body),i=e["padding"===t?"paddingLeft":"marginLeft"],d=e["padding"===t?"paddingTop":"marginTop"],r=e["padding"===t?"paddingRight":"marginRight"];return[n(i),n(d),n(r)]}(e),d=document.documentElement.clientWidth,r=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,r-d+i[2]-i[0])}},exports.zeroGap=t;
package/dist/index88.js DELETED
@@ -1,37 +0,0 @@
1
- var zeroGap = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- };
7
- var parse = function(x) {
8
- return parseInt(x || "", 10) || 0;
9
- };
10
- var getOffset = function(gapMode) {
11
- var cs = window.getComputedStyle(document.body);
12
- var left = cs[gapMode === "padding" ? "paddingLeft" : "marginLeft"];
13
- var top = cs[gapMode === "padding" ? "paddingTop" : "marginTop"];
14
- var right = cs[gapMode === "padding" ? "paddingRight" : "marginRight"];
15
- return [parse(left), parse(top), parse(right)];
16
- };
17
- var getGapWidth = function(gapMode) {
18
- if (gapMode === void 0) {
19
- gapMode = "margin";
20
- }
21
- if (typeof window === "undefined") {
22
- return zeroGap;
23
- }
24
- var offsets = getOffset(gapMode);
25
- var documentWidth = document.documentElement.clientWidth;
26
- var windowWidth = window.innerWidth;
27
- return {
28
- left: offsets[0],
29
- top: offsets[1],
30
- right: offsets[2],
31
- gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])
32
- };
33
- };
34
- export {
35
- getGapWidth,
36
- zeroGap
37
- };
package/dist/index89.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./index90.cjs");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const r=n(e);exports.styleHookSingleton=function(){var e=t.stylesheetSingleton();return function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};
package/dist/index89.js DELETED
@@ -1,16 +0,0 @@
1
- import * as React from "react";
2
- import { stylesheetSingleton } from "./index90.js";
3
- var styleHookSingleton = function() {
4
- var sheet = stylesheetSingleton();
5
- return function(styles, isDynamic) {
6
- React.useEffect(function() {
7
- sheet.add(styles);
8
- return function() {
9
- sheet.remove();
10
- };
11
- }, [styles && isDynamic]);
12
- };
13
- };
14
- export {
15
- styleHookSingleton
16
- };
package/dist/index90.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index91.cjs");exports.stylesheetSingleton=function(){var t=0,n=null;return{add:function(o){var r,u;0==t&&(n=function(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var n=e.getNonce();return n&&t.setAttribute("nonce",n),t}())&&(u=o,(r=n).styleSheet?r.styleSheet.cssText=u:r.appendChild(document.createTextNode(u)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(n)),t++},remove:function(){! --t&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}};
package/dist/index90.js DELETED
@@ -1,48 +0,0 @@
1
- import { getNonce } from "./index91.js";
2
- function makeStyleTag() {
3
- if (!document)
4
- return null;
5
- var tag = document.createElement("style");
6
- tag.type = "text/css";
7
- var nonce = getNonce();
8
- if (nonce) {
9
- tag.setAttribute("nonce", nonce);
10
- }
11
- return tag;
12
- }
13
- function injectStyles(tag, css) {
14
- if (tag.styleSheet) {
15
- tag.styleSheet.cssText = css;
16
- } else {
17
- tag.appendChild(document.createTextNode(css));
18
- }
19
- }
20
- function insertStyleTag(tag) {
21
- var head = document.head || document.getElementsByTagName("head")[0];
22
- head.appendChild(tag);
23
- }
24
- var stylesheetSingleton = function() {
25
- var counter = 0;
26
- var stylesheet = null;
27
- return {
28
- add: function(style) {
29
- if (counter == 0) {
30
- if (stylesheet = makeStyleTag()) {
31
- injectStyles(stylesheet, style);
32
- insertStyleTag(stylesheet);
33
- }
34
- }
35
- counter++;
36
- },
37
- remove: function() {
38
- counter--;
39
- if (!counter && stylesheet) {
40
- stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);
41
- stylesheet = null;
42
- }
43
- }
44
- };
45
- };
46
- export {
47
- stylesheetSingleton
48
- };
package/dist/index91.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.getNonce=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__};
package/dist/index91.js DELETED
@@ -1,9 +0,0 @@
1
- var getNonce = function() {
2
- if (typeof __webpack_nonce__ !== "undefined") {
3
- return __webpack_nonce__;
4
- }
5
- return void 0;
6
- };
7
- export {
8
- getNonce
9
- };
File without changes
File without changes