@photoroom/ui 0.1.2 → 0.1.3

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 (143) hide show
  1. package/components/action/FilterPullDownButton/FilterPullDownButton.d.ts +7 -0
  2. package/components/action/FilterPullDownButton/FilterPullDownButton.d.ts.map +1 -0
  3. package/components/action/FilterPullDownButton/index.d.ts +2 -0
  4. package/components/action/FilterPullDownButton/index.d.ts.map +1 -0
  5. package/components/action/HelpButton/HelpButton.d.ts +4 -1
  6. package/components/action/HelpButton/HelpButton.d.ts.map +1 -1
  7. package/components/action/StandaloneLink/StandaloneLink.d.ts +1 -1
  8. package/components/action/StandaloneLink/StandaloneLink.d.ts.map +1 -1
  9. package/components/action/ValidationBanner/ValidationBanner.d.ts +29 -0
  10. package/components/action/ValidationBanner/ValidationBanner.d.ts.map +1 -0
  11. package/components/action/ValidationBanner/index.d.ts +2 -0
  12. package/components/action/ValidationBanner/index.d.ts.map +1 -0
  13. package/components/collections/ContextMenu/ContextMenu.d.ts +2 -1
  14. package/components/collections/ContextMenu/ContextMenu.d.ts.map +1 -1
  15. package/components/collections/MultiActionWidget/ActionButton.d.ts.map +1 -1
  16. package/components/content/BatchTile/BatchCanvasMenuContent.d.ts +14 -0
  17. package/components/content/BatchTile/BatchCanvasMenuContent.d.ts.map +1 -0
  18. package/components/content/BatchTile/BatchItemMenuContent.d.ts +1 -1
  19. package/components/content/BatchTile/BatchItemMenuContent.d.ts.map +1 -1
  20. package/components/content/BatchTile/BatchTile.d.ts +4 -2
  21. package/components/content/BatchTile/BatchTile.d.ts.map +1 -1
  22. package/components/content/BatchTile/index.d.ts +1 -0
  23. package/components/content/BatchTile/index.d.ts.map +1 -1
  24. package/components/content/EditorialCard/EditorialCard.d.ts +2 -1
  25. package/components/content/EditorialCard/EditorialCard.d.ts.map +1 -1
  26. package/components/content/EditorialCard/styles.d.ts.map +1 -1
  27. package/components/content/PreviewBox/PreviewBox.d.ts +18 -0
  28. package/components/content/PreviewBox/PreviewBox.d.ts.map +1 -0
  29. package/components/content/PreviewBox/index.d.ts +3 -0
  30. package/components/content/PreviewBox/index.d.ts.map +1 -0
  31. package/components/content/StepCard/StepCard.d.ts +1 -2
  32. package/components/content/StepCard/StepCard.d.ts.map +1 -1
  33. package/components/content/Tile/Tile.d.ts +2 -0
  34. package/components/content/Tile/Tile.d.ts.map +1 -1
  35. package/components/content/Tile/TileGrid.d.ts +3 -0
  36. package/components/content/Tile/TileGrid.d.ts.map +1 -0
  37. package/components/content/ToolTile/ToolTile.d.ts +16 -0
  38. package/components/content/ToolTile/ToolTile.d.ts.map +1 -0
  39. package/components/content/ToolTile/index.d.ts +2 -0
  40. package/components/content/ToolTile/index.d.ts.map +1 -0
  41. package/components/dialog/Dialog/Dialog.d.ts +3 -2
  42. package/components/dialog/Dialog/Dialog.d.ts.map +1 -1
  43. package/components/dialog/Dialog/DialogHeadline.d.ts +2 -1
  44. package/components/dialog/Dialog/DialogHeadline.d.ts.map +1 -1
  45. package/components/dialog/SpaceUsageDialog/SpaceUsageDialog.d.ts +20 -0
  46. package/components/dialog/SpaceUsageDialog/SpaceUsageDialog.d.ts.map +1 -0
  47. package/components/dialog/SpaceUsageDialog/index.d.ts +2 -0
  48. package/components/dialog/SpaceUsageDialog/index.d.ts.map +1 -0
  49. package/components/dropdown/SpaceDropdown/SpaceDropdownItem.d.ts.map +1 -1
  50. package/components/editor/ColorPicker/ColorPickerInput/HSLColorInput.d.ts.map +1 -1
  51. package/components/editor/ColorPicker/ColorPickerInput/RGBColorInput.d.ts.map +1 -1
  52. package/components/editor/ZoomPill/ZoomPill.d.ts +11 -0
  53. package/components/editor/ZoomPill/ZoomPill.d.ts.map +1 -0
  54. package/components/editor/ZoomPill/ZoomPillButton.d.ts +4 -0
  55. package/components/editor/ZoomPill/ZoomPillButton.d.ts.map +1 -0
  56. package/components/editor/ZoomPill/index.d.ts +2 -0
  57. package/components/editor/ZoomPill/index.d.ts.map +1 -0
  58. package/components/feed/FeedTile/LazyImage.d.ts +3 -5
  59. package/components/feed/FeedTile/LazyImage.d.ts.map +1 -1
  60. package/components/feed/TextSuggestion/TextSuggestion.d.ts +1 -1
  61. package/components/feed/TextSuggestion/TextSuggestion.d.ts.map +1 -1
  62. package/components/feedback/InfoBar/InfoBar.d.ts +25 -5
  63. package/components/feedback/InfoBar/InfoBar.d.ts.map +1 -1
  64. package/components/index.d.ts +10 -1
  65. package/components/index.d.ts.map +1 -1
  66. package/components/input/Checkbox/Checkbox.d.ts +3 -1
  67. package/components/input/Checkbox/Checkbox.d.ts.map +1 -1
  68. package/components/input/CheckboxField/CheckboxField.d.ts +2 -1
  69. package/components/input/CheckboxField/CheckboxField.d.ts.map +1 -1
  70. package/components/input/DropZone/DropZone.d.ts.map +1 -1
  71. package/components/input/ImageWidget/ImageWidget.d.ts +12 -0
  72. package/components/input/ImageWidget/ImageWidget.d.ts.map +1 -0
  73. package/components/input/ImageWidget/ImageWidgetCloseButton.d.ts +3 -0
  74. package/components/input/ImageWidget/ImageWidgetCloseButton.d.ts.map +1 -0
  75. package/components/input/ImageWidget/index.d.ts +2 -0
  76. package/components/input/ImageWidget/index.d.ts.map +1 -0
  77. package/components/input/LargeOptionTile/LargeOptionTile.d.ts.map +1 -1
  78. package/components/input/NumberField/NumberField.d.ts +6 -0
  79. package/components/input/NumberField/NumberField.d.ts.map +1 -1
  80. package/components/input/OptionTile/OptionTile.d.ts.map +1 -1
  81. package/components/input/PromptInput/PromptInput.d.ts +4 -0
  82. package/components/input/PromptInput/PromptInput.d.ts.map +1 -1
  83. package/components/input/SearchableSelect/SearchableSelect.d.ts +2 -0
  84. package/components/input/SearchableSelect/SearchableSelect.d.ts.map +1 -1
  85. package/components/input/SelectField/SelectField.d.ts +4 -0
  86. package/components/input/SelectField/SelectField.d.ts.map +1 -1
  87. package/components/input/SwitchField/SwitchField.d.ts +5 -2
  88. package/components/input/SwitchField/SwitchField.d.ts.map +1 -1
  89. package/components/input/SwitchField/SwitchFieldIndicator.d.ts +6 -2
  90. package/components/input/SwitchField/SwitchFieldIndicator.d.ts.map +1 -1
  91. package/components/input/SwitchGroup/SwitchGroup.d.ts +1 -1
  92. package/components/input/SwitchGroup/SwitchGroupItem.d.ts +4 -1
  93. package/components/input/SwitchGroup/SwitchGroupItem.d.ts.map +1 -1
  94. package/components/unsorted/FileUploader/useFileUploader.d.ts +2 -1
  95. package/components/unsorted/FileUploader/useFileUploader.d.ts.map +1 -1
  96. package/components/website/Glossary/GlossaryAlphabet.d.ts +13 -0
  97. package/components/website/Glossary/GlossaryAlphabet.d.ts.map +1 -0
  98. package/components/website/Glossary/GlossaryLetterLink.d.ts +5 -0
  99. package/components/website/Glossary/GlossaryLetterLink.d.ts.map +1 -0
  100. package/components/website/Glossary/GlossarySection.d.ts +14 -0
  101. package/components/website/Glossary/GlossarySection.d.ts.map +1 -0
  102. package/components/website/Glossary/GlossaryTermCard.d.ts +10 -0
  103. package/components/website/Glossary/GlossaryTermCard.d.ts.map +1 -0
  104. package/components/website/Glossary/index.d.ts +4 -0
  105. package/components/website/Glossary/index.d.ts.map +1 -0
  106. package/components/website/HeaderBanner/HeaderBanner.d.ts +2 -1
  107. package/components/website/HeaderBanner/HeaderBanner.d.ts.map +1 -1
  108. package/components/website/PressBlock/PressBlock.d.ts +2 -8
  109. package/components/website/PressBlock/PressBlock.d.ts.map +1 -1
  110. package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts +13 -4
  111. package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts.map +1 -1
  112. package/components/website/StatementBlock/StatementBlock.d.ts +9 -0
  113. package/components/website/StatementBlock/StatementBlock.d.ts.map +1 -0
  114. package/components/website/StatementBlock/StatementBlockItem.d.ts +6 -0
  115. package/components/website/StatementBlock/StatementBlockItem.d.ts.map +1 -0
  116. package/components/website/StatementBlock/index.d.ts +2 -0
  117. package/components/website/StatementBlock/index.d.ts.map +1 -0
  118. package/components/website/StepsBlock/StepsBlock.d.ts +4 -3
  119. package/components/website/StepsBlock/StepsBlock.d.ts.map +1 -1
  120. package/components/website/TopicsBlock/TopicsBlock.d.ts +7 -0
  121. package/components/website/TopicsBlock/TopicsBlock.d.ts.map +1 -0
  122. package/components/website/TopicsBlock/TopicsBlockItem.d.ts +7 -0
  123. package/components/website/TopicsBlock/TopicsBlockItem.d.ts.map +1 -0
  124. package/components/website/TopicsBlock/index.d.ts +2 -0
  125. package/components/website/TopicsBlock/index.d.ts.map +1 -0
  126. package/index.lib.d.ts +5 -1
  127. package/index.lib.d.ts.map +1 -1
  128. package/index.mjs +21170 -19969
  129. package/package.json +2 -1
  130. package/plugins/colors.js +2 -0
  131. package/plugins/misc.js +7 -0
  132. package/plugins/spacing.js +15 -0
  133. package/plugins/transitions.js +7 -30
  134. package/style.css +1 -1
  135. package/tailwind.config.js +3 -0
  136. package/components/action/ValidationBannerButton/ValidationBannerButton.d.ts +0 -12
  137. package/components/action/ValidationBannerButton/ValidationBannerButton.d.ts.map +0 -1
  138. package/components/action/ValidationBannerButton/index.d.ts +0 -2
  139. package/components/action/ValidationBannerButton/index.d.ts.map +0 -1
  140. package/components/website/PressBlock/PressBlockItem.d.ts +0 -10
  141. package/components/website/PressBlock/PressBlockItem.d.ts.map +0 -1
  142. package/components/website/PromoBannerBlock/PromoBadge.d.ts +0 -5
  143. package/components/website/PromoBannerBlock/PromoBadge.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ export type FilterPullDownButtonProps = React.ComponentProps<"button"> & {
2
+ label: string;
3
+ activeFilterCount?: number;
4
+ activeFilterCountTestId?: string;
5
+ };
6
+ export declare const FilterPullDownButton: import("react").ForwardRefExoticComponent<Omit<FilterPullDownButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
7
+ //# sourceMappingURL=FilterPullDownButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterPullDownButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/FilterPullDownButton/FilterPullDownButton.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sIAmChC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./FilterPullDownButton";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/action/FilterPullDownButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -1,2 +1,5 @@
1
- export declare const HelpButton: ({ ...props }: React.ComponentPropsWithoutRef<"button">) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const HelpButton: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2
+ disableTooltip?: boolean;
3
+ tooltipContent?: React.ReactNode;
4
+ } & import("react").RefAttributes<HTMLButtonElement>>;
2
5
  //# sourceMappingURL=HelpButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/HelpButton/HelpButton.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,GAAI,cAAc,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,4CAkBhF,CAAC"}
