@raystack/apsara 0.28.0 → 0.29.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 (199) hide show
  1. package/dist/container/container.cjs +3 -0
  2. package/dist/container/container.cjs.map +1 -1
  3. package/dist/container/container.d.ts +3 -0
  4. package/dist/container/container.d.ts.map +1 -1
  5. package/dist/container/container.js +3 -0
  6. package/dist/container/container.js.map +1 -1
  7. package/dist/image/image.cjs +6 -0
  8. package/dist/image/image.cjs.map +1 -1
  9. package/dist/image/image.d.ts +6 -0
  10. package/dist/image/image.d.ts.map +1 -1
  11. package/dist/image/image.js +6 -0
  12. package/dist/image/image.js.map +1 -1
  13. package/dist/link/link.cjs +3 -0
  14. package/dist/link/link.cjs.map +1 -1
  15. package/dist/link/link.d.ts +3 -0
  16. package/dist/link/link.d.ts.map +1 -1
  17. package/dist/link/link.js +3 -0
  18. package/dist/link/link.js.map +1 -1
  19. package/dist/separator/separator.cjs +3 -0
  20. package/dist/separator/separator.cjs.map +1 -1
  21. package/dist/separator/separator.d.ts +3 -0
  22. package/dist/separator/separator.d.ts.map +1 -1
  23. package/dist/separator/separator.js +3 -0
  24. package/dist/separator/separator.js.map +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/table/DataTableFilterChips.cjs.map +1 -1
  27. package/dist/table/DataTableFilterChips.js.map +1 -1
  28. package/dist/toggle-group/togglegroup.cjs +3 -3
  29. package/dist/toggle-group/togglegroup.cjs.map +1 -1
  30. package/dist/toggle-group/togglegroup.d.ts +5 -5
  31. package/dist/toggle-group/togglegroup.js +3 -3
  32. package/dist/toggle-group/togglegroup.js.map +1 -1
  33. package/dist/v1/components/box/box.cjs +3 -3
  34. package/dist/v1/components/box/box.cjs.map +1 -1
  35. package/dist/v1/components/box/box.d.ts +7 -2
  36. package/dist/v1/components/box/box.d.ts.map +1 -1
  37. package/dist/v1/components/box/box.js +3 -3
  38. package/dist/v1/components/box/box.js.map +1 -1
  39. package/dist/v1/components/calendar/calendar.cjs +6 -6
  40. package/dist/v1/components/calendar/calendar.cjs.map +1 -1
  41. package/dist/v1/components/calendar/calendar.d.ts.map +1 -1
  42. package/dist/v1/components/calendar/calendar.js +6 -6
  43. package/dist/v1/components/calendar/calendar.js.map +1 -1
  44. package/dist/v1/components/calendar/calendar.module.css.cjs +1 -1
  45. package/dist/v1/components/calendar/calendar.module.css.js +1 -1
  46. package/dist/v1/components/calendar/date-picker.cjs +6 -6
  47. package/dist/v1/components/calendar/date-picker.cjs.map +1 -1
  48. package/dist/v1/components/calendar/date-picker.d.ts +3 -2
  49. package/dist/v1/components/calendar/date-picker.d.ts.map +1 -1
  50. package/dist/v1/components/calendar/date-picker.js +6 -6
  51. package/dist/v1/components/calendar/date-picker.js.map +1 -1
  52. package/dist/v1/components/calendar/range-picker.cjs +6 -6
  53. package/dist/v1/components/calendar/range-picker.cjs.map +1 -1
  54. package/dist/v1/components/calendar/range-picker.d.ts +3 -2
  55. package/dist/v1/components/calendar/range-picker.d.ts.map +1 -1
  56. package/dist/v1/components/calendar/range-picker.js +6 -6
  57. package/dist/v1/components/calendar/range-picker.js.map +1 -1
  58. package/dist/v1/components/callout/callout.cjs +1 -1
  59. package/dist/v1/components/callout/callout.cjs.map +1 -1
  60. package/dist/v1/components/callout/callout.d.ts +1 -1
  61. package/dist/v1/components/callout/callout.d.ts.map +1 -1
  62. package/dist/v1/components/callout/callout.js +1 -1
  63. package/dist/v1/components/callout/callout.js.map +1 -1
  64. package/dist/v1/components/container/container.cjs +31 -0
  65. package/dist/v1/components/container/container.cjs.map +1 -0
  66. package/dist/v1/components/container/container.d.ts +13 -0
  67. package/dist/v1/components/container/container.d.ts.map +1 -0
  68. package/dist/v1/components/container/container.js +29 -0
  69. package/dist/v1/components/container/container.js.map +1 -0
  70. package/dist/v1/components/container/container.module.css.cjs +8 -0
  71. package/dist/v1/components/container/container.module.css.cjs.map +1 -0
  72. package/dist/v1/components/container/container.module.css.js +4 -0
  73. package/dist/v1/components/container/container.module.css.js.map +1 -0
  74. package/dist/v1/components/container/index.d.ts +2 -0
  75. package/dist/v1/components/container/index.d.ts.map +1 -0
  76. package/dist/v1/components/filter-chip/filter-chip.cjs +53 -0
  77. package/dist/v1/components/filter-chip/filter-chip.cjs.map +1 -0
  78. package/dist/v1/components/filter-chip/filter-chip.d.ts +24 -0
  79. package/dist/v1/components/filter-chip/filter-chip.d.ts.map +1 -0
  80. package/dist/v1/components/filter-chip/filter-chip.js +51 -0
  81. package/dist/v1/components/filter-chip/filter-chip.js.map +1 -0
  82. package/dist/v1/components/filter-chip/filter-chip.module.css.cjs +8 -0
  83. package/dist/v1/components/filter-chip/filter-chip.module.css.cjs.map +1 -0
  84. package/dist/v1/components/filter-chip/filter-chip.module.css.js +4 -0
  85. package/dist/v1/components/filter-chip/filter-chip.module.css.js.map +1 -0
  86. package/dist/v1/components/filter-chip/index.d.ts +2 -0
  87. package/dist/v1/components/filter-chip/index.d.ts.map +1 -0
  88. package/dist/v1/components/image/image.cjs +43 -0
  89. package/dist/v1/components/image/image.cjs.map +1 -0
  90. package/dist/v1/components/image/image.d.ts +17 -0
  91. package/dist/v1/components/image/image.d.ts.map +1 -0
  92. package/dist/v1/components/image/image.js +41 -0
  93. package/dist/v1/components/image/image.js.map +1 -0
  94. package/dist/v1/components/image/image.module.css.cjs +8 -0
  95. package/dist/v1/components/image/image.module.css.cjs.map +1 -0
  96. package/dist/v1/components/image/image.module.css.js +4 -0
  97. package/dist/v1/components/image/image.module.css.js.map +1 -0
  98. package/dist/v1/components/image/index.d.ts +2 -0
  99. package/dist/v1/components/image/index.d.ts.map +1 -0
  100. package/dist/v1/components/input-field/input-field.cjs.map +1 -1
  101. package/dist/v1/components/input-field/input-field.d.ts.map +1 -1
  102. package/dist/v1/components/input-field/input-field.js.map +1 -1
  103. package/dist/v1/components/link/index.d.ts +2 -0
  104. package/dist/v1/components/link/index.d.ts.map +1 -0
  105. package/dist/v1/components/link/link.cjs +74 -0
  106. package/dist/v1/components/link/link.cjs.map +1 -0
  107. package/dist/v1/components/link/link.d.ts +18 -0
  108. package/dist/v1/components/link/link.d.ts.map +1 -0
  109. package/dist/v1/components/link/link.js +72 -0
  110. package/dist/v1/components/link/link.js.map +1 -0
  111. package/dist/v1/components/link/link.module.css.cjs +8 -0
  112. package/dist/v1/components/link/link.module.css.cjs.map +1 -0
  113. package/dist/v1/components/link/link.module.css.js +4 -0
  114. package/dist/v1/components/link/link.module.css.js.map +1 -0
  115. package/dist/v1/components/list/index.d.ts +2 -0
  116. package/dist/v1/components/list/index.d.ts.map +1 -0
  117. package/dist/v1/components/list/list.cjs +42 -0
  118. package/dist/v1/components/list/list.cjs.map +1 -0
  119. package/dist/v1/components/list/list.d.ts +44 -0
  120. package/dist/v1/components/list/list.d.ts.map +1 -0
  121. package/dist/v1/components/list/list.js +40 -0
  122. package/dist/v1/components/list/list.js.map +1 -0
  123. package/dist/v1/components/list/list.module.css.cjs +8 -0
  124. package/dist/v1/components/list/list.module.css.cjs.map +1 -0
  125. package/dist/v1/components/list/list.module.css.js +4 -0
  126. package/dist/v1/components/list/list.module.css.js.map +1 -0
  127. package/dist/v1/components/popover/popover.cjs +1 -1
  128. package/dist/v1/components/popover/popover.cjs.map +1 -1
  129. package/dist/v1/components/popover/popover.d.ts.map +1 -1
  130. package/dist/v1/components/popover/popover.js +1 -1
  131. package/dist/v1/components/popover/popover.js.map +1 -1
  132. package/dist/v1/components/search/search.cjs.map +1 -1
  133. package/dist/v1/components/search/search.d.ts.map +1 -1
  134. package/dist/v1/components/search/search.js.map +1 -1
  135. package/dist/v1/components/select/select.cjs +6 -1
  136. package/dist/v1/components/select/select.cjs.map +1 -1
  137. package/dist/v1/components/select/select.d.ts +1 -0
  138. package/dist/v1/components/select/select.d.ts.map +1 -1
  139. package/dist/v1/components/select/select.js +6 -1
  140. package/dist/v1/components/select/select.js.map +1 -1
  141. package/dist/v1/components/select/select.module.css.cjs +1 -1
  142. package/dist/v1/components/select/select.module.css.js +1 -1
  143. package/dist/v1/components/separator/index.d.ts +2 -0
  144. package/dist/v1/components/separator/index.d.ts.map +1 -0
  145. package/dist/v1/components/separator/separator.cjs +32 -0
  146. package/dist/v1/components/separator/separator.cjs.map +1 -0
  147. package/dist/v1/components/separator/separator.d.ts +13 -0
  148. package/dist/v1/components/separator/separator.d.ts.map +1 -0
  149. package/dist/v1/components/separator/separator.js +30 -0
  150. package/dist/v1/components/separator/separator.js.map +1 -0
  151. package/dist/v1/components/separator/separator.module.css.cjs +8 -0
  152. package/dist/v1/components/separator/separator.module.css.cjs.map +1 -0
  153. package/dist/v1/components/separator/separator.module.css.js +4 -0
  154. package/dist/v1/components/separator/separator.module.css.js.map +1 -0
  155. package/dist/v1/components/sidepanel/sidepanel.cjs.map +1 -1
  156. package/dist/v1/components/sidepanel/sidepanel.d.ts +1 -1
  157. package/dist/v1/components/sidepanel/sidepanel.d.ts.map +1 -1
  158. package/dist/v1/components/sidepanel/sidepanel.js.map +1 -1
  159. package/dist/v1/components/slider/slider.cjs +2 -2
  160. package/dist/v1/components/slider/slider.cjs.map +1 -1
  161. package/dist/v1/components/slider/slider.d.ts +2 -2
  162. package/dist/v1/components/slider/slider.d.ts.map +1 -1
  163. package/dist/v1/components/slider/slider.js +2 -2
  164. package/dist/v1/components/slider/slider.js.map +1 -1
  165. package/dist/v1/components/text/text.cjs.map +1 -1
  166. package/dist/v1/components/text/text.d.ts.map +1 -1
  167. package/dist/v1/components/text/text.js +33 -33
  168. package/dist/v1/components/text/text.js.map +1 -1
  169. package/dist/v1/components/text/text.module.css.cjs +2 -2
  170. package/dist/v1/components/text/text.module.css.js +2 -2
  171. package/dist/v1/components/text-area/text-area.cjs +1 -1
  172. package/dist/v1/components/text-area/text-area.cjs.map +1 -1
  173. package/dist/v1/components/text-area/text-area.d.ts +1 -1
  174. package/dist/v1/components/text-area/text-area.d.ts.map +1 -1
  175. package/dist/v1/components/text-area/text-area.js +1 -1
  176. package/dist/v1/components/text-area/text-area.js.map +1 -1
  177. package/dist/v1/components/textfield/textfield.cjs.map +1 -1
  178. package/dist/v1/components/textfield/textfield.d.ts.map +1 -1
  179. package/dist/v1/components/textfield/textfield.js.map +1 -1
  180. package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
  181. package/dist/v1/components/tooltip/tooltip.d.ts +1 -1
  182. package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
  183. package/dist/v1/components/tooltip/tooltip.js.map +1 -1
  184. package/dist/v1/index.cjs +20 -8
  185. package/dist/v1/index.cjs.map +1 -1
  186. package/dist/v1/index.d.ts +10 -4
  187. package/dist/v1/index.d.ts.map +1 -1
  188. package/dist/v1/index.js +10 -4
  189. package/dist/v1/index.js.map +1 -1
  190. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +23 -0
  191. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
  192. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +23 -1
  193. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  194. package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs +51 -0
  195. package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -0
  196. package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js +48 -0
  197. package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
  198. package/dist/v1/style.css +1 -1
  199. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var _extends = require('../../../../../@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.cjs');
