@lmvz-ds/components 0.12.5 → 0.13.1

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 (128) hide show
  1. package/dist/cjs/assets-CJzJZPzV.js +26 -0
  2. package/dist/{esm/Effect-BhQLGXPs.js → cjs/icons-FIfJEo6G.js} +1708 -5205
  3. package/dist/cjs/{index-CVw4GUo6.js → index-Bp6Dd2i1.js} +4 -2
  4. package/dist/cjs/{index-9ZJx0550.js → index-D3BMpL5w.js} +0 -3
  5. package/dist/cjs/index.cjs.js +4 -6
  6. package/dist/cjs/lmvz-action.cjs.entry.js +1 -1
  7. package/dist/cjs/lmvz-button.cjs.entry.js +7 -10
  8. package/dist/cjs/lmvz-card.cjs.entry.js +4 -5
  9. package/dist/cjs/lmvz-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/lmvz-components.cjs.js +1 -1
  11. package/dist/cjs/lmvz-header.cjs.entry.js +13 -12
  12. package/dist/cjs/lmvz-icon.cjs.entry.js +8 -10
  13. package/dist/cjs/lmvz-input.cjs.entry.js +8 -11
  14. package/dist/cjs/lmvz-menuitem.cjs.entry.js +5 -7
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/reactive-controller-host-BMDEj1kX.js +168 -0
  17. package/dist/collection/components/lmvz-button/lmvz-button.js +3 -3
  18. package/dist/collection/components/lmvz-card/lmvz-card.js +3 -4
  19. package/dist/collection/components/lmvz-header/lmvz-header.js +11 -8
  20. package/dist/collection/components/lmvz-icon/icons.js +2 -2
  21. package/dist/collection/components/lmvz-icon/lmvz-icon.js +2 -2
  22. package/dist/collection/components/lmvz-icon/test/icons.unit.js +21 -12
  23. package/dist/collection/components/lmvz-input/lmvz-input.css +5 -2
  24. package/dist/collection/components/lmvz-input/lmvz-input.js +3 -3
  25. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +3 -3
  26. package/dist/collection/integration/header-integration.js +3 -1
  27. package/dist/collection/utils/{validation → aria}/aria-validation-controller.js +15 -34
  28. package/dist/collection/utils/{list-keyboard-controller.js → aria/list-keyboard-controller.js} +1 -1
  29. package/dist/collection/utils/assets.js +9 -6
  30. package/dist/collection/utils/http.js +2 -2
  31. package/dist/collection/utils/{http.test.js → http.unit.js} +8 -7
  32. package/dist/collection/utils/validation/svg.js +1 -1
  33. package/dist/components/index.js +1 -1
  34. package/dist/components/lmvz-action.js +1 -1
  35. package/dist/components/lmvz-button.js +1 -1
  36. package/dist/components/lmvz-card.js +1 -1
  37. package/dist/components/lmvz-chip.js +1 -1
  38. package/dist/components/lmvz-header.js +1 -1
  39. package/dist/components/lmvz-icon.js +1 -1
  40. package/dist/components/lmvz-input.js +1 -1
  41. package/dist/components/lmvz-menuitem.js +1 -1
  42. package/dist/components/{p-DMLRPGid.js → p-BfTCfPZ1.js} +1 -1
  43. package/dist/components/p-BsS3QvWn.js +1 -0
  44. package/dist/components/p-CMteT-Yo.js +1 -0
  45. package/dist/components/p-CdYWDK7m.js +1 -0
  46. package/dist/components/p-vi4YzJmv.js +1 -0
  47. package/dist/esm/assets-BelZNJ1W.js +23 -0
  48. package/dist/{cjs/Effect-CNhHt4Xb.js → esm/icons-CM7lsnuO.js} +1751 -5457
  49. package/dist/esm/{index-Bt32KzDW.js → index-BfTCfPZ1.js} +3 -1
  50. package/dist/esm/{index-smGPjoDX.js → index-T5ljELGS.js} +1 -3
  51. package/dist/esm/index.js +4 -5
  52. package/dist/esm/lmvz-action.entry.js +1 -1
  53. package/dist/esm/lmvz-button.entry.js +5 -8
  54. package/dist/esm/lmvz-card.entry.js +4 -5
  55. package/dist/esm/lmvz-chip.entry.js +1 -1
  56. package/dist/esm/lmvz-components.js +2 -2
  57. package/dist/esm/lmvz-header.entry.js +11 -10
  58. package/dist/esm/lmvz-icon.entry.js +5 -7
  59. package/dist/esm/lmvz-input.entry.js +6 -9
  60. package/dist/esm/lmvz-menuitem.entry.js +3 -5
  61. package/dist/esm/loader.js +2 -2
  62. package/dist/esm/reactive-controller-host-CZ3dGAjR.js +165 -0
  63. package/dist/lmvz-components/index.esm.js +1 -1
  64. package/dist/lmvz-components/lmvz-components.esm.js +1 -1
  65. package/dist/lmvz-components/p-16878d4c.entry.js +1 -0
  66. package/dist/lmvz-components/p-6e3314ab.entry.js +1 -0
  67. package/dist/lmvz-components/p-8ea1a349.entry.js +1 -0
  68. package/dist/lmvz-components/{p-d4b68381.entry.js → p-980688a0.entry.js} +1 -1
  69. package/dist/lmvz-components/{p-DMLRPGid.js → p-BfTCfPZ1.js} +1 -1
  70. package/dist/lmvz-components/p-BoR31cjC.js +1 -0
  71. package/dist/lmvz-components/p-CVf2C8dL.js +1 -0
  72. package/dist/lmvz-components/p-CZ3dGAjR.js +1 -0
  73. package/dist/lmvz-components/p-T5ljELGS.js +2 -0
  74. package/dist/lmvz-components/p-a34542fa.entry.js +1 -0
  75. package/dist/lmvz-components/p-d2bf6a3f.entry.js +1 -0
  76. package/dist/lmvz-components/p-d9dc29a1.entry.js +1 -0
  77. package/dist/lmvz-components/{p-9faac8f3.entry.js → p-feda2ec5.entry.js} +1 -1
  78. package/dist/manifest.json +1 -1
  79. package/dist/types/components/lmvz-button/lmvz-button.d.ts +2 -2
  80. package/dist/types/components/lmvz-header/lmvz-header.d.ts +5 -4
  81. package/dist/types/components/lmvz-icon/lmvz-icon.d.ts +1 -1
  82. package/dist/types/components/lmvz-input/lmvz-input.d.ts +1 -1
  83. package/dist/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +2 -2
  84. package/dist/types/utils/{validation → aria}/aria-validation-controller.d.ts +1 -5
  85. package/dist/types/utils/{element-activation-controller.d.ts → aria/element-activation-controller.d.ts} +2 -2
  86. package/dist/types/utils/{list-keyboard-controller.d.ts → aria/list-keyboard-controller.d.ts} +1 -1
  87. package/dist/types/utils/assets.d.ts +1 -8
  88. package/dist/types/utils/http.d.ts +3 -3
  89. package/dist/types/utils/validation/svg.d.ts +2 -2
  90. package/hydrate/index.js +3608 -54447
  91. package/hydrate/index.mjs +3608 -54447
  92. package/package.json +17 -18
  93. package/readme.md +18 -0
  94. package/dist/cjs/MutableQueue-Bk9tBfaK.js +0 -462
  95. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
  96. package/dist/cjs/aria-validation-controller-B3hMkau3.js +0 -2930
  97. package/dist/cjs/assets-BguFB3wV.js +0 -71
  98. package/dist/cjs/axe-BNqwbBGU.js +0 -32834
  99. package/dist/cjs/icons-7wUEcWEo.js +0 -607
  100. package/dist/components/p-3I3wZmp8.js +0 -1
  101. package/dist/components/p-B85MJLTf.js +0 -1
  102. package/dist/components/p-BaPwpeMs.js +0 -1
  103. package/dist/components/p-CAi33KTt.js +0 -1
  104. package/dist/components/p-CdofjRtQ.js +0 -1
  105. package/dist/components/p-D1HbKFuh.js +0 -12
  106. package/dist/components/p-UwhTS2ue.js +0 -1
  107. package/dist/esm/MutableQueue-CNlEFklh.js +0 -431
  108. package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
  109. package/dist/esm/aria-validation-controller-iA4YWFG-.js +0 -2927
  110. package/dist/esm/assets-Iu8neKuE.js +0 -67
  111. package/dist/esm/axe-cRQ9Ux1I.js +0 -32832
  112. package/dist/esm/icons-Bx1wWPM2.js +0 -603
  113. package/dist/lmvz-components/p-1a10fcbd.entry.js +0 -1
  114. package/dist/lmvz-components/p-274c36df.entry.js +0 -1
  115. package/dist/lmvz-components/p-2ba68483.entry.js +0 -1
  116. package/dist/lmvz-components/p-4XIjw3k8.js +0 -1
  117. package/dist/lmvz-components/p-51Fb_qqD.js +0 -1
  118. package/dist/lmvz-components/p-77e26e71.entry.js +0 -1
  119. package/dist/lmvz-components/p-B85MJLTf.js +0 -1
  120. package/dist/lmvz-components/p-BhQLGXPs.js +0 -1
  121. package/dist/lmvz-components/p-CXWyvf0D.js +0 -1
  122. package/dist/lmvz-components/p-D1HbKFuh.js +0 -12
  123. package/dist/lmvz-components/p-D7I-Bc5i.js +0 -1
  124. package/dist/lmvz-components/p-a5fe62b6.entry.js +0 -1
  125. package/dist/lmvz-components/p-c8b78793.entry.js +0 -1
  126. package/dist/lmvz-components/p-smGPjoDX.js +0 -2
  127. /package/dist/collection/utils/{element-activation-controller.js → aria/element-activation-controller.js} +0 -0
  128. /package/dist/types/utils/{http.test.d.ts → http.unit.d.ts} +0 -0