1
+ {"version":3,"file":"HelpButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/HelpButton/HelpButton.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU;qBAJJ,OAAO;qBACP,KAAK,CAAC,SAAS;qDAmCjC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import { ForwardRefComponent } from "../../polymorphic";
3
3
  declare const standaloneLinkVariants: (props?: ({
4
- variant?: "accent" | "primary" | "secondary" | null | undefined;
4
+ variant?: "accent" | "primary" | "secondary" | "on-dark" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  export type StandaloneLinkProps = Readonly<{
7
7
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"StandaloneLink.d.ts","sourceRoot":"","sources":["../../../../src/components/action/StandaloneLink/StandaloneLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,sBAAsB;;mFAgB3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC;CAClE,CAAC,CAAC;AAEH,KAAK,eAAe,GAAG,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,cAAc,EActB,eAAe,CAAC"}
1
+ {"version":3,"file":"StandaloneLink.d.ts","sourceRoot":"","sources":["../../../../src/components/action/StandaloneLink/StandaloneLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,sBAAsB;;mFAkB3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC;CAClE,CAAC,CAAC;AAEH,KAAK,eAAe,GAAG,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,cAAc,EActB,eAAe,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type React from "react";
2
+ import { ButtonProps } from "../Button/Button";
3
+ export type ValidationBannerProps = Readonly<{
4
+ title: string;
5
+ description: React.ReactNode;
6
+ highlightedDescription?: string;
7
+ loading?: boolean;
8
+ disabled?: boolean;
9
+ onClick?: React.MouseEventHandler;
10
+ onClose?: () => void;
11
+ preview?: React.ReactNode;
12
+ previewLabel?: string;
13
+ icon?: ButtonProps["icon"];
14
+ "data-testid"?: string;
15
+ }>;
16
+ export declare const ValidationBanner: React.ForwardRefExoticComponent<Readonly<{
17
+ title: string;
18
+ description: React.ReactNode;
19
+ highlightedDescription?: string;
20
+ loading?: boolean;
21
+ disabled?: boolean;
22
+ onClick?: React.MouseEventHandler;
23
+ onClose?: () => void;
24
+ preview?: React.ReactNode;
25
+ previewLabel?: string;
26
+ icon?: ButtonProps["icon"];
27
+ "data-testid"?: string;
28
+ }> & React.RefAttributes<HTMLButtonElement>>;
29
+ //# sourceMappingURL=ValidationBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ValidationBanner/ValidationBanner.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB;WAbpB,MAAM;iBACA,KAAK,CAAC,SAAS;6BACH,MAAM;cACrB,OAAO;eACN,OAAO;cACR,KAAK,CAAC,iBAAiB;cACvB,MAAM,IAAI;cACV,KAAK,CAAC,SAAS;mBACV,MAAM;WACd,WAAW,CAAC,MAAM,CAAC;oBACV,MAAM;4CAiFvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./ValidationBanner";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ValidationBanner/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -6,9 +6,10 @@ export type ContextMenuProps = Readonly<{
6
6
  withPortal?: boolean;
7
7
  open?: boolean;
8
8
  disabled?: boolean;
9
+ collisionPadding?: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
9
10
  } & RadixContextMenu.ContextMenuProps & React.HTMLAttributes<HTMLDivElement>>;
10
11
  export declare const ContextMenu: {
11
- ({ withPortal, triggerElement, children, className, modal, open: value, disabled, onOpenChange: onValueChange, }: ContextMenuProps): import("react/jsx-runtime").JSX.Element;
12
+ ({ withPortal, triggerElement, children, className, modal, open: value, disabled, collisionPadding, onOpenChange: onValueChange, }: ContextMenuProps): import("react/jsx-runtime").JSX.Element;
12
13
  Item: import("react").ForwardRefExoticComponent<Omit<import("./MenuItem").MenuItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
14
  Sub: ({ triggerProps, children, className, withPortal, open: value, defaultOpen: defaultValue, onOpenChange: onValueChange, ...rest }: import("./SubMenu").SubMenuProps) => import("react/jsx-runtime").JSX.Element;
14
15
  Separator: import("react").ForwardRefExoticComponent<Readonly<Readonly<{
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AAWjE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACrC;IACE,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC,gBAAgB,GACnC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CACvC,CAAC;AAEF,eAAO,MAAM,WAAW;sHASrB,gBAAgB;;;;;;;;CA8BlB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AAWjE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACrC;IACE,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC1F,GAAG,gBAAgB,CAAC,gBAAgB,GACnC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CACvC,CAAC;AAEF,eAAO,MAAM,WAAW;wIAUrB,gBAAgB;;;;;;;;CA+BlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/MultiActionWidget/ActionButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,uBAAuB,GAAG,qBAAqB,GAClD,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1D,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,KAAK,uBAAuB,GAAG,qBAAqB,GAClD,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG;IACnE,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAElF,KAAK,uBAAuB,GAAG,mBAAmB,CAAC,QAAQ,GAAG,GAAG,EAAE,iBAAiB,CAAC,CAAC;AAEtF,eAAO,MAAM,YAAY,EAyDpB,uBAAuB,CAAC"}
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/MultiActionWidget/ActionButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,uBAAuB,GAAG,qBAAqB,GAClD,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1D,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,KAAK,uBAAuB,GAAG,qBAAqB,GAClD,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG;IACnE,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAElF,KAAK,uBAAuB,GAAG,mBAAmB,CAAC,QAAQ,GAAG,GAAG,EAAE,iBAAiB,CAAC,CAAC;AAEtF,eAAO,MAAM,YAAY,EA2DpB,uBAAuB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { ShortcutKey } from "./BatchItemMenuContent";
2
+ type BatchCanvasMenuContentProps = Readonly<{
3
+ onPaste?: () => void;
4
+ onSelectAll?: () => void;
5
+ onZoomIn?: () => void;
6
+ onZoomOut?: () => void;
7
+ isSelectAllDisabled?: boolean;
8
+ isZoomInDisabled?: boolean;
9
+ isZoomOutDisabled?: boolean;
10
+ formatShortcut?: (key: ShortcutKey) => string;
11
+ }>;
12
+ export declare const BatchCanvasMenuContent: ({ onPaste, onSelectAll, onZoomIn, onZoomOut, isSelectAllDisabled, isZoomInDisabled, isZoomOutDisabled, formatShortcut, }: BatchCanvasMenuContentProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=BatchCanvasMenuContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatchCanvasMenuContent.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/BatchCanvasMenuContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAM1D,KAAK,2BAA2B,GAAG,QAAQ,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,MAAM,CAAC;CAC/C,CAAC,CAAC;AAEH,eAAO,MAAM,sBAAsB,GAAI,0HASpC,2BAA2B,4CAyD7B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { BatchItemStatusView } from "@photoroom-engine/web";
2
- export type ShortcutKey = "selectAll" | "duplicate" | "delete" | "copy" | "paste" | "copyEdits" | "pasteEdits";
2
+ export type ShortcutKey = "selectAll" | "duplicate" | "delete" | "copy" | "paste" | "copyEdits" | "pasteEdits" | "zoomIn" | "zoomOut";
3
3
  type BatchItemMenuContentProps<TId extends string = string> = Readonly<{
4
4
  as: "context-menu" | "dropdown-menu";
5
5
  id: TId;
@@ -1 +1 @@
1
- {"version":3,"file":"BatchItemMenuContent.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/BatchItemMenuContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAe5D,MAAM,MAAM,WAAW,GACnB,WAAW,GACX,WAAW,GACX,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,YAAY,CAAC;AAMjB,KAAK,yBAAyB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,IAAI,QAAQ,CAAC;IACrE,EAAE,EAAE,cAAc,GAAG,eAAe,CAAC;IACrC,EAAE,EAAE,GAAG,CAAC;IACR,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,MAAM,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,GAAG,SAAS,MAAM,GAAG,MAAM,EAAE,kQAqB/D,yBAAyB,CAAC,GAAG,CAAC,4CA8NhC,CAAC"}
1
+ {"version":3,"file":"BatchItemMenuContent.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/BatchItemMenuContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAe5D,MAAM,MAAM,WAAW,GACnB,WAAW,GACX,WAAW,GACX,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,YAAY,GACZ,QAAQ,GACR,SAAS,CAAC;AAMd,KAAK,yBAAyB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,IAAI,QAAQ,CAAC;IACrE,EAAE,EAAE,cAAc,GAAG,eAAe,CAAC;IACrC,EAAE,EAAE,GAAG,CAAC;IACR,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,MAAM,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,GAAG,SAAS,MAAM,GAAG,MAAM,EAAE,kQAqB/D,yBAAyB,CAAC,GAAG,CAAC,4CA8NhC,CAAC"}
@@ -4,20 +4,22 @@ import { type ShortcutKey } from "./BatchItemMenuContent";
4
4
  declare const containerCva: (props?: ({
5
5
  isSelected?: boolean | null | undefined;
6
6
  autoRatio?: boolean | null | undefined;
7
+ isDragSelecting?: boolean | null | undefined;
7
8
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
8
9
  type ContainerVariants = VariantProps<typeof containerCva>;
9
10
  export type BatchTileProps<TId extends string = string> = ContainerVariants & {
10
11
  id: TId;
11
12
  src: string;
12
13
  fileName: string;
14
+ name?: string;
13
15
  status?: BatchItemStatusView;
14
16
  isLoading?: boolean;
15
17
  hasError?: boolean;
16
- isDragSelecting?: boolean;
17
18
  onSelect: (id: TId, e: React.MouseEvent) => void;
18
19
  onClick: (id: TId) => void;
19
20
  onDelete: (id: TId) => void;
20
21
  onDuplicate: (id: TId) => void;
22
+ onRename?: (id: TId, newName: string) => void;
21
23
  onSaveAsTemplate?: (id: TId) => void;
22
24
  onRefresh?: (id: TId) => void;
23
25
  onSelectAll?: () => void;
@@ -32,7 +34,7 @@ export type BatchTileProps<TId extends string = string> = ContainerVariants & {
32
34
  isPasteEditsDisabled?: boolean;
33
35
  hideOverlayActions?: boolean;
34
36
  } & Omit<React.ComponentPropsWithoutRef<"div">, "onClick" | "onSelect">;
35
- declare const BatchTileInner: <TId extends string = string>({ id, src, fileName, status, isLoading, hasError, isSelected, autoRatio, isDragSelecting, onSelect, onClick, onDelete, onDuplicate, onSaveAsTemplate, onRefresh, onSelectAll, onDownload, isSelectAllDisabled, formatShortcut, downloadLabel, onCopy, onPaste, onCopyEdits, onPasteEdits, isPasteEditsDisabled, hideOverlayActions, className, ...props }: BatchTileProps<TId>, ref: React.ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
37
+ declare const BatchTileInner: <TId extends string = string>({ id, src, fileName, name, status, isLoading, hasError, isSelected, autoRatio, isDragSelecting, onSelect, onClick, onDelete, onDuplicate, onRename, onSaveAsTemplate, onRefresh, onSelectAll, onDownload, isSelectAllDisabled, formatShortcut, downloadLabel, onCopy, onPaste, onCopyEdits, onPasteEdits, isPasteEditsDisabled, hideOverlayActions, className, style, ...restProps }: BatchTileProps<TId>, ref: React.ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
36
38
  export declare const BatchTile: (<TId extends string = string>(props: BatchTileProps<TId> & {
37
39
  ref?: React.ForwardedRef<HTMLDivElement>;
38
40
  }) => ReturnType<typeof BatchTileInner>) & {
@@ -1 +1 @@
1
- {"version":3,"file":"BatchTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/BatchTile.tsx"],"names":[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AY,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAExE,QAAA,MAAM,cAAc,GAAI,GAAG,SAAS,MAAM,GAAG,MAAM,EACjD,sXAgCG,cAAc,CAAC,GAAG,CAAC,EACtB,KAAK,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,4CAgRxC,CAAC;AAGF,eAAO,MAAM,SAAS,EAAiC,CAAC,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,EAClF,KAAK,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAA;CAAE,KACtE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export { BatchTile } from "./BatchTile";
2
2
  export type { BatchTileProps } from "./BatchTile";
3
3
  export { BatchItemMenuContent } from "./BatchItemMenuContent";
4
+ export { BatchCanvasMenuContent } from "./BatchCanvasMenuContent";
4
5
  export type { ShortcutKey } from "./BatchItemMenuContent";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
@@ -7,6 +7,7 @@ export type EditorialCardProps = Readonly<{
7
7
  description?: string;
8
8
  authorName?: string;
9
9
  authorAvatar?: React.ReactNode;
10
+ border?: boolean;
10
11
  }> & EditorialCardCvaProps;
11
- export declare const EditorialCard: ({ image, cardLink, categoryLink, direction, title, description, authorName, authorAvatar, ...rest }: EditorialCardProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const EditorialCard: ({ image, cardLink, categoryLink, direction, title, description, authorName, authorAvatar, border, ...rest }: EditorialCardProps) => import("react/jsx-runtime").JSX.Element;
12
13
  //# sourceMappingURL=EditorialCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorialCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/EditorialCard/EditorialCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,EAWtB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC,GACA,qBAAqB,CAAC;AAExB,eAAO,MAAM,aAAa,GAAI,qGAU3B,kBAAkB,4CAyEpB,CAAC"}
1
+ {"version":3,"file":"EditorialCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/EditorialCard/EditorialCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,EAWtB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,GACA,qBAAqB,CAAC;AAExB,eAAO,MAAM,aAAa,GAAI,6GAW3B,kBAAkB,4CA6EpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/EditorialCard/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,gBAAgB;;mFAU3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;mFAe/B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;mFAUlC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;mFAmBxC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;mFAiBjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;mFAehC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;mFAUtC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;mFAUjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;mFAUrC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;mFAaxC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/EditorialCard/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,gBAAgB;;mFAU3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;mFAe/B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;mFAUlC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;mFAmBxC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;mFAkBjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;mFAehC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;mFAUtC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;mFAUjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;mFAUrC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;mFAaxC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type React from "react";
2
+ import type { ReactNode } from "react";
3
+ export type PreviewBoxProps = Readonly<{
4
+ src?: string;
5
+ alt?: string;
6
+ loading?: boolean;
7
+ transparent?: boolean;
8
+ children?: ReactNode;
9
+ imgRef?: React.Ref<HTMLImageElement>;
10
+ onImageLoad?: () => void;
11
+ className?: string;
12
+ "data-testid"?: string;
13
+ }>;
14
+ export declare const PreviewBox: {
15
+ ({ src, alt, loading, transparent, children, imgRef, onImageLoad, className, "data-testid": dataTestId, }: PreviewBoxProps): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ //# sourceMappingURL=PreviewBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewBox.d.ts","sourceRoot":"","sources":["../../../../src/components/content/PreviewBox/PreviewBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC,CAAC;AAgDH,eAAO,MAAM,UAAU;+GAUpB,eAAe;;CA0BjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PreviewBox } from "./PreviewBox";
2
+ export type { PreviewBoxProps } from "./PreviewBox";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/PreviewBox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export type StepCardProps = Readonly<{
2
2
  title: string;
3
3
  badgeTitle?: string;
4
- cta?: React.ReactElement;
5
4
  }> & React.ComponentProps<"div">;
6
- export declare const StepCard: ({ badgeTitle, title, children, className, cta, ...rest }: StepCardProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const StepCard: ({ badgeTitle, title, children, className, ...rest }: StepCardProps) => import("react/jsx-runtime").JSX.Element;
7
6
  //# sourceMappingURL=StepCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/StepCard/StepCard.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC1B,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,0DAOtB,aAAa,4CA6Bf,CAAC"}
1
+ {"version":3,"file":"StepCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/StepCard/StepCard.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,qDAAqD,aAAa,4CAiB1F,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { ForwardRefComponent } from "../../polymorphic";
2
2
  import { TileFont } from "./TileFont";
3
+ import { TileGrid } from "./TileGrid";
3
4
  import { TileIcon } from "./TileIcon";
4
5
  import { TileMoreMenu } from "./TileMoreMenu";
5
6
  import { TilePreview } from "./TilePreview";
@@ -21,6 +22,7 @@ export type TileProps = Readonly<{
21
22
  }>;
22
23
  type PolymorphicTile = ForwardRefComponent<"button", TileProps> & {
23
24
  Font: typeof TileFont;
25
+ Grid: typeof TileGrid;
24
26
  Icon: typeof TileIcon;
25
27
  MoreMenu: typeof TileMoreMenu;
26
28
  Preview: typeof TilePreview;
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/Tile/Tile.tsx"],"names":[],"mappings":"AAIA,OAAO,E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AC,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC,CAAC;AAEH,KAAK,eAAe,GAAG,mBAAmB,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG;IAChE,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,QAAQ,EAAE,OAAO,YAAY,CAAC;IAC9B,OAAO,EAAE,OAAO,WAAW,CAAC;IAC5B,UAAU,EAAE,OAAO,cAAc,CAAC;IAClC,QAAQ,EAAE,OAAO,YAAY,CAAC;IAC9B,IAAI,EAAE,OAAO,QAAQ,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAkGZ,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type TileGridProps = React.ComponentPropsWithoutRef<"div">;
2
+ export declare function TileGrid({ children, className, ...rest }: TileGridProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=TileGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/content/Tile/TileGrid.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAElE,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,2CAMvE"}
@@ -0,0 +1,16 @@
1
+ import { VariantProps } from "class-variance-authority";
2
+ import { type ComponentType, type ComponentPropsWithoutRef } from "react";
3
+ declare const toolTileCva: (props?: ({
4
+ variant?: "accent" | "default" | null | undefined;
5
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
+ type ToolTileCvaProps = VariantProps<typeof toolTileCva>;
7
+ export type ToolTileProps = {
8
+ label: string;
9
+ icon: ComponentType<ComponentPropsWithoutRef<"svg">>;
10
+ badgeLabel?: string;
11
+ className?: string;
12
+ onClick: () => void;
13
+ } & Omit<ComponentPropsWithoutRef<"button">, "children" | "onClick"> & ToolTileCvaProps;
14
+ export declare const ToolTile: ({ label, icon: Icon, badgeLabel, variant, className, onClick, ...rest }: ToolTileProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=ToolTile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ToolTile/ToolTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAK1E,QAAA,MAAM,WAAW;;mFAehB,CAAC;AAEF,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAClE,gBAAgB,CAAC;AAEnB,eAAO,MAAM,QAAQ,GAAI,yEAQtB,aAAa,4CAmCf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./ToolTile";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ToolTile/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -18,12 +18,13 @@ export type DialogProps = Readonly<{
18
18
  onOpen?: () => void;
19
19
  onClose?: () => void;
20
20
  onCloseAutoFocus?: () => void;
21
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
21
22
  } & Omit<RadixDialog.DialogProps, "defaultOpen"> & VariantProps<typeof contentVariants>>;
22
23
  export declare const Dialog: {
23
- ({ open, closeable, withPortal, testId, children, dialogClassName, className, triggerElement, initialFocus, layout, onOpen, onClose, onCloseAutoFocus, }: DialogProps): import("react/jsx-runtime").JSX.Element;
24
+ ({ open, closeable, withPortal, testId, children, dialogClassName, className, triggerElement, initialFocus, layout, onOpen, onClose, onCloseAutoFocus, onEscapeKeyDown, }: DialogProps): import("react/jsx-runtime").JSX.Element;
24
25
  Body: ({ children, className }: import("./DialogBody").DialogBodyProps) => import("react/jsx-runtime").JSX.Element;
25
26
  Header: ({ children }: import("./DialogHeader").DialogHeaderProps) => import("react/jsx-runtime").JSX.Element;
26
- Headline: ({ overline, title, titleClassName, description, descriptionClassName, emphasized, centered, }: import("./DialogHeadline").DialogHeadlineProps) => import("react/jsx-runtime").JSX.Element;
27
+ Headline: ({ overline, title, titleClassName, description, descriptionClassName, emphasized, centered, size, }: import("./DialogHeadline").DialogHeadlineProps) => import("react/jsx-runtime").JSX.Element;
27
28
  ButtonsRow: ({ variant, children }: Readonly<{
28
29
  children: React.ReactNode;
29
30
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAW7D,eAAO,MAAM,eAAe;;mFAsB3B,CAAC;AAGF,eAAO,MAAM,eAAe;;mFAgC3B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAChC;IACE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC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,GAAG,IAAI,CAAC,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAClD,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC,GAC9C,YAAY,CAAC,OAAO,eAAe,CAAC,CACvC,CAAC;AAEF,eAAO,MAAM,MAAM;+KAehB,WAAW;;;;;;;;;;;;CA6Db,CAAC"}
@@ -6,6 +6,7 @@ export type DialogHeadlineProps = Readonly<{
6
6
  descriptionClassName?: string;
7
7
  emphasized?: boolean;
8
8
  centered?: boolean;
9
+ size?: "medium" | "large";
9
10
  }>;
10
- export declare const DialogHeadline: ({ overline, title, titleClassName, description, descriptionClassName, emphasized, centered, }: DialogHeadlineProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const DialogHeadline: ({ overline, title, titleClassName, description, descriptionClassName, emphasized, centered, size, }: DialogHeadlineProps) => import("react/jsx-runtime").JSX.Element;
11
12
  //# sourceMappingURL=DialogHeadline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogHeadline.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog/DialogHeadline.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,+FAQ5B,mBAAmB,4CA8BrB,CAAC"}
1
+ {"version":3,"file":"DialogHeadline.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog/DialogHeadline.tsx"],"names":[],"mappings":"AA8DA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC3B,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,qGAS5B,mBAAmB,4CAoBrB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { LimitGaugeProps } from "../../status/LimitGauge";
2
+ export type SpaceUsageDialogSegment = Omit<LimitGaugeProps["segments"][number], "label"> & {
3
+ /** Label displayed in the info row and used as the accessible label for the gauge segment */
4
+ label: string;
5
+ /** Usage text displayed in the info row (e.g. "82% used", "1000/5000 used") */
6
+ usage: React.ReactNode;
7
+ };
8
+ export type SpaceUsageDialogProps = Readonly<{
9
+ open: boolean;
10
+ onClose: () => void;
11
+ title: React.ReactNode;
12
+ segments: SpaceUsageDialogSegment[];
13
+ footer?: React.ReactNode;
14
+ /** Action buttons rendered in the button row */
15
+ children: React.ReactNode;
16
+ dialogClassName?: string;
17
+ testId?: string;
18
+ }>;
19
+ export declare const SpaceUsageDialog: ({ open, onClose, title, segments, footer, children, dialogClassName, testId, }: SpaceUsageDialogProps) => import("react/jsx-runtime").JSX.Element | null;
20
+ //# sourceMappingURL=SpaceUsageDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceUsageDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/SpaceUsageDialog/SpaceUsageDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAGtE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG;IACzF,6FAA6F;IAC7F,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,gDAAgD;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAGH,eAAO,MAAM,gBAAgB,GAAI,gFAS9B,qBAAqB,mDA0CvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./SpaceUsageDialog";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/SpaceUsageDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceDropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/SpaceDropdown/SpaceDropdownItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GACjE,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CACb,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,UAAU,GAAG,aAAa,GAAG,OAAO,GAAG,aAAa,CAAC,CACxF,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC,CAAC;AAEL,eAAO,MAAM,iBAAiB,mIAoC7B,CAAC"}
1
+ {"version":3,"file":"SpaceDropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/SpaceDropdown/SpaceDropdownItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GACjE,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CACb,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,UAAU,GAAG,aAAa,GAAG,OAAO,GAAG,aAAa,CAAC,CACxF,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC,CAAC;AAEL,eAAO,MAAM,iBAAiB,mIAsC7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HSLColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/ColorPicker/ColorPickerInput/HSLColorInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAa3C,eAAO,MAAM,aAAa,GAAI,4BAA4B,eAAe,4CA+GxE,CAAC"}
1
+ {"version":3,"file":"HSLColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/ColorPicker/ColorPickerInput/HSLColorInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,eAAO,MAAM,aAAa,GAAI,4BAA4B,eAAe,4CA4CxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RGBColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/ColorPicker/ColorPickerInput/RGBColorInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQ3C,eAAO,MAAM,aAAa,GAAI,4BAA4B,eAAe,4CAqHxE,CAAC"}
1
+ {"version":3,"file":"RGBColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/ColorPicker/ColorPickerInput/RGBColorInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,eAAO,MAAM,aAAa,GAAI,4BAA4B,eAAe,4CA4CxE,CAAC"}
@@ -0,0 +1,11 @@
1
+ export type ZoomPillProps = React.ComponentProps<"div">;
2
+ export declare const ZoomPill: {
3
+ ({ className, ...props }: ZoomPillProps): import("react/jsx-runtime").JSX.Element;
4
+ MinusButton: import("react").ForwardRefExoticComponent<Omit<import("./ZoomPillButton").ZoomPillButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ PlusButton: import("react").ForwardRefExoticComponent<Omit<import("./ZoomPillButton").ZoomPillButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ Divider: {
7
+ (): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ };
11
+ //# sourceMappingURL=ZoomPill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomPill.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ZoomPill/ZoomPill.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAExD,eAAO,MAAM,QAAQ;8BAA6B,aAAa;;;;;;;CAa9D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type ZoomPillButtonProps = Omit<React.ComponentProps<"button">, "children">;
2
+ export declare const ZoomPillMinusButton: import("react").ForwardRefExoticComponent<Omit<ZoomPillButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export declare const ZoomPillPlusButton: import("react").ForwardRefExoticComponent<Omit<ZoomPillButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
4
+ //# sourceMappingURL=ZoomPillButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomPillButton.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ZoomPill/ZoomPillButton.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;AA0CnF,eAAO,MAAM,mBAAmB,gIAI/B,CAAC;AACF,eAAO,MAAM,kBAAkB,gIAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./ZoomPill";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ZoomPill/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,8 +1,6 @@
1
- import { ComponentPropsWithoutRef } from "react";
2
- type LazyImageProps = ComponentPropsWithoutRef<"img"> & {
1
+ export declare const LazyImage: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
3
2
  fadeInDuration?: number;
4
3
  eagerLoad?: boolean;
5
- };
6
- export declare const LazyImage: ({ fadeInDuration, className, style, onLoad, eagerLoad, ...props }: LazyImageProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
4
+ imgClassName?: string;
5
+ } & import("react").RefAttributes<HTMLImageElement>>;
8
6
  //# sourceMappingURL=LazyImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LazyImage.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/FeedTile/LazyImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA4B,MAAM,OAAO,CAAC;AAG3E,KAAK,cAAc,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,mEAOvB,cAAc,4CA4BhB,CAAC"}
1
+ {"version":3,"file":"LazyImage.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/FeedTile/LazyImage.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;qBALH,MAAM;gBACX,OAAO;mBACJ,MAAM;oDAsCtB,CAAC"}
@@ -4,6 +4,6 @@ type TextSuggestionProps = {
4
4
  variant?: "filled" | "outline";
5
5
  icon?: ReactNode;
6
6
  } & ComponentProps<"button">;
7
- export declare const TextSuggestion: ({ label, variant, icon, className, ...props }: TextSuggestionProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const TextSuggestion: import("react").ForwardRefExoticComponent<Omit<TextSuggestionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
8
8
  export {};
9
9
  //# sourceMappingURL=TextSuggestion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextSuggestion.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/TextSuggestion/TextSuggestion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE7B,eAAO,MAAM,cAAc,GAAI,+CAM5B,mBAAmB,4CAqCrB,CAAC"}
1
+ {"version":3,"file":"TextSuggestion.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/TextSuggestion/TextSuggestion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAE9D,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE7B,eAAO,MAAM,cAAc,gIAwC1B,CAAC"}
@@ -1,13 +1,33 @@
1
- type InfoBarType = "default" | "warning" | "critical";
2
- export type InfoBarProps = {
1
+ type InfoBarType = "default" | "warning" | "critical" | "accent";
2
+ type InfoBarSize = "medium" | "large";
3
+ export type InfoBarBaseProps = {
3
4
  type?: InfoBarType;
5
+ size?: InfoBarSize;
6
+ roundedCorners?: boolean;
7
+ badge?: React.ReactNode;
4
8
  className?: string;
5
9
  label: React.ReactNode;
6
- link?: {
10
+ onDismiss?: () => void;
11
+ } & React.HTMLAttributes<HTMLDivElement>;
12
+ type InfoBarWithLink = InfoBarBaseProps & {
13
+ link: {
7
14
  label: string;
8
15
  href: string;
9
16
  };
10
- } & React.HTMLAttributes<HTMLDivElement>;
11
- export declare const InfoBar: ({ type, className, label, link, ...props }: InfoBarProps) => import("react/jsx-runtime").JSX.Element;
17
+ button?: never;
18
+ };
19
+ type InfoBarWithButton = InfoBarBaseProps & {
20
+ button: {
21
+ label: string;
22
+ onClick: () => void;
23
+ };
24
+ link?: never;
25
+ };
26
+ type InfoBarWithoutAction = InfoBarBaseProps & {
27
+ link?: never;
28
+ button?: never;
29
+ };
30
+ export type InfoBarProps = InfoBarWithLink | InfoBarWithButton | InfoBarWithoutAction;
31
+ export declare const InfoBar: ({ type, size, roundedCorners, badge, className, label, link, button, onDismiss, ...props }: InfoBarProps) => import("react/jsx-runtime").JSX.Element;
12
32
  export {};
13
33
  //# sourceMappingURL=InfoBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoBar.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/InfoBar/InfoBar.tsx"],"names":[],"mappings":"AAMA,KAAK,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AA2BzC,eAAO,MAAM,OAAO,GAAI,4CAAwD,YAAY,4CA+B3F,CAAC"}
1
+ {"version":3,"file":"InfoBar.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/InfoBar/InfoBar.tsx"],"names":[],"mappings":"AAQA,KAAK,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AACjE,KAAK,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAA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