@papillonarts/components 0.34.0 → 0.36.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 (124) hide show
  1. package/build/Legacy/Alert/__tests__/{Alert.markdown.docs.md → Alert.doc.md} +12 -12
  2. package/build/Legacy/Blankslate/__tests__/Blankslate.doc.md +57 -0
  3. package/build/Legacy/Breadcrumb/__tests__/Breadcrumb.doc.md +33 -0
  4. package/build/Legacy/Markdown/Markdown.d.ts +3 -0
  5. package/build/Legacy/Markdown/Markdown.d.ts.map +1 -0
  6. package/build/Legacy/{MarkdownDocs/MarkdownDocs.js → Markdown/Markdown.js} +15 -15
  7. package/build/Legacy/Markdown/Markdown.type.d.ts +15 -0
  8. package/build/Legacy/Markdown/Markdown.type.d.ts.map +1 -0
  9. package/build/Legacy/Markdown/Markdown.type.js +14 -0
  10. package/build/Legacy/Markdown/__tests__/Markdown.doc.md +33 -0
  11. package/build/Legacy/Markdown/index.d.ts +2 -0
  12. package/build/Legacy/Markdown/index.d.ts.map +1 -0
  13. package/build/Legacy/Markdown/index.js +12 -0
  14. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts +3 -0
  15. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts.map +1 -0
  16. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.js +39 -0
  17. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts +32 -0
  18. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts.map +1 -0
  19. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.js +25 -0
  20. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts +3 -0
  21. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts.map +1 -0
  22. package/build/Legacy/{PreformattedCode/PreformattedCodeHLJS.js → SyntaxHighlighter/SyntaxHighlighterHLJS.js} +6 -6
  23. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts +3 -0
  24. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts.map +1 -0
  25. package/build/Legacy/{PreformattedCode/PreformattedCodePrism.js → SyntaxHighlighter/SyntaxHighlighterPrism.js} +6 -6
  26. package/build/Legacy/SyntaxHighlighter/__tests__/SyntaxHighlighter.doc.md +61 -0
  27. package/build/Legacy/SyntaxHighlighter/index.d.ts +3 -0
  28. package/build/Legacy/SyntaxHighlighter/index.d.ts.map +1 -0
  29. package/build/Legacy/SyntaxHighlighter/index.js +31 -0
  30. package/build/Legacy/index.d.ts +4 -4
  31. package/build/Legacy/index.d.ts.map +1 -1
  32. package/build/Legacy/index.js +4 -4
  33. package/build/Modern/Flash/Flash.d.ts +1 -2
  34. package/build/Modern/Flash/Flash.d.ts.map +1 -1
  35. package/build/Modern/Flash/Flash.js +3 -4
  36. package/build/Modern/Flash/__tests__/Flash.doc.md +11 -0
  37. package/build/Modern/Flash/index.d.ts +1 -1
  38. package/build/Modern/Flash/index.d.ts.map +1 -1
  39. package/build/Modern/Flash/index.js +3 -4
  40. package/build/Modern/Link/Link.d.ts +19 -0
  41. package/build/Modern/Link/Link.d.ts.map +1 -0
  42. package/build/Modern/Link/Link.docs.json +61 -0
  43. package/build/Modern/Link/Link.js +57 -0
  44. package/build/Modern/Link/Link.module.scss +39 -0
  45. package/build/Modern/Link/__tests__/Link.doc.md +10 -0
  46. package/build/Modern/Link/index.d.ts +3 -0
  47. package/build/Modern/Link/index.d.ts.map +1 -0
  48. package/build/Modern/Link/index.js +12 -0
  49. package/build/Modern/Pagination/Pagination.d.ts +22 -0
  50. package/build/Modern/Pagination/Pagination.d.ts.map +1 -0
  51. package/build/Modern/Pagination/Pagination.docs.json +77 -0
  52. package/build/Modern/Pagination/Pagination.js +132 -0
  53. package/build/Modern/Pagination/Pagination.model.d.ts +26 -0
  54. package/build/Modern/Pagination/Pagination.model.d.ts.map +1 -0
  55. package/build/Modern/Pagination/Pagination.model.js +211 -0
  56. package/build/Modern/Pagination/Pagination.module.scss +141 -0
  57. package/build/Modern/Pagination/__tests__/Pagination.doc.md +12 -0
  58. package/build/Modern/Pagination/index.d.ts +3 -0
  59. package/build/Modern/Pagination/index.d.ts.map +1 -0
  60. package/build/Modern/Pagination/index.js +12 -0
  61. package/build/Modern/hooks/index.d.ts +3 -0
  62. package/build/Modern/hooks/index.d.ts.map +1 -0
  63. package/build/Modern/hooks/index.js +19 -0
  64. package/build/Modern/hooks/useMedia.d.ts +37 -0
  65. package/build/Modern/hooks/useMedia.d.ts.map +1 -0
  66. package/build/Modern/hooks/useMedia.js +141 -0
  67. package/build/Modern/hooks/useRefObjectAsForwardedRef.d.ts +10 -0
  68. package/build/Modern/hooks/useRefObjectAsForwardedRef.d.ts.map +1 -0
  69. package/build/Modern/hooks/useRefObjectAsForwardedRef.hookDocs.json +22 -0
  70. package/build/Modern/hooks/useRefObjectAsForwardedRef.js +19 -0
  71. package/build/Modern/hooks/useResponsiveValue.d.ts +31 -0
  72. package/build/Modern/hooks/useResponsiveValue.d.ts.map +1 -0
  73. package/build/Modern/hooks/useResponsiveValue.js +73 -0
  74. package/build/Modern/index.d.ts +24 -0
  75. package/build/Modern/index.d.ts.map +1 -1
  76. package/build/Modern/index.js +11 -3
  77. package/build/Modern/type.d.ts +4 -0
  78. package/build/Modern/type.d.ts.map +1 -0
  79. package/build/Modern/type.js +5 -0
  80. package/build/Modern/utils/environment.d.ts +11 -0
  81. package/build/Modern/utils/environment.d.ts.map +1 -0
  82. package/build/Modern/utils/environment.js +13 -0
  83. package/build/Modern/utils/modern-polymorphic.d.ts +22 -0
  84. package/build/Modern/utils/modern-polymorphic.d.ts.map +1 -0
  85. package/build/Modern/utils/modern-polymorphic.js +28 -0
  86. package/build/Modern/utils/types/ComponentProps.d.ts +9 -0
  87. package/build/Modern/utils/types/ComponentProps.d.ts.map +1 -0
  88. package/build/Modern/utils/types/ComponentProps.js +5 -0
  89. package/build/Modern/utils/types/index.d.ts +3 -0
  90. package/build/Modern/utils/types/index.d.ts.map +1 -0
  91. package/build/Modern/utils/types/index.js +27 -0
  92. package/build/Modern/utils/warning.d.ts +4 -0
  93. package/build/Modern/utils/warning.d.ts.map +1 -0
  94. package/build/Modern/utils/warning.js +25 -0
  95. package/build/index.d.ts +1 -0
  96. package/build/index.d.ts.map +1 -1
  97. package/package.json +4 -4
  98. package/build/Legacy/MarkdownDocs/MarkdownDocs.d.ts +0 -3
  99. package/build/Legacy/MarkdownDocs/MarkdownDocs.d.ts.map +0 -1
  100. package/build/Legacy/MarkdownDocs/MarkdownDocs.type.d.ts +0 -15
  101. package/build/Legacy/MarkdownDocs/MarkdownDocs.type.d.ts.map +0 -1
  102. package/build/Legacy/MarkdownDocs/MarkdownDocs.type.js +0 -14
  103. package/build/Legacy/MarkdownDocs/__tests__/MarkdownDocs.markdown.docs.md +0 -33
  104. package/build/Legacy/MarkdownDocs/index.d.ts +0 -2
  105. package/build/Legacy/MarkdownDocs/index.d.ts.map +0 -1
  106. package/build/Legacy/MarkdownDocs/index.js +0 -12
  107. package/build/Legacy/PreformattedCode/PreformattedCode.d.ts +0 -3
  108. package/build/Legacy/PreformattedCode/PreformattedCode.d.ts.map +0 -1
  109. package/build/Legacy/PreformattedCode/PreformattedCode.js +0 -39
  110. package/build/Legacy/PreformattedCode/PreformattedCode.type.d.ts +0 -32
  111. package/build/Legacy/PreformattedCode/PreformattedCode.type.d.ts.map +0 -1
  112. package/build/Legacy/PreformattedCode/PreformattedCode.type.js +0 -25
  113. package/build/Legacy/PreformattedCode/PreformattedCodeHLJS.d.ts +0 -3
  114. package/build/Legacy/PreformattedCode/PreformattedCodeHLJS.d.ts.map +0 -1
  115. package/build/Legacy/PreformattedCode/PreformattedCodePrism.d.ts +0 -3
  116. package/build/Legacy/PreformattedCode/PreformattedCodePrism.d.ts.map +0 -1
  117. package/build/Legacy/PreformattedCode/__tests__/PreformattedCode.markdown.docs.md +0 -61
  118. package/build/Legacy/PreformattedCode/index.d.ts +0 -3
  119. package/build/Legacy/PreformattedCode/index.d.ts.map +0 -1
  120. package/build/Legacy/PreformattedCode/index.js +0 -31
  121. package/build/Modern/Typing/index.d.js +0 -1
  122. package/build/Modern/global.d.js +0 -1
  123. /package/build/Modern/Flash/__tests__/{Flash.features.stories.module.scss → Flash.feature.scss} +0 -0
  124. /package/build/{Legacy/Typing → Typing}/index.d.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"PreformattedCodePrism.d.ts","sourceRoot":"","sources":["../../../src/Legacy/PreformattedCode/PreformattedCodePrism.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAkD,MAAM,yBAAyB,CAAA;AAK/G,wBAAgB,qBAAqB,CAAC,EACpC,QAA2C,EAC3C,KAAqC,EACrC,QAAQ,GACT,EAAE,qBAAqB,2CAWvB"}