@@ -1,71 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-9ZJx0550.js');
4
- var Effect = require('./Effect-CNhHt4Xb.js');
5
-
6
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
- /**
8
- * Provides a constructor for a Case Class.
9
- *
10
- * @since 2.0.0
11
- * @category constructors
12
- */
13
- const Error = /*#__PURE__*/function () {
14
- const plainArgsSymbol = /*#__PURE__*/Symbol.for("effect/Data/Error/plainArgs");
15
- const O = {
16
- BaseEffectError: class extends Effect.YieldableError {
17
- constructor(args) {
18
- super(args?.message, args?.cause ? {
19
- cause: args.cause
20
- } : undefined);
21
- if (args) {
22
- Object.assign(this, args);
23
- // @effect-diagnostics-next-line floatingEffect:off
24
- Object.defineProperty(this, plainArgsSymbol, {
25
- value: args,
26
- enumerable: false
27
- });
28
- }
29
- }
30
- toJSON() {
31
- return {
32
- ...this[plainArgsSymbol],
33
- ...this
34
- };
35
- }
36
- }
37
- };
38
- return O.BaseEffectError;
39
- }();
40
- /**
41
- * @since 2.0.0
42
- * @category constructors
43
- */
44
- const TaggedError = tag => {
45
- const O = {
46
- BaseEffectError: class extends Error {
47
- _tag = tag;
48
- }
49
- };
50
- O.BaseEffectError.prototype.name = tag;
51
- return O.BaseEffectError;
52
- };
53
-
54
- function getLocationBase() {
55
- return (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('assets-BguFB3wV.js', document.baseURI).href)) ?? window?.location?.origin ?? '';
56
- }
57
-
58
- class URLCreationError extends TaggedError('URLCreationError') {
59
- }
60
- const relativeAssetsPath = '../../assets';
61
- const syncCreateAssetUrlSafely = (file, pathFromAssetRoot) => {
62
- const relativeAssetPath = joinPath(relativeAssetsPath, pathFromAssetRoot, file);
63
- return Effect.try_(() => index.getAssetPath(relativeAssetPath)).pipe(Effect.tapError(() => Effect.logWarning(`Failed to create URL for asset "${file}" in path "${pathFromAssetRoot}".
64
- Please provide an absolute URL in your app's 'setAssetPath(...)' configuration! Falling back to a relative URL, which may work in some environments but is not guaranteed to be correct.`)), Effect.orElseSucceed(() => new URL(relativeAssetPath, getLocationBase())));
65
- };
66
- function joinPath(...parts) {
67
- return parts.filter(Boolean).join('/').replace('//', '/').replace('/./', '/');
68
- }
69
-
70
- exports.TaggedError = TaggedError;
71
- exports.syncCreateAssetUrlSafely = syncCreateAssetUrlSafely;