@capra/core 1.11.1 β 1.13.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/dist/index.cjs +523 -130
- package/dist/index.d.cts +147 -21
- package/dist/index.d.mts +147 -21
- package/dist/index.mjs +527 -135
- package/dist/style.css +550 -236
- package/docs/core-autocompletefield--usage.md +1 -1
- package/docs/core-menu--usage.md +1 -1
- package/docs/core-selectfield--design.md +66 -0
- package/docs/core-selectfield--usage.md +145 -0
- package/docs/core-tabnav--design.md +2 -0
- package/docs/core-tabnav--usage.md +21 -3
- package/docs/history-changelogs-capra-core--docs.md +26 -0
- package/docs/index.md +2 -0
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ AutocompleteField combines a text field with a suggestions list. Consumers can s
|
|
|
5
5
|
| Prop | Type | Required | Default | Description |
|
|
6
6
|
| --- | --- | --- | --- | --- |
|
|
7
7
|
| `canClear` | `boolean` | No | `--` | Whether to show a clear button for the input. |
|
|
8
|
-
| `children` | `
|
|
8
|
+
| `children` | `ChildrenOrFunction` | No | `--` | The children to render in the dropdown. |
|
|
9
9
|
| `itemFilter` | `(textValue: string, inputValue: string) => boolean` | No | `--` | A function that filters the items based on the input value. |
|
|
10
10
|
| `onChange` | `(value: string) => void` | No | `--` | A callback function that is called when the input value changes. |
|
|
11
11
|
| `onOpenChange` | `(isOpen: boolean) => void` | No | `--` | A callback function that is called when the dropdown is opened or closed. |
|
package/docs/core-menu--usage.md
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
| `itemActiveAccentBar` | `boolean` | No | true | When `itemHoverAppearance` is `accent`, whether the active/selected row shows the inline-end accent bar (vertical TabNav indicator). Set to `false` for horizontal TabNav flyout menus where selection should not show that bar.<br>@default true |
|
|
15
15
|
| `itemActiveLabelSemibold` | `boolean` | No | true | When `itemHoverAppearance` is `accent`, whether the active/selected row uses a semibold label. Set to `false` for TabNav horizontal submenus where the active item should match normal menu weight.<br>@default true |
|
|
16
16
|
| `panelPadding` | `'default' \| 'none'` | No | 'default' | Inset of the menu panel (`role="menu"`). `none` uses a minimal inset so focus rings are not clipped under scroll/overflow; use for flyouts that should sit close to the popover edge (e.g. TabNav submenu).<br>@default 'default' |
|
|
17
|
-
| `popoverOffset` | `number` | No |
|
|
17
|
+
| `popoverOffset` | `number` | No | 2 | Gap along the main axis between the trigger and the menu panel (React Aria `Popover` `offset`).<br>Defaults to 2px to match `spacing.xs`; `Popover` positioning takes a number, so the token cannot be applied via CSS.<br>Use a smaller value (e.g. 1) when the panel should clear a trigger underline/border (e.g. horizontal TabNav).<br>@default 2 |
|
|
18
18
|
| `trapFocus` | `boolean` | No | false | When `true`, focus is contained in the menu panel while it is open (Tab cycles within the panel; focus restores on close).<br>The popover stays non-modal so outside pointer dismiss still works. Use for patterns that must not move focus to sibling controls until the menu closes (e.g. horizontal TabNav flyouts).<br>@default false |
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Core/SelectField - Design
|
|
2
|
+
|
|
3
|
+
## Anatomy
|
|
4
|
+
|
|
5
|
+
1. **Label**: describes the field and carries the required marker when needed.
|
|
6
|
+
2. **Trigger**: matches Capra text-input sizing and state treatments.
|
|
7
|
+
3. **Popover**: contains the option list and optional search field.
|
|
8
|
+
4. **ListBox items**: support single-select rows or multi-select rows with checkmarks.
|
|
9
|
+
5. **Sections**: optional grouped options with a non-selectable header label.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### Layout
|
|
14
|
+
|
|
15
|
+
Use `layout="vertical"` by default. Use `layout="horizontal"` only when space is constrained.
|
|
16
|
+
|
|
17
|
+
### Multiple Selection
|
|
18
|
+
|
|
19
|
+
For multi-select fields, selected options appear as removable tags inside the trigger. Tags wrap onto additional lines when they exceed the field width, and selected rows show a checkmark in the popover.
|
|
20
|
+
|
|
21
|
+
### Search
|
|
22
|
+
|
|
23
|
+
Enable `canSearch` for longer option lists. Search filters the visible options inside the popover without changing the trigger layout. When nothing matches, the popover shows "No results" so the list never appears empty.
|
|
24
|
+
|
|
25
|
+
### Sections
|
|
26
|
+
|
|
27
|
+
Larger option lists can be organized into smaller groups using sections. Each section has a header to label the grouping. Pass `items` with nested `children` to build sections from data, or wrap static options in `SelectField.Section` with a `SelectField.Header`.
|
|
28
|
+
|
|
29
|
+
## States
|
|
30
|
+
|
|
31
|
+
* Match the standard input states: default, hover, focus, disabled, placeholder, warning, and danger.
|
|
32
|
+
* `appearance="danger"` drives the invalid visual state and helper text treatment.
|
|
33
|
+
* Small and medium sizes align with `TextInput`.
|
|
34
|
+
|
|
35
|
+
## Behavior
|
|
36
|
+
|
|
37
|
+
* Use `SelectField` for fixed option sets, especially when the option count is greater than about five.
|
|
38
|
+
* Prefer `RadioGroup` when the user should see all mutually exclusive choices at once.
|
|
39
|
+
* Prefer `AutocompleteField` when freeform typing or custom values are required.
|
|
40
|
+
|
|
41
|
+
## Accessibility
|
|
42
|
+
|
|
43
|
+
### Keyboard interaction
|
|
44
|
+
|
|
45
|
+
| Key | Function |
|
|
46
|
+
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
47
|
+
| `Tab` / `Shift + Tab` | Moves focus into the multiselect TagGroup (first selected tag) or the open button, then to the next or previous focusable element. Remove buttons are not sequential tab stops. If the option list is open, these keys are ignored. |
|
|
48
|
+
| `Left Arrow` / `Right Arrow` | In multiple-select mode with the TagGroup focused: moves focus between selected tags. |
|
|
49
|
+
| `Delete` / `Backspace` | In multiple-select mode with a selected tag focused: removes that tag. |
|
|
50
|
+
| `Down Arrow` / `Up Arrow` | If the option list is closed and the open button has focus: opens the list and moves focus to the selected item (the first selected item in multiple-select mode), or the first/last item when nothing is selected. If the list is open: moves focus to the next or previous option. |
|
|
51
|
+
| `Enter` / `Space` | If the option list is closed: opens the option list (from the open button). If the list is open: selects the focused option. In single-select mode the list closes after selection; in multiple-select mode the list stays open. |
|
|
52
|
+
| `Esc` | If the option list is open: closes the list and returns focus to the select trigger. |
|
|
53
|
+
|
|
54
|
+
While the option list is open, focus stays inside the popover in both selection modes.
|
|
55
|
+
|
|
56
|
+
In multiple-select mode, selected values use React Ariaβs `TagGroup` in the trigger (styled to match Capra Tag). Keyboard behavior follows TagGroup defaults: arrows move between tags; Delete/Backspace removes; clicking the remove control also removes.
|
|
57
|
+
|
|
58
|
+
### Labeling
|
|
59
|
+
|
|
60
|
+
All select fields require a label. Provide a visible `label` prop when possible. When a visible label is not spatially associated with the trigger, use `aria-label` or `aria-labelledby`.
|
|
61
|
+
|
|
62
|
+
### Focus treatment
|
|
63
|
+
|
|
64
|
+
* The trigger uses the Capra 2px focus outline (`token('border.focus')`).
|
|
65
|
+
* List options show a keyboard focus ring on the active row; the popover container suppresses the browser default panel outline (same pattern as `Menu`).
|
|
66
|
+
* Warning and danger icons in the trigger are decorative (`aria-hidden`); invalid state is conveyed with `aria-invalid` on the trigger.
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Core/SelectField - Usage
|
|
2
|
+
|
|
3
|
+
## Basic usage
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
import { SelectField } from '@private/core';
|
|
7
|
+
|
|
8
|
+
const animals = [
|
|
9
|
+
{ id: '1', label: 'Dog' },
|
|
10
|
+
{ id: '2', label: 'Cat' },
|
|
11
|
+
{ id: '3', label: 'Bird' },
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
function Example() {
|
|
15
|
+
return (
|
|
16
|
+
<SelectField label="Animal" placeholder="Select" items={animals} />
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Props
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
### Single select
|
|
26
|
+
|
|
27
|
+
Pass `items` to render a list of options. Each item should have an `id` and a `label` property if using the default item renderer. You can also pass a custom item renderer to render each item as you need (see [Custom item renderer](#custom-item-renderer)).
|
|
28
|
+
|
|
29
|
+
```tsx
|
|
30
|
+
const animals = [
|
|
31
|
+
{ id: '1', label: 'Dog' },
|
|
32
|
+
{ id: '2', label: 'Cat' },
|
|
33
|
+
{ id: '3', label: 'Bird' },
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
<SelectField label="Animal" placeholder="Select" items={animals} />
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Multiple select
|
|
40
|
+
|
|
41
|
+
Set `selectionMode="multiple"` when more than one value can be selected. Selected options render as tags in the input.
|
|
42
|
+
|
|
43
|
+
```tsx
|
|
44
|
+
const states = [
|
|
45
|
+
{ id: '1', label: 'California' },
|
|
46
|
+
{ id: '2', label: 'New York' },
|
|
47
|
+
{ id: '3', label: 'Texas' },
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
<SelectField label="States" selectionMode="multiple" defaultValue={['CA', 'NY']} items={states} />
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Custom item renderer
|
|
54
|
+
|
|
55
|
+
When the default item renderer doesn't meet your needs, you can provide a custom item renderer. Each item **must** be a `SelectField.Item` or `SelectField.Section` component. `SelectField.Item` should be passed an `id` and `textValue` prop. `textValue` is used for typeahead and accessibility naming.
|
|
56
|
+
|
|
57
|
+
:::warning
|
|
58
|
+
|
|
59
|
+
For performance reasons, custom item renderers are cached on component mount. Custom item render functions should be pure functions that take only the passed item as an argument. Any reliance on external state or props will mostly likely cause unexpected and undesired behavior.
|
|
60
|
+
|
|
61
|
+
:::
|
|
62
|
+
|
|
63
|
+
```tsx
|
|
64
|
+
const users = [
|
|
65
|
+
{ id: '1', name: 'Malcolm Reynolds', email: 'malcolm.reynolds@example.com' },
|
|
66
|
+
{ id: '2', name: 'Inara Serra', email: 'inara.serra@example.com' },
|
|
67
|
+
{ id: '3', name: 'Kaylee Frye', email: 'kaylee.frye@example.com' },
|
|
68
|
+
];
|
|
69
|
+
|
|
70
|
+
<SelectField label="Users" selectionMode="multiple" defaultValue={['1', '2']} items={users}>
|
|
71
|
+
{(user) => (
|
|
72
|
+
<SelectField.Item id={user.id} textValue={user.name}>
|
|
73
|
+
<div>{user.name}</div>
|
|
74
|
+
<div>{user.email}</div>
|
|
75
|
+
</SelectField.Item>
|
|
76
|
+
)}
|
|
77
|
+
</SelectField>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Searchable options
|
|
81
|
+
|
|
82
|
+
Enable `canSearch` for longer lists so users can filter options inside the popover.
|
|
83
|
+
|
|
84
|
+
```tsx
|
|
85
|
+
const categories = [
|
|
86
|
+
{ id: '1', name: 'Electronics' },
|
|
87
|
+
{ id: '2', name: 'Clothing' },
|
|
88
|
+
{ id: '3', name: 'Books' },
|
|
89
|
+
// ...
|
|
90
|
+
{ id: '100', name: 'Other' },
|
|
91
|
+
];
|
|
92
|
+
|
|
93
|
+
<SelectField label="Category" items={categories} canSearch searchPlaceholder="Search categories">
|
|
94
|
+
{(item) => (
|
|
95
|
+
<SelectField.Item id={item.id} textValue={item.name}>
|
|
96
|
+
{item.name}
|
|
97
|
+
</SelectField.Item>
|
|
98
|
+
)}
|
|
99
|
+
</SelectField>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
When a search matches none of the options, the popover shows "No results" in place of the option list.
|
|
103
|
+
|
|
104
|
+
### Sections
|
|
105
|
+
|
|
106
|
+
Organize larger option lists into labeled groups by passing `items` with nested `children`, using the default item renderer. If a section has no visible `label`, provide `aria-label` on the section.
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
const items = [
|
|
110
|
+
{
|
|
111
|
+
id: 'fruit',
|
|
112
|
+
label: 'Fruit',
|
|
113
|
+
children: [
|
|
114
|
+
{ id: 'apple', label: 'Apple' },
|
|
115
|
+
{ id: 'banana', label: 'Banana' },
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: 'veg',
|
|
120
|
+
label: 'Vegetable',
|
|
121
|
+
children: [
|
|
122
|
+
{ id: 'broccoli', label: 'Broccoli' },
|
|
123
|
+
{ id: 'carrots', label: 'Carrots' },
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
];
|
|
127
|
+
|
|
128
|
+
<SelectField label="Healthy Snack" placeholder="Select an item" items={items} />
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Sections can also be built with `SelectField.Section` and `SelectField.Header` JSX children when using static options instead of `items`.
|
|
132
|
+
|
|
133
|
+
### Item icons
|
|
134
|
+
|
|
135
|
+
When an item has an `icon`, it renders before the label in the list. Selecting that item also shows the icon in the trigger for single select, or in the tag for multiple select.
|
|
136
|
+
|
|
137
|
+
```tsx
|
|
138
|
+
const items = [
|
|
139
|
+
{ id: '1', label: 'Favorites', icon: StarIcon },
|
|
140
|
+
{ id: '2', label: 'Settings', icon: CogIcon },
|
|
141
|
+
{ id: '3', label: 'Help', icon: HelpIcon },
|
|
142
|
+
];
|
|
143
|
+
|
|
144
|
+
<SelectField label="Menu" items={items} />
|
|
145
|
+
```
|
|
@@ -71,6 +71,8 @@ TabNav uses link-based navigation. The following apply:
|
|
|
71
71
|
* Active nav links have `aria-current="page"` set.
|
|
72
72
|
* Tabs that contain a dropdown use a button with `aria-haspopup="menu"` and `aria-expanded` set.
|
|
73
73
|
* Dropdown menu items use the Menu component with appropriate roles.
|
|
74
|
+
* The tab bar does not add outer spacing for surrounding layout. Handle page-level spacing where `TabNav` is composed.
|
|
75
|
+
* Interactive tabs and sub-items keep the `.tab` styles on the focusable element so hover, active, and focus treatments match the hit target.
|
|
74
76
|
|
|
75
77
|
### Orientation
|
|
76
78
|
|
|
@@ -8,7 +8,8 @@ TabNav provides a horizontal or vertical navigation styled as tabs. Tab items ar
|
|
|
8
8
|
| `style` | `never` | No | `--` | Inline styles are not supported; use component props or `FORCE__className`. |
|
|
9
9
|
| `FORCE__className` | `string` | No | `--` | π¨ This prop is meant to be an escape hatch. π¨<br><br>If the desired style cannot be achieved using component props, use this as a last resort. The inner workings of Capra components are implementation details and this escape hatch gives one access to those implementation details. We cannot make any guarantees that styles will applied correctly across version updates. Please use it responsibly.<br><br>Add a CSS class to the component. |
|
|
10
10
|
| `activeKey` | `string` | No | `--` | Key of the currently active tab (for visual styling). Typically derived from the current URL. |
|
|
11
|
-
| `
|
|
11
|
+
| `onTabPress` | `(key: string) => void` | No | `--` | Callback when a tab link is pressed (before navigation). |
|
|
12
|
+
| `onTabClick` | `(key: string, event: React.MouseEvent) => void` | No | `--` | Callback when a tab link is clicked (before navigation).<br>@deprecated Use `onTabPress` instead. |
|
|
12
13
|
| `items` | `TabNavItemType[]` | Yes | `--` | Tab items configuration. |
|
|
13
14
|
| `tabPlacement` | `(typeof tabNavPlacements)[number]` | No | 'horizontal' | Orientation of the tab bar: horizontal (bottom) or vertical (left).<br>@default 'horizontal' |
|
|
14
15
|
| `centered` | `boolean` | No | false | Whether to center the tabs.<br>@default false |
|
|
@@ -19,7 +20,7 @@ TabNav provides a horizontal or vertical navigation styled as tabs. Tab items ar
|
|
|
19
20
|
## Usage
|
|
20
21
|
|
|
21
22
|
```tsx
|
|
22
|
-
import { TabNav } from '@capra/core';
|
|
23
|
+
import { RouterProvider, TabNav } from '@capra/core';
|
|
23
24
|
|
|
24
25
|
// Basic usage - tab items are links that redirect to URLs
|
|
25
26
|
<TabNav
|
|
@@ -62,4 +63,21 @@ import { TabNav } from '@capra/core';
|
|
|
62
63
|
{ key: 'settings', name: 'Settings', href: '/settings' },
|
|
63
64
|
]}
|
|
64
65
|
/>
|
|
65
|
-
|
|
66
|
+
|
|
67
|
+
// With client-side routing
|
|
68
|
+
<RouterProvider navigate={navigate}>
|
|
69
|
+
<TabNav
|
|
70
|
+
activeKey={currentPath}
|
|
71
|
+
items={[
|
|
72
|
+
{ key: 'overview', name: 'Overview', href: '/overview' },
|
|
73
|
+
{
|
|
74
|
+
key: 'settings',
|
|
75
|
+
name: 'Settings',
|
|
76
|
+
subItems: [{ key: 'profile', name: 'Profile', href: '/settings/profile' }],
|
|
77
|
+
},
|
|
78
|
+
]}
|
|
79
|
+
/>
|
|
80
|
+
</RouterProvider>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
When the app provides `RouterProvider`, `TabNav` passes `href` and the rest of `RoutedLinkProps` through to navigable tabs and sub-items so routing stays client-side.
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# History/Changelogs/@capra-core
|
|
2
2
|
|
|
3
|
+
### 1.13.0
|
|
4
|
+
|
|
5
|
+
#### Minor Changes
|
|
6
|
+
|
|
7
|
+
* [159e15b](https://bitbucket.org/cribl/capra-ui/commits/159e15b): Add a `SelectField` component.
|
|
8
|
+
|
|
9
|
+
#### Patch Changes
|
|
10
|
+
|
|
11
|
+
* [28df32f](https://bitbucket.org/cribl/capra-ui/commits/28df32f): Fix Switch background colors
|
|
12
|
+
|
|
13
|
+
### 1.12.0
|
|
14
|
+
|
|
15
|
+
#### Minor Changes
|
|
16
|
+
|
|
17
|
+
* [1fdb8d2](https://bitbucket.org/cribl/capra-ui/commits/1fdb8d2): Add `TabNav` `onTabPress` for sub-item client-side routing support.
|
|
18
|
+
|
|
19
|
+
#### Patch Changes
|
|
20
|
+
|
|
21
|
+
* [9550263](https://bitbucket.org/cribl/capra-ui/commits/9550263): Fix Menu submenu viewport clipping by enabling popover flip when nested panels would overflow the screen edge.
|
|
22
|
+
* [9550263](https://bitbucket.org/cribl/capra-ui/commits/9550263): Fix Menu leading icon vertical alignment with item labels.
|
|
23
|
+
* [b4285e0](https://bitbucket.org/cribl/capra-ui/commits/b4285e0): Fix menu description text color when disabled.
|
|
24
|
+
* [9550263](https://bitbucket.org/cribl/capra-ui/commits/9550263): Fix Menu danger item icons so leading icons inherit the same semantic foreground color as the label.
|
|
25
|
+
* Updated dependencies [928c9a8](https://bitbucket.org/cribl/capra-ui/commits/928c9a8) β added new icons: AddressBook, AlignCenter, AlignJustify, AlignLeft, AlignRight, ArrowDownLeftAndArrowUpRightToCenter, ArrowTurnDownLeft, ArrowUpRightAndArrowDownLeftFromCenter, ArrowsMaximize, ArrowsMinimize, At, Backward, BackwardStep, BadgeCheck, BagShopping, Ban, Barcode, Bold, Bolt, Book, BookOpen, BoxArchive, BracketsCurly, BriefcaseMedical, Bug, Bullhorn, Bullseye, Car, CaretDownSolid, CaretLeftSolid, CaretRightSolid, CaretUpSolid, CartShopping, ChartEvents, ChartFunnel, ChartMap, ChartScatter, ChartSingle, Check, CircleCheck, CircleCheckSolid, CircleExclamation, CircleInfo, CircleInfoSolid, CirclePlusSolid, CircleQuestion, CircleR, CircleStopSolid, CircleUpFilled, CircleXmarkSolid, Code, CodeBlock, CodeBranch, CodeFork, CodeMerge, CodePullRequest, Compass, Copyright, CriblOutlined, Crown, CupTogo, Database, DiagramSankey, EmptySet, FaceFrown, FaceMeh, FaceSmile, File, FileLines, FilePlusMinus, Fire, Flask, Forward, ForwardStep, GaugeSimple, Gift, GitAlt, Grid2Plus, GripDotsVertical, HardDrive, Headphones, Heart, HeartSolid, HibernatingCloud, Highlighter, Hourglass, IdCard, Image, Italic, Keyboard, Lightbulb, LinkSlash, ListOrdered, ListTree, Lock, Mars, Message, Messages, Microphone, Mobile, MugHot, Notebook, Outbound, Palette, Paperclip, Pause, Play, Print, Qrcode, Robot, RocketLaunch, Scissors, Share, Shirt, SlashForward, Sliders, SlidersUp, SortAlphaAscending, SortAlphaDescending, SortDown, SortDownSolid, SortNumericAscending, SortNumericDescending, SortOutlined, SortUp, SortUpSolid, SpinnerThird, SquareExclamation, SquareExclamationSolid, Star, StarSolid, Store, Strikethrough, Tablet, Tag, ThumbsDown, ThumbsDownSolid, ThumbsUp, ThumbtackAngleFilled, ThumbtackAngleOutlined, Token, Trash, TriangleExclamation, TriangleExclamationSolid, Trophy, Underline, Venus, Video, Volume
|
|
26
|
+
* Updated dependencies [3572a4f](https://bitbucket.org/cribl/capra-ui/commits/3572a4f) β Updated fill color for HibernatingCloud icon
|
|
27
|
+
* @capra/icons\@1.10.0
|
|
28
|
+
|
|
3
29
|
### 1.11.1
|
|
4
30
|
|
|
5
31
|
#### Patch Changes
|
package/docs/index.md
CHANGED
|
@@ -77,6 +77,8 @@ Embedded documentation is available on the filesystem for each of these packages
|
|
|
77
77
|
- [Core/RadioTile - Usage](./core-radiotile--usage.md)
|
|
78
78
|
- [Core/Ribbon - Design](./core-ribbon--design.md)
|
|
79
79
|
- [Core/Ribbon - Usage](./core-ribbon--usage.md)
|
|
80
|
+
- [Core/SelectField - Design](./core-selectfield--design.md)
|
|
81
|
+
- [Core/SelectField - Usage](./core-selectfield--usage.md)
|
|
80
82
|
- [Core/Skeleton - Design](./core-skeleton--design.md)
|
|
81
83
|
- [Core/Skeleton - Usage](./core-skeleton--usage.md)
|
|
82
84
|
- [Core/SkeletonGroup - Design](./core-skeletongroup--design.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capra/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Core React components for the Capra design system",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"react-aria": "^3.48.0",
|
|
37
37
|
"react-aria-components": "^1.17.0",
|
|
38
|
-
"@capra/icons": "^1.
|
|
38
|
+
"@capra/icons": "^1.10.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"clsx": "^2.1.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"storybook": "^10.4.6",
|
|
45
45
|
"tsdown": "^0.22.7",
|
|
46
46
|
"@private/building": "^0.1.0",
|
|
47
|
-
"@capra/theme": "^1.
|
|
47
|
+
"@capra/theme": "^1.5.0",
|
|
48
48
|
"@private/linting": "^0.0.1",
|
|
49
49
|
"@private/stories": "^0.0.0",
|
|
50
50
|
"@private/testing": "^0.0.7"
|