@tryghost/shade 0.1.0-alpha.41 → 0.1.0-alpha.43

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 (54) hide show
  1. package/es/assets/images/index.js +1 -1
  2. package/es/components/ui/icon.js +1 -1
  3. package/es/components/ui/list.js +94 -0
  4. package/es/components/ui/list.js.map +1 -0
  5. package/es/components/ui/row-primary-action.js +48 -0
  6. package/es/components/ui/row-primary-action.js.map +1 -0
  7. package/es/components/ui/row-surface.js +18 -0
  8. package/es/components/ui/row-surface.js.map +1 -0
  9. package/es/components/ui/sortable-list.js +6 -2
  10. package/es/components/ui/sortable-list.js.map +1 -1
  11. package/es/components/ui/table.js +18 -7
  12. package/es/components/ui/table.js.map +1 -1
  13. package/es/components.js +6 -4
  14. package/es/hooks/use-row-behavior.js +94 -0
  15. package/es/hooks/use-row-behavior.js.map +1 -0
  16. package/es/hooks/use-row-press.js +63 -0
  17. package/es/hooks/use-row-press.js.map +1 -0
  18. package/es/{icon-BJcGsQ4b.js → icon--CakqPdG.js} +15 -19
  19. package/es/icon--CakqPdG.js.map +1 -0
  20. package/es/{images-DtbFINdz.js → images-F6slcZrB.js} +14 -20
  21. package/es/images-F6slcZrB.js.map +1 -0
  22. package/es/index.js +6 -4
  23. package/es/lib/svg-graphic.js +32 -0
  24. package/es/lib/svg-graphic.js.map +1 -0
  25. package/es/providers/shade-provider.js +1 -1
  26. package/package.json +1 -1
  27. package/styles.css +334 -0
  28. package/types/assets/images/index.d.ts +3 -2
  29. package/types/assets/images/index.d.ts.map +1 -1
  30. package/types/components/ui/icon.d.ts +2 -1
  31. package/types/components/ui/icon.d.ts.map +1 -1
  32. package/types/components/ui/list.d.ts +28 -0
  33. package/types/components/ui/list.d.ts.map +1 -0
  34. package/types/components/ui/row-primary-action.d.ts +8 -0
  35. package/types/components/ui/row-primary-action.d.ts.map +1 -0
  36. package/types/components/ui/row-surface.d.ts +11 -0
  37. package/types/components/ui/row-surface.d.ts.map +1 -0
  38. package/types/components/ui/sortable-list.d.ts.map +1 -1
  39. package/types/components/ui/table.d.ts +4 -1
  40. package/types/components/ui/table.d.ts.map +1 -1
  41. package/types/components.d.ts +3 -1
  42. package/types/components.d.ts.map +1 -1
  43. package/types/hooks/use-row-behavior.d.ts +24 -0
  44. package/types/hooks/use-row-behavior.d.ts.map +1 -0
  45. package/types/hooks/use-row-press.d.ts +11 -0
  46. package/types/hooks/use-row-press.d.ts.map +1 -0
  47. package/types/lib/svg-graphic.d.ts +22 -0
  48. package/types/lib/svg-graphic.d.ts.map +1 -0
  49. package/es/components/ui/action-list.js +0 -56
  50. package/es/components/ui/action-list.js.map +0 -1
  51. package/es/icon-BJcGsQ4b.js.map +0 -1
  52. package/es/images-DtbFINdz.js.map +0 -1
  53. package/types/components/ui/action-list.d.ts +0 -21
  54. package/types/components/ui/action-list.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-list.js","names":[],"sources":["../../../src/components/ui/action-list.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { type VariantProps, cva } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\nconst actionListItemVariants = cva(\n 'group/action-list-item relative flex min-w-0 items-stretch border-b border-border last:border-b-transparent',\n {\n variants: {\n hover: {\n true: 'before:pointer-events-none before:absolute before:-inset-x-4 before:inset-y-0 before:z-0 before:rounded-md before:bg-table-row-hover before:opacity-0 before:transition-opacity hover:border-b-transparent hover:before:opacity-100',\n false: '',\n },\n },\n defaultVariants: {\n hover: true,\n },\n },\n);\n\nconst ActionList = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('flex flex-col', className)} {...props} />\n ),\n);\nActionList.displayName = 'ActionList';\n\ninterface ActionListItemProps\n extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof actionListItemVariants> {}\n\nconst ActionListItem = React.forwardRef<HTMLDivElement, ActionListItemProps>(\n ({ className, hover, ...props }, ref) => (\n <div ref={ref} className={cn(actionListItemVariants({ hover, className }))} {...props} />\n ),\n);\nActionListItem.displayName = 'ActionListItem';\n\ninterface ActionListItemContentProps extends React.HTMLAttributes<HTMLDivElement> {\n asChild?: boolean;\n}\n\nconst ActionListItemContent = React.forwardRef<HTMLDivElement, ActionListItemContentProps>(\n ({ asChild = false, className, ...props }, ref) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component ref={ref} className={cn('relative z-10 min-w-0 grow', className)} {...props} />\n );\n },\n);\nActionListItemContent.displayName = 'ActionListItemContent';\n\nconst actionListItemActionsVariants = cva('relative z-10 flex shrink-0 items-center py-3 pl-2', {\n variants: {\n visibility: {\n always: '',\n hover:\n 'md:opacity-0 md:transition-opacity md:group-focus-within/action-list-item:opacity-100 md:group-hover/action-list-item:opacity-100',\n },\n },\n defaultVariants: {\n visibility: 'always',\n },\n});\n\ninterface ActionListItemActionsProps\n extends\n React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof actionListItemActionsVariants> {}\n\nconst ActionListItemActions = React.forwardRef<HTMLDivElement, ActionListItemActionsProps>(\n ({ className, visibility, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(actionListItemActionsVariants({ visibility, className }))}\n {...props}\n />\n ),\n);\nActionListItemActions.displayName = 'ActionListItemActions';\n\nexport { ActionList, ActionListItem, ActionListItemActions, ActionListItemContent };\n"],"mappings":";;;;;;AAMA,IAAM,yBAAyB,IAC7B,+GACA;CACE,UAAU,EACR,OAAO;EACL,MAAM;EACN,OAAO;CACT,EACF;CACA,iBAAiB,EACf,OAAO,KACT;AACF,CACF;AAEA,IAAM,aAAa,QAAM,YACtB,EAAE,WAAW,GAAG,SAAS,QACxB,oBAAC,OAAD;CAAU;CAAK,WAAW,GAAG,iBAAiB,SAAS;CAAG,GAAI;AAAQ,CAAA,CAE1E;AACA,WAAW,cAAc;AAKzB,IAAM,iBAAiB,QAAM,YAC1B,EAAE,WAAW,OAAO,GAAG,SAAS,QAC/B,oBAAC,OAAD;CAAU;CAAK,WAAW,GAAG,uBAAuB;EAAE;EAAO;CAAU,CAAC,CAAC;CAAG,GAAI;AAAQ,CAAA,CAE5F;AACA,eAAe,cAAc;AAM7B,IAAM,wBAAwB,QAAM,YACjC,EAAE,UAAU,OAAO,WAAW,GAAG,SAAS,QAAQ;CAGjD,OACE,oBAHgB,UAAU,OAAO,OAGjC;EAAgB;EAAK,WAAW,GAAG,8BAA8B,SAAS;EAAG,GAAI;CAAQ,CAAA;AAE7F,CACF;AACA,sBAAsB,cAAc;AAEpC,IAAM,gCAAgC,IAAI,sDAAsD;CAC9F,UAAU,EACR,YAAY;EACV,QAAQ;EACR,OACE;CACJ,EACF;CACA,iBAAiB,EACf,YAAY,SACd;AACF,CAAC;AAOD,IAAM,wBAAwB,QAAM,YACjC,EAAE,WAAW,YAAY,GAAG,SAAS,QACpC,oBAAC,OAAD;CACO;CACL,WAAW,GAAG,8BAA8B;EAAE;EAAY;CAAU,CAAC,CAAC;CACtE,GAAI;AACL,CAAA,CAEL;AACA,sBAAsB,cAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-BJcGsQ4b.js","names":[],"sources":["../src/assets/icons/error-fill.svg?react","../src/assets/icons/info-fill.svg?react","../src/assets/icons/skull-and-bones.svg?react","../src/assets/icons/success-fill.svg?react","../src/assets/icons/typography.svg?react","../src/components/ui/icon.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgErrorFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Alert-Triangle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Alert Triangle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z\",\n\t\tfill: \"currentColor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgErrorFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgInfoFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Information-Circle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Information Circle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgInfoFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSkullAndBones = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\theight: 16,\n\tid: \"Skull-2--Streamline-Ultimate\",\n\tviewBox: \"0 0 16 16\",\n\twidth: 16,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"\\n Skull 2 Streamline Icon: https://streamlinehq.com\\n \" }), /* @__PURE__ */ _jsxs(\"g\", { children: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m1.8666666666666665 3.28 1.22 1.22a0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 0.09333333333333334 0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 -0.14666666666666667 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 -0.9733333333333333 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 -0.2333333333333333 0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 -0.24666666666666665L3.28 1.8666666666666665A1.1666666666666665 1.1666666666666665 0 0 0 1.8399999999999999 0.11333333333333334a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 0.48l-0.09999999999999999 0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 0.26666666666666666l-0.52 0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 -0.48 0.3666666666666667A1.1666666666666665 1.1666666666666665 0 0 0 1.8666666666666665 3.28Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.4 4.446666666666666a0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 0.14666666666666667 0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 -0.09333333333333334l1.22 -1.22a1.1666666666666665 1.1666666666666665 0 0 0 1.7533333333333332 -1.44 0.6666666666666666 0.6666666666666666 0 0 0 -0.48 -0.3666666666666667l-0.52 -0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 -0.26666666666666666l-0.09999999999999999 -0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 -0.48 1.1666666666666665 1.1666666666666665 0 0 0 -1.44 1.7533333333333332l-1.1333333333333333 1.1266666666666665a0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 0.24666666666666665 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 0.2333333333333333 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 0.9733333333333333Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M3.6 11.559999999999999a0.33999999999999997 0.33999999999999997 0 0 0 -0.26666666666666666 -0.15333333333333332 0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 0.09333333333333334l-1.2 1.22a1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 1.44 0.6666666666666666 0.6666666666666666 0 0 0 0.48 0.3666666666666667l0.52 0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 0.26 0.26666666666666666l0.09999999999999999 0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 0.48 1.1666666666666665 1.1666666666666665 0 0 0 1.44 -1.7533333333333332l1.1333333333333333 -1.1266666666666665a0.36 0.36 0 0 0 0.09333333333333334 -0.24 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 -0.24 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 -0.9666666666666666Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m14.133333333333333 12.719999999999999 -1.22 -1.22a0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 -0.09333333333333334 0.33999999999999997 0.33999999999999997 0 0 0 -0.24666666666666665 0.15333333333333332 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 0.9666666666666666 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 0.24 0.36 0.36 0 0 0 0.09333333333333334 0.24l1.1333333333333333 1.1266666666666665a1.1666666666666665 1.1666666666666665 0 0 0 1.44 1.7533333333333332 0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 -0.48l0.09999999999999999 -0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 0.26 -0.26666666666666666l0.52 -0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 0.48 -0.3666666666666667 1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 -1.44Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t})\n\t] })]\n});\nexport default SvgSkullAndBones;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSuccessFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Check-Circle-1--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Check Circle 1 Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgSuccessFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgTypography = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tviewBox: \"-0.75 -0.75 20 20\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"desc\", { children: \"Typography\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m0.578125 9.827354166666668 8.09375 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m12.140625 13.296104166666666 5.78125 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.140625 16.764854166666666V10.40625a2.890625 2.890625 0 0 1 5.78125 0v6.359375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M0.578125 16.764854166666666V5.78125a4.046875 4.046875 0 0 1 8.09375 0v10.984375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t})\n\t]\n});\nexport default SvgTypography;\n","import React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn, kebabToPascalCase } from '@/lib/utils';\n\nconst iconVariants = cva('', {\n variants: {\n size: {\n sm: 'size-3',\n md: 'size-4',\n lg: 'size-6',\n xl: 'size-8',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\ninterface IconProps extends React.SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {\n className?: string;\n}\n\nconst iconModules = import.meta.glob<{ default: React.FC<IconProps> }>('../../assets/icons/*.svg', {\n eager: true,\n query: '?react',\n});\n\nconst Icon = Object.entries(iconModules).reduce(\n (acc, [path, module]) => {\n const kebabName = path.match(/[^/]+(?=\\.svg$)/)?.[0] ?? '';\n const iconName = kebabToPascalCase(kebabName);\n\n const IconComponent = (props: IconProps) => {\n const { size, className, ...rest } = props;\n const iconClassName = cn(iconVariants({ size, className }));\n return React.createElement(module.default, {\n ...rest,\n className: iconClassName,\n });\n };\n\n IconComponent.displayName = `Icon.${iconName}`;\n\n acc[iconName] = IconComponent;\n return acc;\n },\n {} as Record<string, React.FC<IconProps>>,\n);\n\nexport type IconName = keyof typeof Icon;\n\nexport const IconComponents = Icon;\nexport default Icon;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAEA,IAAM,gBAAgB,UAA0B,qBAAM,OAAO;CAC5D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,IAAI;CACJ,GAAG;CACH,UAAU,CAAiB,oBAAK,QAAQ,EAAE,UAAU,2DAA2D,CAAC,GAAmB,oBAAK,QAAQ;EAC/I,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC,CAAC;AACH,CAAC;;;;ACZD,IAAM,eAAe,UAA0B,qBAAM,OAAO;CAC3D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ACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,QAAQ;GACR,eAAe;GACf,gBAAgB;GAChB,aAAa;EACd,CAAC;CACF;AACD,CAAC;;;ACvCD,IAAM,eAAe,IAAI,IAAI;CAC3B,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;CACN,EACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC;AAWD,IAAM,OAAO,OAAO,QALA,uBAAA,OAAA;CAAA,qCAAA;CAAA,oCAAA;CAAA,0CAAA;CAAA,uCAAA;CAAA,qCAAA;CAKQ,CAAW,CAAC,CAAC,QACtC,KAAK,CAAC,MAAM,YAAY;CAEvB,MAAM,WAAW,kBADC,KAAK,MAAM,iBAAiB,CAAC,GAAG,MAAM,EACZ;CAE5C,MAAM,iBAAiB,UAAqB;EAC1C,MAAM,EAAE,MAAM,WAAW,GAAG,SAAS;EACrC,MAAM,gBAAgB,GAAG,aAAa;GAAE;GAAM;EAAU,CAAC,CAAC;EAC1D,OAAO,MAAM,cAAc,OAAO,SAAS;GACzC,GAAG;GACH,WAAW;EACb,CAAC;CACH;CAEA,cAAc,cAAc,QAAQ;CAEpC,IAAI,YAAY;CAChB,OAAO;AACT,GACA,CAAC,CACH;AAIA,IAAa,iBAAiB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"images-DtbFINdz.js","names":[],"sources":["../src/assets/images/facebook-logo.svg?react","../src/assets/images/ghost-logo.svg?react","../src/assets/images/ghost-orb.svg?react","../src/assets/images/google-logo.svg?react","../src/assets/images/x-logo.svg?react","../src/assets/images/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgFacebookLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 40 40\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"social-facebook\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z\",\n\t\t\tfill: \"#1977F3\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z\",\n\t\t\tfill: \"#fff\"\n\t\t})\n\t]\n});\nexport default SvgFacebookLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 770 294\",\n\tstyle: {\n\t\tbackgroundSize: \"100% 100%\",\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\tbackgroundImage: \"url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)\"\n\t},\n\talt: \"Ghost\",\n\t...props\n});\nexport default SvgGhostLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostOrb = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tfill: \"none\",\n\theight: 24,\n\tviewBox: \"0 0 24 24\",\n\twidth: 24,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tclipRule: \"evenodd\",\n\t\td: \"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z\",\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\"\n\t})\n});\nexport default SvgGhostOrb;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgGoogleLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 92 31\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"google\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z\",\n\t\t\tfill: \"#FBBC05\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z\",\n\t\t\tfill: \"#4285F4\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M76.103 1.01v21.903H72.89V1.011h3.213z\",\n\t\t\tfill: \"#34A853\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z\",\n\t\t\tfill: \"#4285F4\"\n\t\t})\n\t]\n});\nexport default SvgGoogleLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgXLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 24 24\",\n\t\"aria-hidden\": \"true\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"g\", { children: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\",\n\t\tfill: \"currentColor\"\n\t}) })\n});\nexport default SvgXLogo;\n","import type { FunctionComponent, SVGProps } from 'react';\nimport FacebookLogoSvg from './facebook-logo.svg?react';\nimport GhostLogoSvg from './ghost-logo.svg?react';\nimport GhostOrbSvg from './ghost-orb.svg?react';\nimport GoogleLogoSvg from './google-logo.svg?react';\nimport XLogoSvg from './x-logo.svg?react';\n\n// Explicit types keep the `?react` asset imports out of the published\n// declarations, where consumers can't resolve them.\ntype Logo = FunctionComponent<SVGProps<SVGSVGElement>>;\n\nexport const FacebookLogo: Logo = FacebookLogoSvg;\nexport const GhostLogo: Logo = GhostLogoSvg;\nexport const GhostOrb: Logo = GhostOrbSvg;\nexport const GoogleLogo: Logo = GoogleLogoSvg;\nexport const XLogo: Logo = XLogoSvg;\n"],"mappings":";;;AAE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ACH,MAAM;CACP,CAAC,EAAE,CAAC;AACL,CAAC;;;ACCD,IAAa,eAAqB;AAClC,IAAa,YAAkB;AAC/B,IAAa,WAAiB;AAC9B,IAAa,aAAmB;AAChC,IAAa,QAAc"}
