@agility/plenum-ui 2.3.1 → 2.3.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.
- package/.claude/settings.local.json +6 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/tailwind.css +25 -0
- package/dist/types/stories/atoms/Typography/Paragraph/Paragraph.d.ts +2 -2
- package/dist/types/stories/molecules/inputs/select/Select.d.ts +4 -1
- package/package.json +1 -1
- package/stories/atoms/Typography/Paragraph/Paragraph.tsx +3 -3
- package/stories/atoms/icons/TablerIcon.tsx +3 -2
- package/stories/molecules/inputs/select/Select.stories.tsx +8 -2
- package/stories/molecules/inputs/select/Select.tsx +44 -9
- package/stories/organisms/FormInputWithAddons/FormInputWithAddons.stories.tsx +15 -1
- package/stories/organisms/FormInputWithAddons/FormInputWithAddons.tsx +46 -21
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
"permissions": {
|
|
3
3
|
"allow": [
|
|
4
4
|
"Bash(npx tsc:*)",
|
|
5
|
-
"Bash(npx vitest:*)"
|
|
5
|
+
"Bash(npx vitest:*)",
|
|
6
|
+
"Bash(git -C /Users/dereklo/Agility/agility-plenum-ui diff --name-only HEAD)",
|
|
7
|
+
"Bash(git -C /Users/dereklo/Agility/agility-plenum-ui status --short)",
|
|
8
|
+
"Bash(git -C /Users/dereklo/Agility/agility-plenum-ui log --oneline -5)",
|
|
9
|
+
"Bash(git -C /Users/dereklo/Agility/agility-plenum-ui diff main --name-only)",
|
|
10
|
+
"Bash(git -C /Users/dereklo/Agility/agility-plenum-ui checkout main -- stories/molecules/inputs/select/Select.tsx stories/molecules/inputs/select/Select.stories.tsx)"
|
|
6
11
|
]
|
|
7
12
|
}
|
|
8
13
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -106,13 +106,13 @@ declare module '@agility/plenum-ui/stories/atoms/Typography/Label/index' {
|
|
|
106
106
|
declare module '@agility/plenum-ui/stories/atoms/Typography/Paragraph/Paragraph' {
|
|
107
107
|
type ParagraphAs = "span" | "p" | "label" | "strong" | "em";
|
|
108
108
|
type ParagraphSize = "xl" | "lg" | "md" | "sm" | "xs";
|
|
109
|
-
export interface ParagraphProps {
|
|
109
|
+
export interface ParagraphProps extends React.HTMLAttributes<HTMLElement> {
|
|
110
110
|
as?: ParagraphAs;
|
|
111
111
|
size?: ParagraphSize;
|
|
112
112
|
children: React.ReactNode;
|
|
113
113
|
className?: string;
|
|
114
114
|
}
|
|
115
|
-
export default function Paragraph({ as, size, children, className }: ParagraphProps): import("react/jsx-runtime").JSX.Element;
|
|
115
|
+
export default function Paragraph({ as, size, children, className, ...rest }: ParagraphProps): import("react/jsx-runtime").JSX.Element;
|
|
116
116
|
export {};
|
|
117
117
|
|
|
118
118
|
}
|
|
@@ -853,11 +853,13 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/radio/index' {
|
|
|
853
853
|
}
|
|
854
854
|
declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
|
|
855
855
|
import React from "react";
|
|
856
|
+
import { UnifiedIconName } from "@/stories/atoms/icons/DynamicIcon";
|
|
856
857
|
export interface ISimpleSelectOptions {
|
|
857
858
|
label: string;
|
|
858
859
|
value: string;
|
|
859
|
-
|
|
860
|
+
icon?: UnifiedIconName;
|
|
860
861
|
description?: string;
|
|
862
|
+
caption?: string;
|
|
861
863
|
}
|
|
862
864
|
export interface ISelectProps {
|
|
863
865
|
/** Label */
|
|
@@ -884,6 +886,7 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
|
|
|
884
886
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
885
887
|
placeholder?: string;
|
|
886
888
|
dropdownMaxHeight?: number;
|
|
889
|
+
dropdownMaxWidth?: number;
|
|
887
890
|
}
|
|
888
891
|
const Select: React.FC<ISelectProps>;
|
|
889
892
|
export default Select;
|