4
+ var React = require('react');
5
+ var index = require('../../../../../@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.cjs');
6
+
7
+ const $89eedd556c436f6a$var$DEFAULT_ORIENTATION = 'horizontal';
8
+ const $89eedd556c436f6a$var$ORIENTATIONS = [
9
+ 'horizontal',
10
+ 'vertical'
11
+ ];
12
+ const $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
13
+ const { decorative: decorative , orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION , ...domProps } = props;
14
+ const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION; // `aria-orientation` defaults to `horizontal` so we only need it if `orientation` is vertical
15
+ const ariaOrientation = orientation === 'vertical' ? orientation : undefined;
16
+ const semanticProps = decorative ? {
17
+ role: 'none'
18
+ } : {
19
+ 'aria-orientation': ariaOrientation,
20
+ role: 'separator'
21
+ };
22
+ return /*#__PURE__*/ React.createElement(index.Primitive.div, _extends.default({
23
+ "data-orientation": orientation
24
+ }, semanticProps, domProps, {
25
+ ref: forwardedRef
26
+ }));
27
+ });
28
+ $89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {
29
+ orientation (props, propName, componentName) {
30
+ const propValue = props[propName];
31
+ const strVal = String(propValue);
32
+ if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));
33
+ return null;
34
+ }
35
+ };
36
+ /* -----------------------------------------------------------------------------------------------*/ // Split this out for clearer readability of the error message.
37
+ function $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {
38
+ return `Invalid prop \`orientation\` of value \`${value}\` supplied to \`${componentName}\`, expected one of:
39
+ - horizontal
40
+ - vertical
41
+
42
+ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43
+ }
44
+ function $89eedd556c436f6a$var$isValidOrientation(orientation) {
45
+ return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
46
+ }
47
+ const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
48
+
49
+ exports.Root = $89eedd556c436f6a$export$be92b6f5f03c0fe9;
50
+ exports.Separator = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
51
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-separator@1.0.3_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.mjs"],"sourcesContent":["import $5WXm8$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $5WXm8$forwardRef, createElement as $5WXm8$createElement} from \"react\";\nimport {Primitive as $5WXm8$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Separator\n * -----------------------------------------------------------------------------------------------*/ const $89eedd556c436f6a$var$NAME = 'Separator';\nconst $89eedd556c436f6a$var$DEFAULT_ORIENTATION = 'horizontal';\nconst $89eedd556c436f6a$var$ORIENTATIONS = [\n 'horizontal',\n 'vertical'\n];\nconst $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ $5WXm8$forwardRef((props, forwardedRef)=>{\n const { decorative: decorative , orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION , ...domProps } = props;\n const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION; // `aria-orientation` defaults to `horizontal` so we only need it if `orientation` is vertical\n const ariaOrientation = orientation === 'vertical' ? orientation : undefined;\n const semanticProps = decorative ? {\n role: 'none'\n } : {\n 'aria-orientation': ariaOrientation,\n role: 'separator'\n };\n return /*#__PURE__*/ $5WXm8$createElement($5WXm8$Primitive.div, $5WXm8$babelruntimehelpersesmextends({\n \"data-orientation\": orientation\n }, semanticProps, domProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($89eedd556c436f6a$export$1ff3c3f08ae963c0, {\n displayName: $89eedd556c436f6a$var$NAME\n});\n$89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {\n orientation (props, propName, componentName) {\n const propValue = props[propName];\n const strVal = String(propValue);\n if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));\n return null;\n }\n};\n/* -----------------------------------------------------------------------------------------------*/ // Split this out for clearer readability of the error message.\nfunction $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {\n return `Invalid prop \\`orientation\\` of value \\`${value}\\` supplied to \\`${componentName}\\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \\`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\\`.`;\n}\nfunction $89eedd556c436f6a$var$isValidOrientation(orientation) {\n return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);\n}\nconst $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;\n\n\n\n\nexport {$89eedd556c436f6a$export$1ff3c3f08ae963c0 as Separator, $89eedd556c436f6a$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$5WXm8$forwardRef","$5WXm8$createElement","$5WXm8$Primitive","$5WXm8$babelruntimehelpersesmextends"],"mappings":";;;;;;AAUA,MAAM,yCAAyC,GAAG,YAAY,CAAC;AAC/D,MAAM,kCAAkC,GAAG;AAC3C,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,CAAC,CAAC;AACG,MAAC,yCAAyC,iBAAiBA,gBAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AACzG,IAAI,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,WAAW,EAAE,eAAe,GAAG,yCAAyC,GAAG,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;AACtI,IAAI,MAAM,WAAW,GAAG,wCAAwC,CAAC,eAAe,CAAC,GAAG,eAAe,GAAG,yCAAyC,CAAC;AAChJ,IAAI,MAAM,eAAe,GAAG,WAAW,KAAK,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AACjF,IAAI,MAAM,aAAa,GAAG,UAAU,GAAG;AACvC,QAAQ,IAAI,EAAE,MAAM;AACpB,KAAK,GAAG;AACR,QAAQ,kBAAkB,EAAE,eAAe;AAC3C,QAAQ,IAAI,EAAE,WAAW;AACzB,KAAK,CAAC;AACN,IAAI,qBAAqBC,mBAAoB,CAACC,eAAgB,CAAC,GAAG,EAAEC,gBAAoC,CAAC;AACzG,QAAQ,kBAAkB,EAAE,WAAW;AACvC,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE;AAChC,QAAQ,GAAG,EAAE,YAAY;AACzB,KAAK,CAAC,CAAC,CAAC;AACR,CAAC,EAAE;AAIH,yCAAyC,CAAC,SAAS,GAAG;AACtD,IAAI,WAAW,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE;AACjD,QAAQ,MAAM,SAAS,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1C,QAAQ,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACzC,QAAQ,IAAI,SAAS,IAAI,CAAC,wCAAwC,CAAC,SAAS,CAAC,EAAE,OAAO,IAAI,KAAK,CAAC,gDAAgD,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;AACzK,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,CAAC,CAAC;AACF;AACA,SAAS,gDAAgD,CAAC,KAAK,EAAE,aAAa,EAAE;AAChF,IAAI,OAAO,CAAC,wCAAwC,EAAE,KAAK,CAAC,iBAAiB,EAAE,aAAa,CAAC;AAC7F;AACA;AACA;AACA,gBAAgB,EAAE,yCAAyC,CAAC,GAAG,CAAC,CAAC;AACjE,CAAC;AACD,SAAS,wCAAwC,CAAC,WAAW,EAAE;AAC/D,IAAI,OAAO,kCAAkC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACpE,CAAC;AACI,MAAC,yCAAyC,GAAG;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,48 @@
1
+ import _extends from '../../../../../@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.js';
2
+ import { forwardRef, createElement } from 'react';
3
+ import { Primitive as $8927f6f2acc4f386$export$250ffa63cdc0d034 } from '../../../../../@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.js';
4
+
5
+ const $89eedd556c436f6a$var$DEFAULT_ORIENTATION = 'horizontal';
6
+ const $89eedd556c436f6a$var$ORIENTATIONS = [
7
+ 'horizontal',
8
+ 'vertical'
9
+ ];
10
+ const $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
11
+ const { decorative: decorative , orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION , ...domProps } = props;
12
+ const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION; // `aria-orientation` defaults to `horizontal` so we only need it if `orientation` is vertical
13
+ const ariaOrientation = orientation === 'vertical' ? orientation : undefined;
14
+ const semanticProps = decorative ? {
15
+ role: 'none'
16
+ } : {
17
+ 'aria-orientation': ariaOrientation,
18
+ role: 'separator'
19
+ };
20
+ return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
21
+ "data-orientation": orientation
22
+ }, semanticProps, domProps, {
23
+ ref: forwardedRef
24
+ }));
25
+ });
26
+ $89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {
27
+ orientation (props, propName, componentName) {
28
+ const propValue = props[propName];
29
+ const strVal = String(propValue);
30
+ if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));
31
+ return null;
32
+ }
33
+ };
34
+ /* -----------------------------------------------------------------------------------------------*/ // Split this out for clearer readability of the error message.
35
+ function $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {
36
+ return `Invalid prop \`orientation\` of value \`${value}\` supplied to \`${componentName}\`, expected one of:
37
+ - horizontal
38
+ - vertical
39
+
40
+ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41
+ }
42
+ function $89eedd556c436f6a$var$isValidOrientation(orientation) {
43
+ return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
44
+ }
45
+ const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
46
+
47
+ export { $89eedd556c436f6a$export$be92b6f5f03c0fe9 as Root, $89eedd556c436f6a$export$1ff3c3f08ae963c0 as Separator };
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-separator@1.0.3_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.mjs"],"sourcesContent":["import $5WXm8$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $5WXm8$forwardRef, createElement as $5WXm8$createElement} from \"react\";\nimport {Primitive as $5WXm8$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Separator\n * -----------------------------------------------------------------------------------------------*/ const $89eedd556c436f6a$var$NAME = 'Separator';\nconst $89eedd556c436f6a$var$DEFAULT_ORIENTATION = 'horizontal';\nconst $89eedd556c436f6a$var$ORIENTATIONS = [\n 'horizontal',\n 'vertical'\n];\nconst $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ $5WXm8$forwardRef((props, forwardedRef)=>{\n const { decorative: decorative , orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION , ...domProps } = props;\n const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION; // `aria-orientation` defaults to `horizontal` so we only need it if `orientation` is vertical\n const ariaOrientation = orientation === 'vertical' ? orientation : undefined;\n const semanticProps = decorative ? {\n role: 'none'\n } : {\n 'aria-orientation': ariaOrientation,\n role: 'separator'\n };\n return /*#__PURE__*/ $5WXm8$createElement($5WXm8$Primitive.div, $5WXm8$babelruntimehelpersesmextends({\n \"data-orientation\": orientation\n }, semanticProps, domProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($89eedd556c436f6a$export$1ff3c3f08ae963c0, {\n displayName: $89eedd556c436f6a$var$NAME\n});\n$89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {\n orientation (props, propName, componentName) {\n const propValue = props[propName];\n const strVal = String(propValue);\n if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));\n return null;\n }\n};\n/* -----------------------------------------------------------------------------------------------*/ // Split this out for clearer readability of the error message.\nfunction $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {\n return `Invalid prop \\`orientation\\` of value \\`${value}\\` supplied to \\`${componentName}\\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \\`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\\`.`;\n}\nfunction $89eedd556c436f6a$var$isValidOrientation(orientation) {\n return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);\n}\nconst $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;\n\n\n\n\nexport {$89eedd556c436f6a$export$1ff3c3f08ae963c0 as Separator, $89eedd556c436f6a$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$5WXm8$forwardRef","$5WXm8$createElement","$5WXm8$Primitive","$5WXm8$babelruntimehelpersesmextends"],"mappings":";;;;AAUA,MAAM,yCAAyC,GAAG,YAAY,CAAC;AAC/D,MAAM,kCAAkC,GAAG;AAC3C,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,CAAC,CAAC;AACG,MAAC,yCAAyC,iBAAiBA,UAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AACzG,IAAI,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,WAAW,EAAE,eAAe,GAAG,yCAAyC,GAAG,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;AACtI,IAAI,MAAM,WAAW,GAAG,wCAAwC,CAAC,eAAe,CAAC,GAAG,eAAe,GAAG,yCAAyC,CAAC;AAChJ,IAAI,MAAM,eAAe,GAAG,WAAW,KAAK,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AACjF,IAAI,MAAM,aAAa,GAAG,UAAU,GAAG;AACvC,QAAQ,IAAI,EAAE,MAAM;AACpB,KAAK,GAAG;AACR,QAAQ,kBAAkB,EAAE,eAAe;AAC3C,QAAQ,IAAI,EAAE,WAAW;AACzB,KAAK,CAAC;AACN,IAAI,qBAAqBC,aAAoB,CAACC,yCAAgB,CAAC,GAAG,EAAEC,QAAoC,CAAC;AACzG,QAAQ,kBAAkB,EAAE,WAAW;AACvC,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE;AAChC,QAAQ,GAAG,EAAE,YAAY;AACzB,KAAK,CAAC,CAAC,CAAC;AACR,CAAC,EAAE;AAIH,yCAAyC,CAAC,SAAS,GAAG;AACtD,IAAI,WAAW,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE;AACjD,QAAQ,MAAM,SAAS,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1C,QAAQ,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACzC,QAAQ,IAAI,SAAS,IAAI,CAAC,wCAAwC,CAAC,SAAS,CAAC,EAAE,OAAO,IAAI,KAAK,CAAC,gDAAgD,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;AACzK,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,CAAC,CAAC;AACF;AACA,SAAS,gDAAgD,CAAC,KAAK,EAAE,aAAa,EAAE;AAChF,IAAI,OAAO,CAAC,wCAAwC,EAAE,KAAK,CAAC,iBAAiB,EAAE,aAAa,CAAC;AAC7F;AACA;AACA;AACA,gBAAgB,EAAE,yCAAyC,CAAC,GAAG,CAAC,CAAC;AACjE,CAAC;AACD,SAAS,wCAAwC,CAAC,WAAW,EAAE;AAC/D,IAAI,OAAO,kCAAkC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACpE,CAAC;AACI,MAAC,yCAAyC,GAAG;;;;","x_google_ignoreList":[0]}