@bcgov/design-system-react-components 0.1.2-rc1 → 0.1.3-pr448

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcgov/design-system-react-components",
3
- "version": "0.1.2-rc1",
3
+ "version": "0.1.3-pr448",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",
@@ -1,15 +0,0 @@
1
- import { ListBoxItemProps as ReactAriaListBoxItemProps } from "react-aria-components";
2
- import "./ListBoxItem.css";
3
- export interface ListBoxItemProps extends ReactAriaListBoxItemProps {
4
- /** Text label for the option. Provide an `id` if this is not unique. */
5
- label: string;
6
- /** Descriptive text that appears below the option's label */
7
- description?: string;
8
- /** Marks an option visually with red text to indicate a destructive/dangerous option */
9
- isDestructive?: boolean;
10
- /** Left icon slot */
11
- iconLeft?: React.ReactElement;
12
- /** Right icon slot */
13
- iconRight?: React.ReactElement;
14
- }
15
- export default function ListBoxItem({ id, description, href, label, iconLeft, iconRight, isDestructive, }: ListBoxItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import { ListBoxItemProps as ReactAriaListBoxItemProps } from "react-aria-components";
2
- import "./ListBoxItem.css";
3
- export interface ListBoxItemProps extends ReactAriaListBoxItemProps {
4
- /** Text label for the option. Provide an `id` if this is not unique. */
5
- label: string;
6
- /** Descriptive text that appears below the option's label */
7
- description?: string;
8
- /** Marks an option visually with red text to indicate a destructive/dangerous option */
9
- isDestructive?: boolean;
10
- /** Left icon slot */
11
- iconLeft?: React.ReactElement;
12
- /** Right icon slot */
13
- iconRight?: React.ReactElement;
14
- }
15
- export default function ListBoxItem({ id, description, href, label, iconLeft, iconRight, isDestructive, }: ListBoxItemProps): import("react/jsx-runtime").JSX.Element;