@@ -1,61 +0,0 @@
1
- # PreformattedCode
2
-
3
- > PreformattedCode component all features
4
-
5
- ```
6
- # Features
7
-
8
- > Regular
9
- ```
10
-
11
- ## Regular
12
-
13
- > MarkdownDocs component regular feature
14
-
15
- ```jsx
16
- <PreformattedCode>{TypeScriptUnformattedCode}</PreformattedCode>
17
- ```
18
-
19
- ## HLJS TypeScript
20
-
21
- > MarkdownDocs component hljs typescript feature
22
-
23
- ```jsx
24
- <PreformattedCode
25
- highlighter={PreformattedCodeHighlighter.HLJS}
26
- language={PreformattedCodeLanguage.TypeScript}
27
- style={PreformattedCodeStyle.Ocean}
28
- >
29
- {TypeScriptUnformattedCode}
30
- </PreformattedCode>
31
- ```
32
-
33
- ## HLJS Markdown
34
-
35
- > MarkdownDocs component hljs markdown feature
36
-
37
- ```jsx
38
- <MarkdownDocs highlighter={MarkdownDocsHighlighter.HLJS}>{PreformattedCodeMarkdownDocs}</MarkdownDocs>
39
- ```
40
-
41
- ## Prism TypeScript
42
-
43
- > MarkdownDocs component prism typescript feature
44
-
45
- ```jsx
46
- <PreformattedCode
47
- highlighter={PreformattedCodeHighlighter.PRISM}
48
- language={PreformattedCodeLanguage.TypeScript}
49
- style={PreformattedCodeStyle.Nord}
50
- >
51
- {TypeScriptUnformattedCode}
52
- </PreformattedCode>
53
- ```
54
-
55
- ## Prism Markdown
56
-
57
- > MarkdownDocs component prism markdown feature
58
-
59
- ```jsx
60
- <MarkdownDocs highlighter={MarkdownDocsHighlighter.PRISM}>{PreformattedCodeMarkdownDocs}</MarkdownDocs>
61
- ```
@@ -1,3 +0,0 @@
1
- export { PreformattedCode } from './PreformattedCode';
2
- export { PreformattedCodeHighlighter, PreformattedCodeLanguage, PreformattedCodeStyle } from './PreformattedCode.type';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/PreformattedCode/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "PreformattedCode", {
7
- enumerable: true,
8
- get: function get() {
9
- return _PreformattedCode.PreformattedCode;
10
- }
11
- });
12
- Object.defineProperty(exports, "PreformattedCodeHighlighter", {
13
- enumerable: true,
14
- get: function get() {
15
- return _PreformattedCode2.PreformattedCodeHighlighter;
16
- }
17
- });
18
- Object.defineProperty(exports, "PreformattedCodeLanguage", {
19
- enumerable: true,
20
- get: function get() {
21
- return _PreformattedCode2.PreformattedCodeLanguage;
22
- }
23
- });
24
- Object.defineProperty(exports, "PreformattedCodeStyle", {
25
- enumerable: true,
26
- get: function get() {
27
- return _PreformattedCode2.PreformattedCodeStyle;
28
- }
29
- });
30
- var _PreformattedCode = require("./PreformattedCode");
31
- var _PreformattedCode2 = require("./PreformattedCode.type");
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
File without changes