@agility/plenum-ui 2.1.20-rc6 → 2.1.20-rc8
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/.github/workflows/run_unit_test.yml +1 -1
- package/.github/workflows/type-check.yml +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/tailwind.css +2 -7
- package/dist/types/stories/molecules/inputs/InputLabel/InputLabel.d.ts +1 -0
- package/dist/types/stories/molecules/inputs/checkbox/Checkbox.d.ts +2 -0
- package/dist/types/stories/molecules/inputs/combobox/ComboBox.d.ts +1 -1
- package/dist/types/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.d.ts +1 -2
- package/package.json +1 -1
- package/stories/atoms/buttons/Button/tests/Button.test.tsx +6 -5
- package/stories/atoms/icons/DynamicIcon.tsx +27 -27
- package/stories/atoms/icons/TablerIcon.tsx +11 -10
- package/stories/molecules/inputs/InputLabel/InputLabel.tsx +5 -2
- package/stories/molecules/inputs/checkbox/Checkbox.tsx +11 -2
- package/stories/molecules/inputs/combobox/ComboBox.tsx +39 -39
- package/stories/organisms/DropdownWithMultiSelect/DropdownItems.ts +1 -225
- package/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.stories.tsx +1 -2
- package/stories/organisms/DropdownWithMultiSelect/DropdownWithMultiSelect.tsx +13 -24
- package/stories/organisms/DropdownWithMultiSelect/tests/DropdownWithMultiSelect.test.tsx +69 -0
- package/tsconfig.json +1 -2
- package/vitest.config.js +6 -0
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
- name: Set up Node.js
|
|
20
20
|
uses: actions/setup-node@v3
|
|
21
21
|
with:
|
|
22
|
-
node-version: "
|
|
22
|
+
node-version: "20" # Specify the Node.js version you want
|
|
23
23
|
|
|
24
24
|
- name: Install dependencies
|
|
25
25
|
run: yarn install # Installs dependencies using Yarn
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
- name: Set up Node.js
|
|
20
20
|
uses: actions/setup-node@v3
|
|
21
21
|
with:
|
|
22
|
-
node-version: "
|
|
22
|
+
node-version: "20" # Specify the Node.js version you want
|
|
23
23
|
|
|
24
24
|
- name: Install dependencies
|
|
25
25
|
run: yarn install # Or `npm install` if you're using npm
|
package/dist/index.d.ts
CHANGED
|
@@ -501,6 +501,7 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/InputLabel/InputLabe
|
|
|
501
501
|
isFocused?: boolean;
|
|
502
502
|
label?: string;
|
|
503
503
|
truncateLabel?: boolean;
|
|
504
|
+
fullWidthLabel?: boolean;
|
|
504
505
|
}
|
|
505
506
|
/** Comment */
|
|
506
507
|
const InputLabel: FC<IInputLabelProps>;
|
|
@@ -612,6 +613,8 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/checkbox/Checkbox' {
|
|
|
612
613
|
className?: string;
|
|
613
614
|
/** Truncate label */
|
|
614
615
|
truncateLabel?: boolean;
|
|
616
|
+
/** Full width label */
|
|
617
|
+
fullWidthLabel?: boolean;
|
|
615
618
|
}
|
|
616
619
|
/** Comment */
|
|
617
620
|
const Checkbox: FC<ICheckboxProps>;
|
|
@@ -648,7 +651,7 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/combobox/ComboBox' {
|
|
|
648
651
|
/** Placeholder */
|
|
649
652
|
placeholder?: string;
|
|
650
653
|
/** Callback to trigger on change */
|
|
651
|
-
onChange?(value: T | undefined): void;
|
|
654
|
+
onChange?(value: T | undefined | null): void;
|
|
652
655
|
/** Select disabled state */
|
|
653
656
|
isDisabled?: boolean;
|
|
654
657
|
/** Select error state */
|
|
@@ -1047,9 +1050,8 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownWithMultiSelect/Dro
|
|
|
1047
1050
|
interface Props {
|
|
1048
1051
|
label: string;
|
|
1049
1052
|
options: MultiSelectItemProps[];
|
|
1050
|
-
type: "checkbox" | "radio";
|
|
1051
1053
|
}
|
|
1052
|
-
const DropdownWithMultiSelect: ({ label, options
|
|
1054
|
+
const DropdownWithMultiSelect: ({ label, options }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
1053
1055
|
export default DropdownWithMultiSelect;
|
|
1054
1056
|
|
|
1055
1057
|
}
|