@almadar/ui 4.34.0 → 4.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/avl/index.cjs +1537 -1479
  2. package/dist/avl/index.js +457 -399
  3. package/dist/components/atoms/FilterPill.d.ts +18 -0
  4. package/dist/components/atoms/index.d.ts +1 -0
  5. package/dist/components/index.cjs +4382 -1512
  6. package/dist/components/index.js +3490 -620
  7. package/dist/components/molecules/BranchingLogicBuilder.d.ts +23 -0
  8. package/dist/components/molecules/LikertScale.d.ts +29 -0
  9. package/dist/components/molecules/MapView.d.ts +22 -0
  10. package/dist/components/molecules/MatrixQuestion.d.ts +29 -0
  11. package/dist/components/molecules/OptionConstraintGroup.d.ts +38 -0
  12. package/dist/components/molecules/PositionedCanvas.d.ts +32 -0
  13. package/dist/components/molecules/QrScanner.d.ts +17 -0
  14. package/dist/components/molecules/ReplyTree.d.ts +29 -0
  15. package/dist/components/molecules/RichBlockEditor.d.ts +27 -0
  16. package/dist/components/molecules/VersionDiff.d.ts +44 -0
  17. package/dist/components/molecules/VoteStack.d.ts +23 -0
  18. package/dist/components/molecules/index.d.ts +11 -1
  19. package/dist/components/organisms/MediaGallery.d.ts +1 -1
  20. package/dist/components/templates/DashboardLayout.d.ts +7 -0
  21. package/dist/context/CurrentPagePathContext.d.ts +9 -0
  22. package/dist/context/index.cjs +10 -0
  23. package/dist/context/index.d.ts +1 -0
  24. package/dist/context/index.js +8 -1
  25. package/dist/providers/index.cjs +1146 -1104
  26. package/dist/providers/index.js +414 -372
  27. package/dist/runtime/createClientEffectHandlers.d.ts +9 -1
  28. package/dist/runtime/index.cjs +1203 -1145
  29. package/dist/runtime/index.js +439 -381
  30. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ export type FilterPillVariant = "default" | "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
3
+ export type FilterPillSize = "sm" | "md" | "lg";
4
+ export interface FilterPillProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onClick"> {
5
+ variant?: FilterPillVariant;
6
+ size?: FilterPillSize;
7
+ /** Pill label text (alternative to children for schema-driven rendering). */
8
+ label?: string | number;
9
+ /** Optional icon name (Lucide icon string) or React node */
10
+ icon?: React.ReactNode;
11
+ /** Called when the user clicks the remove (×) button */
12
+ onRemove?: () => void;
13
+ /** Disable the remove button (renders without × control) */
14
+ removable?: boolean;
15
+ /** Click handler for the body of the pill (filter toggle) */
16
+ onClick?: () => void;
17
+ }
18
+ export declare const FilterPill: React.ForwardRefExoticComponent<FilterPillProps & React.RefAttributes<HTMLSpanElement>>;
@@ -6,6 +6,7 @@ export { Select, type SelectProps, type SelectOption } from "./Select";
6
6
  export { Checkbox, type CheckboxProps } from "./Checkbox";
7
7
  export { Card, CardHeader, CardTitle, CardContent, CardBody, CardFooter, type CardProps, } from "./Card";
8
8
  export { Badge, type BadgeProps, type BadgeVariant } from "./Badge";
9
+ export { FilterPill, type FilterPillProps, type FilterPillVariant, type FilterPillSize, } from "./FilterPill";
9
10
  export { Spinner, type SpinnerProps } from "./Spinner";
10
11
  export { Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, } from "./Avatar";
11
12
  export { Box, type BoxProps, type BoxPadding, type BoxMargin, type BoxBg, type BoxRounded, type BoxShadow, } from "./Box";