@@ -1,21 +0,0 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const actionListItemVariants: (props?: ({
4
- hover?: boolean | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare const ActionList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
- interface ActionListItemProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof actionListItemVariants> {
8
- }
9
- declare const ActionListItem: React.ForwardRefExoticComponent<ActionListItemProps & React.RefAttributes<HTMLDivElement>>;
10
- interface ActionListItemContentProps extends React.HTMLAttributes<HTMLDivElement> {
11
- asChild?: boolean;
12
- }
13
- declare const ActionListItemContent: React.ForwardRefExoticComponent<ActionListItemContentProps & React.RefAttributes<HTMLDivElement>>;
14
- declare const actionListItemActionsVariants: (props?: ({
15
- visibility?: "always" | "hover" | null | undefined;
16
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
- interface ActionListItemActionsProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof actionListItemActionsVariants> {
18
- }
19
- declare const ActionListItemActions: React.ForwardRefExoticComponent<ActionListItemActionsProps & React.RefAttributes<HTMLDivElement>>;
20
- export { ActionList, ActionListItem, ActionListItemActions, ActionListItemContent };
21
- //# sourceMappingURL=action-list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/action-list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,sBAAsB;;8EAa3B,CAAC;AAEF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,UAAU,mBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAE9F,QAAA,MAAM,cAAc,4FAInB,CAAC;AAGF,UAAU,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,qBAAqB,mGAQ1B,CAAC;AAGF,QAAA,MAAM,6BAA6B;;8EAWjC,CAAC;AAEH,UAAU,0BACR,SACE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,6BAA6B,CAAC;CAAG;AAEzD,QAAA,MAAM,qBAAqB,mGAQ1B,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,CAAC"}