@boostdev/design-system-components 1.2.8 → 2.1.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.
- package/AGENTS.md +5 -3
- package/README.md +57 -38
- package/dist/client.cjs +52 -50
- package/dist/client.css +537 -524
- package/dist/client.d.cts +31 -1
- package/dist/client.d.ts +31 -1
- package/dist/client.js +52 -50
- package/dist/index.cjs +52 -50
- package/dist/index.css +537 -524
- package/dist/index.d.cts +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +52 -50
- package/dist/native/index.cjs +5 -2
- package/dist/native/index.d.cts +3 -1
- package/dist/native/index.d.ts +3 -1
- package/dist/native/index.js +5 -2
- package/dist/web-components/{chunk-DZRSJGPB.js → chunk-3S42DZ7W.js} +1 -1
- package/dist/web-components/{chunk-3REOIRDW.js → chunk-N3TN6WCH.js} +26 -1
- package/dist/web-components/globals.js +1 -1
- package/dist/web-components/index.js +2 -2
- package/dist/web-components/interaction/bds-button.d.ts +7 -0
- package/dist/web-components/interaction/bds-button.js +1 -1
- package/package.json +3 -3
- package/src/components/interaction/Button/Button.mdx +84 -29
- package/src/components/interaction/Button/Button.module.css +25 -1
- package/src/components/interaction/Button/Button.native.mdx +33 -14
- package/src/components/interaction/Button/Button.native.spec.tsx +20 -0
- package/src/components/interaction/Button/Button.native.stories.tsx +110 -9
- package/src/components/interaction/Button/Button.native.tsx +13 -4
- package/src/components/interaction/Button/Button.spec.tsx +16 -0
- package/src/components/interaction/Button/Button.stories.tsx +134 -16
- package/src/components/interaction/Button/Button.tsx +32 -0
- package/src/components/interaction/Command/Command.module.css +1 -1
- package/src/components/interaction/Dialog/Dialog.module.css +1 -1
- package/src/components/interaction/Dialog/Dialog.native.mdx +2 -2
- package/src/components/interaction/Drawer/Drawer.module.css +1 -1
- package/src/components/interaction/Drawer/Drawer.native.mdx +2 -2
- package/src/components/interaction/DropdownMenu/DropdownMenu.module.css +1 -1
- package/src/components/interaction/DropdownMenu/DropdownMenu.native.mdx +2 -2
- package/src/components/interaction/Popover/Popover.module.css +1 -1
- package/src/components/interaction/Popover/Popover.native.mdx +2 -2
- package/src/components/interaction/Rating/Rating.module.css +1 -1
- package/src/components/interaction/Rating/Rating.native.mdx +1 -1
- package/src/components/interaction/Toast/Toast.module.css +1 -1
- package/src/components/interaction/Toast/Toast.native.mdx +3 -3
- package/src/components/interaction/form/Checkbox/Checkbox.module.css +1 -1
- package/src/components/interaction/form/Checkbox/Checkbox.native.mdx +1 -1
- package/src/components/interaction/form/CheckboxGroup/CheckboxGroup.module.css +1 -1
- package/src/components/interaction/form/CheckboxGroup/CheckboxGroup.native.mdx +1 -1
- package/src/components/interaction/form/Combobox/Combobox.module.css +1 -1
- package/src/components/interaction/form/Combobox/Combobox.native.mdx +1 -1
- package/src/components/interaction/form/FileInput/FileInput.module.css +1 -1
- package/src/components/interaction/form/FileInput/FileInput.native.mdx +1 -1
- package/src/components/interaction/form/FormInput/FormInput.module.css +1 -1
- package/src/components/interaction/form/FormInput/FormInput.native.mdx +1 -1
- package/src/components/interaction/form/NumberInput/NumberInput.module.css +1 -1
- package/src/components/interaction/form/NumberInput/NumberInput.native.mdx +1 -1
- package/src/components/interaction/form/Radio/Radio.module.css +1 -1
- package/src/components/interaction/form/RadioGroup/RadioGroup.module.css +1 -1
- package/src/components/interaction/form/RadioGroup/RadioGroup.native.mdx +1 -1
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.module.css +1 -1
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.native.mdx +1 -1
- package/src/components/interaction/form/Select/Select.module.css +1 -1
- package/src/components/interaction/form/Select/Select.native.mdx +1 -1
- package/src/components/interaction/form/Slider/Slider.module.css +1 -1
- package/src/components/interaction/form/Slider/Slider.native.mdx +1 -1
- package/src/components/interaction/form/Switch/Switch.module.css +1 -1
- package/src/components/interaction/form/Textarea/Textarea.module.css +1 -1
- package/src/components/interaction/form/Textarea/Textarea.native.mdx +1 -1
- package/src/components/interaction/form/atoms/InputContainer.module.css +1 -1
- package/src/components/interaction/form/atoms/Label.module.css +1 -1
- package/src/components/interaction/form/atoms/Message.module.css +1 -1
- package/src/components/layout/ButtonGroup/ButtonGroup.module.css +1 -1
- package/src/components/layout/Card/Card.module.css +1 -1
- package/src/components/layout/IconWrapper/IconWrapper.module.css +1 -1
- package/src/components/layout/IconWrapper/IconWrapper.stories.tsx +46 -14
- package/src/components/layout/SectionHeader/SectionHeader.module.css +1 -1
- package/src/components/ui/Accordion/Accordion.module.css +1 -1
- package/src/components/ui/Accordion/Accordion.native.mdx +1 -1
- package/src/components/ui/Accordion/Accordion.native.stories.tsx +1 -1
- package/src/components/ui/Alert/Alert.module.css +1 -1
- package/src/components/ui/Alert/Alert.native.mdx +1 -1
- package/src/components/ui/Avatar/Avatar.module.css +1 -1
- package/src/components/ui/Avatar/Avatar.native.mdx +1 -1
- package/src/components/ui/Badge/Badge.module.css +1 -1
- package/src/components/ui/Badge/Badge.native.mdx +1 -1
- package/src/components/ui/Breadcrumb/Breadcrumb.module.css +1 -1
- package/src/components/ui/Breadcrumb/Breadcrumb.native.mdx +1 -1
- package/src/components/ui/Calendar/Calendar.module.css +1 -1
- package/src/components/ui/Calendar/Calendar.native.mdx +1 -1
- package/src/components/ui/Carousel/Carousel.module.css +1 -1
- package/src/components/ui/Carousel/Carousel.native.mdx +1 -1
- package/src/components/ui/Collapsible/Collapsible.module.css +1 -1
- package/src/components/ui/Collapsible/Collapsible.native.mdx +1 -1
- package/src/components/ui/DescriptionList/DescriptionList.module.css +1 -1
- package/src/components/ui/DescriptionList/DescriptionList.native.mdx +1 -1
- package/src/components/ui/Link/Link.module.css +1 -1
- package/src/components/ui/Link/Link.native.mdx +1 -1
- package/src/components/ui/Loading/Loading.module.css +1 -1
- package/src/components/ui/NotificationBanner/NotificationBanner.module.css +1 -1
- package/src/components/ui/Pagination/Pagination.module.css +1 -1
- package/src/components/ui/Pagination/Pagination.native.mdx +1 -1
- package/src/components/ui/Progress/Progress.module.css +1 -1
- package/src/components/ui/ProgressCircle/ProgressCircle.module.css +1 -1
- package/src/components/ui/ProgressCircle/ProgressCircle.native.mdx +1 -1
- package/src/components/ui/Separator/Separator.module.css +1 -1
- package/src/components/ui/Skeleton/Skeleton.module.css +1 -1
- package/src/components/ui/SkipLink/SkipLink.module.css +1 -1
- package/src/components/ui/Table/Table.module.css +1 -1
- package/src/components/ui/Table/Table.native.mdx +1 -1
- package/src/components/ui/Tabs/Tabs.module.css +1 -1
- package/src/components/ui/Tabs/Tabs.native.mdx +1 -1
- package/src/components/ui/Tooltip/Tooltip.module.css +1 -1
- package/src/components/ui/Tooltip/Tooltip.native.mdx +1 -1
- package/src/components/ui/Typography/Typography.module.css +1 -1
- package/src/components/ui/Typography/Typography.native.mdx +1 -1
- package/src/css/bdc.css +1 -1
- package/src/css/index.css +1 -1
- package/src/stories/DesignSystem/Borders.mdx +3 -3
- package/src/stories/DesignSystem/Colors.mdx +1 -1
- package/src/stories/DesignSystem/DarkMode.mdx +3 -3
- package/src/stories/DesignSystem/Overview.mdx +16 -5
- package/src/stories/DesignSystem/Typography.mdx +1 -1
- package/src/stories/Introduction.mdx +4 -4
- package/src/stories/ReactNative.mdx +6 -6
- package/src/web-components/globals.ts +1 -1
- package/src/web-components/interaction/BdsAccordion.mdx +3 -3
- package/src/web-components/interaction/BdsAccordion.stories.tsx +1 -1
- package/src/web-components/interaction/BdsButton.mdx +48 -16
- package/src/web-components/interaction/BdsButton.stories.tsx +171 -19
- package/src/web-components/interaction/BdsCollapsible.mdx +2 -2
- package/src/web-components/interaction/BdsDialog.mdx +2 -2
- package/src/web-components/interaction/BdsDrawer.mdx +2 -2
- package/src/web-components/interaction/BdsDropdownMenu.mdx +2 -2
- package/src/web-components/interaction/BdsPopover.mdx +1 -1
- package/src/web-components/interaction/BdsSkipLink.mdx +2 -2
- package/src/web-components/interaction/BdsTabs.mdx +2 -2
- package/src/web-components/interaction/BdsToastProvider.mdx +3 -3
- package/src/web-components/interaction/BdsTooltip.mdx +2 -2
- package/src/web-components/interaction/bds-button.spec.ts +35 -0
- package/src/web-components/interaction/bds-button.ts +28 -1
- package/src/web-components/interaction/form/BdsCheckbox.mdx +1 -1
- package/src/web-components/interaction/form/BdsCheckboxGroup.mdx +1 -1
- package/src/web-components/interaction/form/BdsCombobox.mdx +1 -1
- package/src/web-components/interaction/form/BdsFileInput.mdx +1 -1
- package/src/web-components/interaction/form/BdsFormInput.mdx +1 -1
- package/src/web-components/interaction/form/BdsNumberInput.mdx +1 -1
- package/src/web-components/interaction/form/BdsRadio.mdx +1 -1
- package/src/web-components/interaction/form/BdsRadioGroup.mdx +1 -1
- package/src/web-components/interaction/form/BdsSegmentedControl.mdx +1 -1
- package/src/web-components/interaction/form/BdsSelect.mdx +1 -1
- package/src/web-components/interaction/form/BdsSlider.mdx +1 -1
- package/src/web-components/interaction/form/BdsSwitch.mdx +1 -1
- package/src/web-components/interaction/form/BdsTextarea.mdx +1 -1
- package/src/web-components/ui/BdsAlert.mdx +1 -1
- package/src/web-components/ui/BdsAvatar.mdx +1 -1
- package/src/web-components/ui/BdsBadge.mdx +1 -1
- package/src/web-components/ui/BdsBreadcrumb.mdx +1 -1
- package/src/web-components/ui/BdsButtonGroup.mdx +1 -1
- package/src/web-components/ui/BdsCalendar.mdx +1 -1
- package/src/web-components/ui/BdsCard.mdx +1 -1
- package/src/web-components/ui/BdsCarousel.mdx +1 -1
- package/src/web-components/ui/BdsDescriptionList.mdx +1 -1
- package/src/web-components/ui/BdsIconWrapper.mdx +1 -1
- package/src/web-components/ui/BdsLink.mdx +1 -1
- package/src/web-components/ui/BdsLoading.mdx +1 -1
- package/src/web-components/ui/BdsNotificationBanner.mdx +1 -1
- package/src/web-components/ui/BdsPagination.mdx +1 -1
- package/src/web-components/ui/BdsProgress.mdx +1 -1
- package/src/web-components/ui/BdsProgressCircle.mdx +1 -1
- package/src/web-components/ui/BdsRating.mdx +1 -1
- package/src/web-components/ui/BdsSectionHeader.mdx +1 -1
- package/src/web-components/ui/BdsSeparator.mdx +2 -2
- package/src/web-components/ui/BdsSkeleton.mdx +1 -1
- package/src/web-components/ui/BdsTable.mdx +1 -1
- package/src/web-components/ui/BdsTypography.mdx +1 -1
|
@@ -12,7 +12,7 @@ A text input with a filterable dropdown list. Type to filter options, tap to sel
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Combobox } from '@boostdev/components';
|
|
15
|
+
import { Combobox } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
const options = [
|
|
@@ -12,7 +12,7 @@ A file selection area that displays an upload prompt. In React Native, actual fi
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { FileInput } from '@boostdev/components';
|
|
15
|
+
import { FileInput } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
import * as DocumentPicker from 'expo-document-picker';
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@ Text input field with label, optional hint, and error state. Maps the `type` pro
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { FormInput } from '@boostdev/components';
|
|
15
|
+
import { FormInput } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -12,7 +12,7 @@ Numeric input with stepper buttons on each side. Supports min/max clamping, conf
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { NumberInput } from '@boostdev/components';
|
|
15
|
+
import { NumberInput } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -12,7 +12,7 @@ Groups related radio buttons under a common legend with optional hint and error
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { RadioGroup, Radio } from '@boostdev/components';
|
|
15
|
+
import { RadioGroup, Radio } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -12,7 +12,7 @@ A horizontal control with multiple segments, where each segment acts as a tab. S
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { SegmentedControl } from '@boostdev/components';
|
|
15
|
+
import { SegmentedControl } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -12,7 +12,7 @@ Dropdown-style select component. Renders a trigger button that opens a bottom sh
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Select } from '@boostdev/components';
|
|
15
|
+
import { Select } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
const options = [
|
|
@@ -12,7 +12,7 @@ Range slider with a draggable track, optional value display, and error/hint mess
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Slider } from '@boostdev/components';
|
|
15
|
+
import { Slider } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -12,7 +12,7 @@ Multiline text input with label, optional hint, and error state. Uses a `TextInp
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Textarea } from '@boostdev/components';
|
|
15
|
+
import { Textarea } from '@boostdev/design-system-components';
|
|
16
16
|
import { useState } from 'react';
|
|
17
17
|
|
|
18
18
|
function Example() {
|
|
@@ -1,21 +1,53 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconWrapper } from './IconWrapper';
|
|
2
|
+
import { IconWrapper, type IconWrapperProps } from './IconWrapper';
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const CheckIcon = (
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="currentColor" aria-hidden>
|
|
6
|
+
<path d="M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2-6.85 9.29a1 1 0 0 1-1.43.19l-4.89-3.91a1 1 0 0 1-.15-1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39-.21 1 1 0 0 1 .22 1.41Z"/>
|
|
7
|
+
</svg>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
const StarIcon = (
|
|
11
|
+
<svg viewBox="0 0 24 24" fill="currentColor" width="1em" height="1em" aria-hidden>
|
|
12
|
+
<path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
const HeartIcon = (
|
|
17
|
+
<svg viewBox="0 0 24 24" fill="currentColor" width="1em" height="1em" aria-hidden>
|
|
18
|
+
<path d="M12 21s-7-4.35-7-10a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 19 11c0 5.65-7 10-7 10z" />
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
const iconMap = {
|
|
23
|
+
check: CheckIcon,
|
|
24
|
+
star: StarIcon,
|
|
25
|
+
heart: HeartIcon,
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
type IconKey = keyof typeof iconMap;
|
|
29
|
+
|
|
30
|
+
type IconWrapperStoryArgs = Omit<IconWrapperProps, 'children'> & {
|
|
31
|
+
children?: IconKey;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const meta: Meta<IconWrapperStoryArgs> = {
|
|
5
35
|
title: 'React/Layout/IconWrapper',
|
|
6
36
|
component: IconWrapper,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
children: (
|
|
15
|
-
<svg viewBox="0 0 24 24" fill="currentColor" width="1em" height="1em">
|
|
16
|
-
<path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
|
|
17
|
-
</svg>
|
|
18
|
-
),
|
|
37
|
+
argTypes: {
|
|
38
|
+
children: {
|
|
39
|
+
control: 'select',
|
|
40
|
+
options: Object.keys(iconMap) as IconKey[],
|
|
41
|
+
mapping: iconMap,
|
|
42
|
+
description: 'The icon to render inside the circular wrapper.',
|
|
43
|
+
},
|
|
19
44
|
},
|
|
45
|
+
args: { children: 'star' },
|
|
20
46
|
};
|
|
21
47
|
|
|
48
|
+
export default meta;
|
|
49
|
+
type Story = StoryObj<IconWrapperStoryArgs>;
|
|
50
|
+
|
|
51
|
+
export const Default: Story = {};
|
|
52
|
+
export const Check: Story = { args: { children: 'check' } };
|
|
53
|
+
export const Heart: Story = { args: { children: 'heart' } };
|
|
@@ -17,7 +17,7 @@ type Story = StoryObj<typeof meta>;
|
|
|
17
17
|
|
|
18
18
|
const sampleItems = [
|
|
19
19
|
{ id: '1', title: 'What is this library?', content: <Text>A design system component library built for React, React Native, and Web Components.</Text> },
|
|
20
|
-
{ id: '2', title: 'How do I install it?', content: <Text>Run pnpm add @boostdev/components to add it to your project.</Text> },
|
|
20
|
+
{ id: '2', title: 'How do I install it?', content: <Text>Run pnpm add @boostdev/design-system-components to add it to your project.</Text> },
|
|
21
21
|
{ id: '3', title: 'Is it production ready?', content: <Text>The React components are stable. React Native components are in alpha.</Text> },
|
|
22
22
|
];
|
|
23
23
|
|
|
@@ -12,7 +12,7 @@ React Native alert component for inline status messages. Supports four semantic
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Alert } from '@boostdev/components';
|
|
15
|
+
import { Alert } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Alert variant="success" title="Saved">
|
|
18
18
|
Your changes have been saved successfully.
|
|
@@ -12,7 +12,7 @@ React Native avatar component displaying user initials on a coloured background.
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Avatar } from '@boostdev/components';
|
|
15
|
+
import { Avatar } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Avatar name="John Doe" size="medium" />
|
|
18
18
|
```
|
|
@@ -12,7 +12,7 @@ React Native badge component for short status labels and counts. Five semantic v
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Badge } from '@boostdev/components';
|
|
15
|
+
import { Badge } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Badge variant="success">Active</Badge>
|
|
18
18
|
<Badge variant="error">3</Badge>
|
|
@@ -12,7 +12,7 @@ React Native calendar component for date selection. Renders a month grid with Pr
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Calendar } from '@boostdev/components';
|
|
15
|
+
import { Calendar } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Calendar
|
|
18
18
|
defaultValue={new Date(2026, 3, 15)}
|
|
@@ -12,7 +12,7 @@ React Native carousel component using a horizontally paging ScrollView with dot
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Carousel } from '@boostdev/components';
|
|
15
|
+
import { Carousel } from '@boostdev/design-system-components';
|
|
16
16
|
import { View, Text } from 'react-native';
|
|
17
17
|
|
|
18
18
|
<Carousel
|
|
@@ -12,7 +12,7 @@ React Native collapsible section with an animated chevron and smooth expand/coll
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Collapsible } from '@boostdev/components';
|
|
15
|
+
import { Collapsible } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Collapsible summary="More details">
|
|
18
18
|
<Text>Hidden content revealed on press.</Text>
|
|
@@ -12,7 +12,7 @@ React Native description list for displaying key-value pairs. Each item has a bo
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { DescriptionList } from '@boostdev/components';
|
|
15
|
+
import { DescriptionList } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<DescriptionList
|
|
18
18
|
items={[
|
|
@@ -12,7 +12,7 @@ React Native link component using `Pressable` + `Text`. Opens URLs via `Linking.
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Link } from '@boostdev/components';
|
|
15
|
+
import { Link } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Link href="https://example.com">Visit website</Link>
|
|
18
18
|
<Link onPress={() => navigation.navigate('Settings')}>Settings</Link>
|
|
@@ -12,7 +12,7 @@ React Native pagination component for navigating between pages of content. Shows
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Pagination } from '@boostdev/components';
|
|
15
|
+
import { Pagination } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Pagination
|
|
18
18
|
currentPage={3}
|
|
@@ -12,7 +12,7 @@ React Native circular progress indicator. Displays progress as a ring with an op
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { ProgressCircle } from '@boostdev/components';
|
|
15
|
+
import { ProgressCircle } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<ProgressCircle value={75} label="Upload progress" showValue />
|
|
18
18
|
<ProgressCircle value={50} label="Loading" size="large" />
|
|
@@ -12,7 +12,7 @@ React Native tooltip that appears on long press. Wraps children in a `Pressable`
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Tooltip } from '@boostdev/components';
|
|
15
|
+
import { Tooltip } from '@boostdev/design-system-components';
|
|
16
16
|
import { Text } from 'react-native';
|
|
17
17
|
|
|
18
18
|
<Tooltip content="Helpful information">
|
|
@@ -12,7 +12,7 @@ React Native typography component wrapping `Text` with semantic variants. Use in
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
|
-
import { Typography } from '@boostdev/components';
|
|
15
|
+
import { Typography } from '@boostdev/design-system-components';
|
|
16
16
|
|
|
17
17
|
<Typography variant="h1">Page title</Typography>
|
|
18
18
|
<Typography variant="body">Body copy text.</Typography>
|
package/src/css/bdc.css
CHANGED
package/src/css/index.css
CHANGED