@bcgov/design-system-react-components 0.7.0 → 0.8.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/README.md CHANGED
@@ -66,40 +66,43 @@ export default function App() {
66
66
 
67
67
  ## Component list
68
68
 
69
- | Component | React Aria docs link |
70
- | ----------------------- | ---------------------------------------------- |
71
- | AlertBanner | N/A |
72
- | AlertDialog | N/A |
73
- | Accordion | https://react-aria.adobe.com/Disclosure |
74
- | AccordionGroup | https://react-aria.adobe.com/DisclosureGroup |
75
- | Button | https://react-aria.adobe.com/Button |
76
- | ButtonGroup | N/A |
77
- | Calendar | https://react-aria.adobe.com/Calendar |
78
- | Callout | N/A |
79
- | Checkbox | https://react-aria.adobe.com/Checkbox |
80
- | CheckboxGroup | https://react-aria.adobe.com/CheckboxGroup |
81
- | DatePicker | https://react-aria.adobe.com/DatePicker |
82
- | Dialog | https://react-aria.adobe.com/Dialog |
83
- | Footer | N/A |
84
- | Form | https://react-aria.adobe.com/Form |
85
- | Header | N/A |
86
- | Heading | https://react-spectrum.adobe.com/v3/Heading |
87
- | InlineAlert | N/A |
88
- | Modal | https://react-aria.adobe.com/Modal |
89
- | Link | https://react-spectrum.adobe.com/v3/Link |
90
- | ProgressBar | https://react-aria.adobe.com/ProgressBar |
91
- | ProgressCircle | https://react-aria.adobe.com/ProgressBar |
92
- | RadioGroup, Radio | https://react-aria.adobe.com/RadioGroup |
93
- | Select | https://react-aria.adobe.com/Select |
94
- | Separator | https://react-aria.adobe.com/Separator |
95
- | Switch | https://react-aria.adobe.com/Switch |
96
- | TagGroup, TagList, Tag | https://react-aria.adobe.com/TagGroup |
97
- | Text | https://react-spectrum.adobe.com/v3/Text |
98
- | TextArea, TextField | https://react-aria.adobe.com/TextField |
99
- | TimeField | https://react-aria.adobe.com/TimeField |
100
- | ToggleButton | https://react-aria.adobe.com/ToggleButton |
101
- | ToggleButtonGroup | https://react-aria.adobe.com/ToggleButtonGroup |
102
- | Tooltip, TooltipTrigger | https://react-aria.adobe.com/Tooltip |
69
+ | Component | React Aria docs link |
70
+ | --------------------------------------------------------------------------- | ---------------------------------------------- |
71
+ | AlertBanner | N/A |
72
+ | AlertDialog | N/A |
73
+ | Accordion | https://react-aria.adobe.com/Disclosure |
74
+ | AccordionGroup | https://react-aria.adobe.com/DisclosureGroup |
75
+ | Button | https://react-aria.adobe.com/Button |
76
+ | ButtonGroup | N/A |
77
+ | Calendar | https://react-aria.adobe.com/Calendar |
78
+ | Callout | N/A |
79
+ | Checkbox | https://react-aria.adobe.com/Checkbox |
80
+ | CheckboxGroup | https://react-aria.adobe.com/CheckboxGroup |
81
+ | DatePicker | https://react-aria.adobe.com/DatePicker |
82
+ | Dialog | https://react-aria.adobe.com/Dialog |
83
+ | Footer | N/A |
84
+ | Form | https://react-aria.adobe.com/Form |
85
+ | Header | N/A |
86
+ | Heading | https://react-spectrum.adobe.com/v3/Heading |
87
+ | InlineAlert | N/A |
88
+ | Menu, MenuItem, MenuTrigger, SubmenuTrigger, MenuSection, MenuSectionHeader | https://react-aria.adobe.com/Menu |
89
+ | Modal | https://react-aria.adobe.com/Modal |
90
+ | Link | https://react-spectrum.adobe.com/v3/Link |
91
+ | NumberField | https://react-aria.adobe.com/NumberField |
92
+ | ProgressBar | https://react-aria.adobe.com/ProgressBar |
93
+ | ProgressCircle | https://react-aria.adobe.com/ProgressBar |
94
+ | RadioGroup, Radio | https://react-aria.adobe.com/RadioGroup |
95
+ | Select | https://react-aria.adobe.com/Select |
96
+ | Separator | https://react-aria.adobe.com/Separator |
97
+ | Subheader | N/A |
98
+ | Switch | https://react-aria.adobe.com/Switch |
99
+ | TagGroup, TagList, Tag | https://react-aria.adobe.com/TagGroup |
100
+ | Text | https://react-spectrum.adobe.com/v3/Text |
101
+ | TextArea, TextField | https://react-aria.adobe.com/TextField |
102
+ | TimeField | https://react-aria.adobe.com/TimeField |
103
+ | ToggleButton | https://react-aria.adobe.com/ToggleButton |
104
+ | ToggleButtonGroup | https://react-aria.adobe.com/ToggleButtonGroup |
105
+ | Tooltip, TooltipTrigger | https://react-aria.adobe.com/Tooltip |
103
106
 
104
107
  ## Supported React versions
105
108
 
@@ -123,6 +126,8 @@ This project follows semantic versioning. See [CHANGELOG.md](./CHANGELOG.md) for
123
126
 
124
127
  Components live in `./src/components` and are targeted by the build process with an export in `./src/index.ts`.
125
128
 
129
+ The `*.figma.tsx` files alongside each component are used to map component props to their counterpart properties in Figma via [Code Connect](https://help.figma.com/hc/en-us/articles/23920389749655-Code-Connect).
130
+
126
131
  #### Testing components with Vitest
127
132
 
128
133
  Unit tests can be run with Vitest using `npm run test`. Use `npm run test:watch` to run Vitest in watch mode.