@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
@@ -17,6 +17,9 @@ const container = index.cva(container_module.default.container, {
17
17
  size: "none",
18
18
  },
19
19
  });
20
+ /**
21
+ * @deprecated Use Container from '@raystack/apsara/v1' instead.
22
+ */
20
23
  function Container({ children, size, className, ...props }) {
21
24
  return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: container({ size, className }), ...props, children: children }));
22
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"container.cjs","sources":["../../container/container.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./container.module.css\";\n\nconst container = cva(styles.container, {\n variants: {\n size: {\n small: styles[\"container-small\"],\n medium: styles[\"container-medium\"],\n large: styles[\"container-large\"],\n none: styles[\"container-none\"],\n },\n },\n defaultVariants: {\n size: \"none\",\n },\n});\n\ntype ContainerProps = PropsWithChildren<VariantProps<typeof container>> &\n HTMLAttributes<HTMLElement>;\n\nexport function Container({\n children,\n size,\n className,\n ...props\n}: ContainerProps) {\n return (\n <div className={container({ size, className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,SAAS,GAAGA,SAAG,CAACC,wBAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,wBAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,MAAM,EAAEA,wBAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,KAAK,EAAEA,wBAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEC,gCAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YACtD,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
1
+ {"version":3,"file":"container.cjs","sources":["../../container/container.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./container.module.css\";\n\nconst container = cva(styles.container, {\n variants: {\n size: {\n small: styles[\"container-small\"],\n medium: styles[\"container-medium\"],\n large: styles[\"container-large\"],\n none: styles[\"container-none\"],\n },\n },\n defaultVariants: {\n size: \"none\",\n },\n});\n\ntype ContainerProps = PropsWithChildren<VariantProps<typeof container>> &\n HTMLAttributes<HTMLElement>;\n\n/**\n * @deprecated Use Container from '@raystack/apsara/v1' instead.\n */\nexport function Container({\n children,\n size,\n className,\n ...props\n}: ContainerProps) {\n return (\n <div className={container({ size, className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,SAAS,GAAGA,SAAG,CAACC,wBAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,wBAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,MAAM,EAAEA,wBAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,KAAK,EAAEA,wBAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEC,gCAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YACtD,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
@@ -4,6 +4,9 @@ declare const container: (props?: ({
4
4
  size?: "small" | "medium" | "large" | "none" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  type ContainerProps = PropsWithChildren<VariantProps<typeof container>> & HTMLAttributes<HTMLElement>;
7
+ /**
8
+ * @deprecated Use Container from '@raystack/apsara/v1' instead.
9
+ */
7
10
  export declare function Container({ children, size, className, ...props }: ContainerProps): import("react/jsx-runtime").JSX.Element;
8
11
  export {};
9
12
  //# sourceMappingURL=container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../container/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;mFAYb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAMhB"}
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../container/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;mFAYb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAMhB"}
@@ -15,6 +15,9 @@ const container = cva(styles.container, {
15
15
  size: "none",
16
16
  },
17
17
  });
18
+ /**
19
+ * @deprecated Use Container from '@raystack/apsara/v1' instead.
20
+ */
18
21
  function Container({ children, size, className, ...props }) {
19
22
  return (jsxRuntimeExports.jsx("div", { className: container({ size, className }), ...props, children: children }));
20
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"container.js","sources":["../../container/container.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./container.module.css\";\n\nconst container = cva(styles.container, {\n variants: {\n size: {\n small: styles[\"container-small\"],\n medium: styles[\"container-medium\"],\n large: styles[\"container-large\"],\n none: styles[\"container-none\"],\n },\n },\n defaultVariants: {\n size: \"none\",\n },\n});\n\ntype ContainerProps = PropsWithChildren<VariantProps<typeof container>> &\n HTMLAttributes<HTMLElement>;\n\nexport function Container({\n children,\n size,\n className,\n ...props\n}: ContainerProps) {\n return (\n <div className={container({ size, className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEA,qBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YACtD,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
1
+ {"version":3,"file":"container.js","sources":["../../container/container.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./container.module.css\";\n\nconst container = cva(styles.container, {\n variants: {\n size: {\n small: styles[\"container-small\"],\n medium: styles[\"container-medium\"],\n large: styles[\"container-large\"],\n none: styles[\"container-none\"],\n },\n },\n defaultVariants: {\n size: \"none\",\n },\n});\n\ntype ContainerProps = PropsWithChildren<VariantProps<typeof container>> &\n HTMLAttributes<HTMLElement>;\n\n/**\n * @deprecated Use Container from '@raystack/apsara/v1' instead.\n */\nexport function Container({\n children,\n size,\n className,\n ...props\n}: ContainerProps) {\n return (\n <div className={container({ size, className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC;AAChC,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;AACf,IAAA,QACEA,qBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YACtD,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
@@ -4,7 +4,13 @@ var jsxRuntime = require('../node_modules/.pnpm/react@18.2.0/node_modules/react/
4
4
  var index = require('../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
5
5
  var image_module = require('./image.module.css.cjs');
6
6
 
7
+ /**
8
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
9
+ */
7
10
  const image = index.cva(image_module.default.image);
11
+ /**
12
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
13
+ */
8
14
  function Image({ alt, children, className, ...props }) {
9
15
  return jsxRuntime.jsxRuntimeExports.jsx("img", { alt: alt, className: image({ className }), ...props });
10
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"image.cjs","sources":["../../image/image.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ImgHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./image.module.css\";\n\nconst image = cva(styles.image);\n\ntype ImageProps = PropsWithChildren<VariantProps<typeof image>> &\n ImgHTMLAttributes<HTMLImageElement>;\n\nexport function Image({ alt, children, className, ...props }: ImageProps) {\n return <img alt={alt} className={image({ className })} {...props} />;\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,KAAK,GAAGA,SAAG,CAACC,oBAAM,CAAC,KAAK,CAAC,CAAC;AAKhB,SAAA,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;AACtE,IAAA,OAAOC,0CAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,GAAI,CAAC;AACvE;;;;"}
1
+ {"version":3,"file":"image.cjs","sources":["../../image/image.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ImgHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./image.module.css\";\n\n/**\n * @deprecated Use Image from `@raystack/apsara/v1` instead.\n */\nconst image = cva(styles.image);\n\ntype ImageProps = PropsWithChildren<VariantProps<typeof image>> &\n ImgHTMLAttributes<HTMLImageElement>;\n\n/**\n * @deprecated Use Image from `@raystack/apsara/v1` instead.\n */\nexport function Image({ alt, children, className, ...props }: ImageProps) {\n return <img alt={alt} className={image({ className })} {...props} />;\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA;;AAEG;AACH,MAAM,KAAK,GAAGA,SAAG,CAACC,oBAAM,CAAC,KAAK,CAAC,CAAC;AAKhC;;AAEG;AACa,SAAA,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;AACtE,IAAA,OAAOC,0CAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,GAAI,CAAC;AACvE;;;;"}
@@ -1,7 +1,13 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import { ImgHTMLAttributes, PropsWithChildren } from "react";
3
+ /**
4
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
5
+ */
3
6
  declare const image: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
4
7
  type ImageProps = PropsWithChildren<VariantProps<typeof image>> & ImgHTMLAttributes<HTMLImageElement>;
8
+ /**
9
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
10
+ */
5
11
  export declare function Image({ alt, children, className, ...props }: ImageProps): import("react/jsx-runtime").JSX.Element;
6
12
  export {};
7
13
  //# sourceMappingURL=image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7D,QAAA,MAAM,KAAK,yFAAoB,CAAC;AAEhC,KAAK,UAAU,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,GAC7D,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtC,wBAAgB,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAEvE"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7D;;GAEG;AACH,QAAA,MAAM,KAAK,yFAAoB,CAAC;AAEhC,KAAK,UAAU,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,GAC7D,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtC;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAEvE"}
@@ -2,7 +2,13 @@ import { j as jsxRuntimeExports } from '../node_modules/.pnpm/react@18.2.0/node_
2
2
  import { cva } from '../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
3
3
  import styles from './image.module.css.js';
4
4
 
5
+ /**
6
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
7
+ */
5
8
  const image = cva(styles.image);
9
+ /**
10
+ * @deprecated Use Image from `@raystack/apsara/v1` instead.
11
+ */
6
12
  function Image({ alt, children, className, ...props }) {
7
13
  return jsxRuntimeExports.jsx("img", { alt: alt, className: image({ className }), ...props });
8
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sources":["../../image/image.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ImgHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./image.module.css\";\n\nconst image = cva(styles.image);\n\ntype ImageProps = PropsWithChildren<VariantProps<typeof image>> &\n ImgHTMLAttributes<HTMLImageElement>;\n\nexport function Image({ alt, children, className, ...props }: ImageProps) {\n return <img alt={alt} className={image({ className })} {...props} />;\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAKhB,SAAA,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;AACtE,IAAA,OAAOA,+BAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,GAAI,CAAC;AACvE;;;;"}
1
+ {"version":3,"file":"image.js","sources":["../../image/image.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { ImgHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./image.module.css\";\n\n/**\n * @deprecated Use Image from `@raystack/apsara/v1` instead.\n */\nconst image = cva(styles.image);\n\ntype ImageProps = PropsWithChildren<VariantProps<typeof image>> &\n ImgHTMLAttributes<HTMLImageElement>;\n\n/**\n * @deprecated Use Image from `@raystack/apsara/v1` instead.\n */\nexport function Image({ alt, children, className, ...props }: ImageProps) {\n return <img alt={alt} className={image({ className })} {...props} />;\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA;;AAEG;AACH,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAKhC;;AAEG;AACa,SAAA,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAc,EAAA;AACtE,IAAA,OAAOA,+BAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,GAAI,CAAC;AACvE;;;;"}
@@ -16,6 +16,9 @@ const link = index.cva(link_module.default.link, {
16
16
  size: "medium",
17
17
  },
18
18
  });
19
+ /**
20
+ * @deprecated Use the Link from @raystack/apsara/v1 instead.
21
+ */
19
22
  function Link({ children, className, size, ...props }) {
20
23
  return (jsxRuntime.jsxRuntimeExports.jsx("a", { className: link({ size, className }), ...props, children: children }));
21
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"link.cjs","sources":["../../link/link.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { AnchorHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./link.module.css\";\n\nconst link = cva(styles.link, {\n variants: {\n size: {\n small: styles[\"link-small\"],\n medium: styles[\"link-medium\"],\n large: styles[\"link-large\"],\n },\n },\n defaultVariants: {\n size: \"medium\",\n },\n});\n\ntype LinkProps = PropsWithChildren<VariantProps<typeof link>> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\nexport function Link({ children, className, size, ...props }: LinkProps) {\n return (\n <a className={link({ size, className })} {...props}>\n {children}\n </a>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,mBAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,KAAK,EAAEA,mBAAM,CAAC,YAAY,CAAC;AAC5B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAA;AACrE,IAAA,QACEC,gCAAG,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YAC/C,QAAQ,EAAA,CACP,EACJ;AACJ;;;;"}
1
+ {"version":3,"file":"link.cjs","sources":["../../link/link.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { AnchorHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./link.module.css\";\n\nconst link = cva(styles.link, {\n variants: {\n size: {\n small: styles[\"link-small\"],\n medium: styles[\"link-medium\"],\n large: styles[\"link-large\"],\n },\n },\n defaultVariants: {\n size: \"medium\",\n },\n});\n\ntype LinkProps = PropsWithChildren<VariantProps<typeof link>> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\n/**\n * @deprecated Use the Link from @raystack/apsara/v1 instead.\n */\nexport function Link({ children, className, size, ...props }: LinkProps) {\n return (\n <a className={link({ size, className })} {...props}>\n {children}\n </a>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,mBAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAEA,mBAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,KAAK,EAAEA,mBAAM,CAAC,YAAY,CAAC;AAC5B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAA;AACrE,IAAA,QACEC,gCAAG,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YAC/C,QAAQ,EAAA,CACP,EACJ;AACJ;;;;"}
@@ -4,6 +4,9 @@ declare const link: (props?: ({
4
4
  size?: "small" | "medium" | "large" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  type LinkProps = PropsWithChildren<VariantProps<typeof link>> & AnchorHTMLAttributes<HTMLAnchorElement>;
7
+ /**
8
+ * @deprecated Use the Link from @raystack/apsara/v1 instead.
9
+ */
7
10
  export declare function Link({ children, className, size, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
8
11
  export {};
9
12
  //# sourceMappingURL=link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGhE,QAAA,MAAM,IAAI;;mFAWR,CAAC;AAEH,KAAK,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC3D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMtE"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGhE,QAAA,MAAM,IAAI;;mFAWR,CAAC;AAEH,KAAK,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC3D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C;;GAEG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMtE"}
package/dist/link/link.js CHANGED
@@ -14,6 +14,9 @@ const link = cva(styles.link, {
14
14
  size: "medium",
15
15
  },
16
16
  });
17
+ /**
18
+ * @deprecated Use the Link from @raystack/apsara/v1 instead.
19
+ */
17
20
  function Link({ children, className, size, ...props }) {
18
21
  return (jsxRuntimeExports.jsx("a", { className: link({ size, className }), ...props, children: children }));
19
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sources":["../../link/link.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { AnchorHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./link.module.css\";\n\nconst link = cva(styles.link, {\n variants: {\n size: {\n small: styles[\"link-small\"],\n medium: styles[\"link-medium\"],\n large: styles[\"link-large\"],\n },\n },\n defaultVariants: {\n size: \"medium\",\n },\n});\n\ntype LinkProps = PropsWithChildren<VariantProps<typeof link>> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\nexport function Link({ children, className, size, ...props }: LinkProps) {\n return (\n <a className={link({ size, className })} {...props}>\n {children}\n </a>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC5B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAA;AACrE,IAAA,QACEA,qBAAG,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YAC/C,QAAQ,EAAA,CACP,EACJ;AACJ;;;;"}
1
+ {"version":3,"file":"link.js","sources":["../../link/link.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { AnchorHTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./link.module.css\";\n\nconst link = cva(styles.link, {\n variants: {\n size: {\n small: styles[\"link-small\"],\n medium: styles[\"link-medium\"],\n large: styles[\"link-large\"],\n },\n },\n defaultVariants: {\n size: \"medium\",\n },\n});\n\ntype LinkProps = PropsWithChildren<VariantProps<typeof link>> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\n/**\n * @deprecated Use the Link from @raystack/apsara/v1 instead.\n */\nexport function Link({ children, className, size, ...props }: LinkProps) {\n return (\n <a className={link({ size, className })} {...props}>\n {children}\n </a>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC3B,YAAA,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC;AAC5B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAA;AACrE,IAAA,QACEA,qBAAG,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAM,GAAA,KAAK,YAC/C,QAAQ,EAAA,CACP,EACJ;AACJ;;;;"}
@@ -17,6 +17,9 @@ const separator = index$1.cva(separator_module.default.separator, {
17
17
  size: "full",
18
18
  },
19
19
  });
20
+ /**
21
+ * @deprecated Use the new Separator from packages/raystack/v1 instead.
22
+ */
20
23
  function Separator({ children, size, className, ...props }) {
21
24
  return (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { decorative: true, className: separator({ size, className }), ...props }));
22
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"separator.cjs","sources":["../../separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentProps, PropsWithChildren } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-half\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n },\n defaultVariants: {\n size: \"full\",\n },\n});\n\ntype SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> &\n ComponentProps<typeof SeparatorPrimitive.Root>;\n\nexport function Separator({\n children,\n size,\n className,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n className={separator({ size, className })}\n {...props}\n />\n );\n}\n"],"names":["cva","styles","_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;;;AAKA,MAAM,SAAS,GAAGA,WAAG,CAACC,wBAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;IACf,QACEC,iCAACC,UAAuB,EACtB,EAAA,UAAU,EACV,IAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EACrC,GAAA,KAAK,EACT,CAAA,EACF;AACJ;;;;"}
1
+ {"version":3,"file":"separator.cjs","sources":["../../separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentProps, PropsWithChildren } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-half\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n },\n defaultVariants: {\n size: \"full\",\n },\n});\n\ntype SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> &\n ComponentProps<typeof SeparatorPrimitive.Root>;\n\n/**\n * @deprecated Use the new Separator from packages/raystack/v1 instead.\n */\nexport function Separator({\n children,\n size,\n className,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n className={separator({ size, className })}\n {...props}\n />\n );\n}\n"],"names":["cva","styles","_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;;;AAKA,MAAM,SAAS,GAAGA,WAAG,CAACC,wBAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAEA,wBAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;IACf,QACEC,iCAACC,UAAuB,EACtB,EAAA,UAAU,EACV,IAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EACrC,GAAA,KAAK,EACT,CAAA,EACF;AACJ;;;;"}
@@ -5,6 +5,9 @@ declare const separator: (props?: ({
5
5
  size?: "small" | "half" | "full" | null | undefined;
6
6
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
7
  type SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> & ComponentProps<typeof SeparatorPrimitive.Root>;
8
+ /**
9
+ * @deprecated Use the new Separator from packages/raystack/v1 instead.
10
+ */
8
11
  export declare function Separator({ children, size, className, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
9
12
  export {};
10
13
  //# sourceMappingURL=separator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../separator/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;mFAWb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAEjD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAQhB"}
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../separator/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;mFAWb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAEjD;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAQhB"}
@@ -15,6 +15,9 @@ const separator = cva(styles.separator, {
15
15
  size: "full",
16
16
  },
17
17
  });
18
+ /**
19
+ * @deprecated Use the new Separator from packages/raystack/v1 instead.
20
+ */
18
21
  function Separator({ children, size, className, ...props }) {
19
22
  return (jsxRuntimeExports.jsx($89eedd556c436f6a$export$be92b6f5f03c0fe9, { decorative: true, className: separator({ size, className }), ...props }));
20
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"separator.js","sources":["../../separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentProps, PropsWithChildren } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-half\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n },\n defaultVariants: {\n size: \"full\",\n },\n});\n\ntype SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> &\n ComponentProps<typeof SeparatorPrimitive.Root>;\n\nexport function Separator({\n children,\n size,\n className,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n className={separator({ size, className })}\n {...props}\n />\n );\n}\n"],"names":["_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;AAKA,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;IACf,QACEA,sBAACC,yCAAuB,EACtB,EAAA,UAAU,EACV,IAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EACrC,GAAA,KAAK,EACT,CAAA,EACF;AACJ;;;;"}
1
+ {"version":3,"file":"separator.js","sources":["../../separator/separator.tsx"],"sourcesContent":["import * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { ComponentProps, PropsWithChildren } from \"react\";\nimport styles from \"./separator.module.css\";\n\nconst separator = cva(styles.separator, {\n variants: {\n size: {\n small: styles[\"separator-half\"],\n half: styles[\"separator-half\"],\n full: styles[\"separator-full\"],\n },\n },\n defaultVariants: {\n size: \"full\",\n },\n});\n\ntype SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> &\n ComponentProps<typeof SeparatorPrimitive.Root>;\n\n/**\n * @deprecated Use the new Separator from packages/raystack/v1 instead.\n */\nexport function Separator({\n children,\n size,\n className,\n ...props\n}: SeparatorProps) {\n return (\n <SeparatorPrimitive.Root\n decorative\n className={separator({ size, className })}\n {...props}\n />\n );\n}\n"],"names":["_jsx","SeparatorPrimitive.Root"],"mappings":";;;;;AAKA,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE;AACtC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC9B,YAAA,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACF,CAAA,CAAC,CAAC;AAKH;;AAEG;AACa,SAAA,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACO,EAAA;IACf,QACEA,sBAACC,yCAAuB,EACtB,EAAA,UAAU,EACV,IAAA,EAAA,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EACrC,GAAA,KAAK,EACT,CAAA,EACF;AACJ;;;;"}