@capra/core 1.13.0 → 1.14.1
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 +357 -76
- package/dist/index.d.cts +229 -56
- package/dist/index.d.mts +229 -56
- package/dist/index.mjs +355 -79
- package/dist/style.css +370 -148
- package/docs/core-alert--design.md +3 -3
- package/docs/core-autocompletefield--design.md +5 -5
- package/docs/core-badge--design.md +12 -4
- package/docs/core-badge--usage.md +7 -1
- package/docs/core-breadcrumbs--design.md +1 -1
- package/docs/core-button--design.md +7 -7
- package/docs/core-buttonlink--design.md +1 -1
- package/docs/core-card--design.md +4 -4
- package/docs/core-checkbox--design.md +2 -2
- package/docs/core-checkbox--usage.md +1 -0
- package/docs/core-collapse--design.md +2 -2
- package/docs/core-divider--design.md +1 -1
- package/docs/core-link--design.md +2 -2
- package/docs/core-selectfield--design.md +1 -1
- package/docs/core-table--design.md +17 -0
- package/docs/core-table--usage.md +198 -0
- package/docs/core-textinput--usage.md +1 -1
- package/docs/core-togglebuttongroup--design.md +89 -0
- package/docs/core-togglebuttongroup--usage.md +113 -0
- package/docs/foundation-page-templates--docs.md +15 -0
- package/docs/history-changelogs-capra-core--docs.md +29 -0
- package/docs/index.md +5 -0
- package/package.json +3 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Foundation/Page Templates
|
|
2
|
+
|
|
3
|
+
## Page Layout
|
|
4
|
+
|
|
5
|
+
When building a new page, always start with the page layout. Follow the guidelines in the documents below to ensure the page is styled and structured correctly.
|
|
6
|
+
|
|
7
|
+
* [Navigation](/docs/foundation-page-templates-navigation--docs)
|
|
8
|
+
|
|
9
|
+
## Templates
|
|
10
|
+
|
|
11
|
+
Page templates provide a starting point for scaffolding new pages using the Capra design system.
|
|
12
|
+
|
|
13
|
+
* [Overview](/docs/foundation-page-templates-overview--docs) - Orient the user, surface the insights that matters, start work (preferably via AI), then let them drill.
|
|
14
|
+
* [Tables](/docs/foundation-page-templates-tables--docs) - Provide an easily parsed list of objects.
|
|
15
|
+
* [Setup Config](/docs/foundation-page-templates-setup-config--docs) - Guide the user through the setup process or post-setup configuration.
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# History/Changelogs/@capra-core
|
|
2
2
|
|
|
3
|
+
### 1.14.1
|
|
4
|
+
|
|
5
|
+
#### Patch Changes
|
|
6
|
+
|
|
7
|
+
* [ff42d74](https://bitbucket.org/cribl/capra-ui/commits/ff42d74): `SelectField` options now use a checkmark for selection, with tighter spacing.
|
|
8
|
+
* [a1dea94](https://bitbucket.org/cribl/capra-ui/commits/a1dea94): Align types with runtime behavior by removing the children prop from Switch prop types
|
|
9
|
+
* [6a176c9](https://bitbucket.org/cribl/capra-ui/commits/6a176c9): Shrink y-axis padding in `Drawer` header
|
|
10
|
+
|
|
11
|
+
### 1.14.0
|
|
12
|
+
|
|
13
|
+
#### Minor Changes
|
|
14
|
+
|
|
15
|
+
* [7539078](https://bitbucket.org/cribl/capra-ui/commits/7539078): Add `Table` component
|
|
16
|
+
|
|
17
|
+
* [43fbcd3](https://bitbucket.org/cribl/capra-ui/commits/43fbcd3): Prevent long Menu.Items from line-wrapping by default.
|
|
18
|
+
|
|
19
|
+
Add a prop `allowItemLineWrap` to override this default.
|
|
20
|
+
|
|
21
|
+
* [62b08fb](https://bitbucket.org/cribl/capra-ui/commits/62b08fb): Add `Badge` `decorative` prop. Named dots use `role="img"` and counters use `role="status"` so `aria-label` / `aria-labelledby` are valid without making the count presentational.
|
|
22
|
+
|
|
23
|
+
* [9d0734d](https://bitbucket.org/cribl/capra-ui/commits/9d0734d): Add the `ToggleButtonGroup` component
|
|
24
|
+
|
|
25
|
+
* [43b0618](https://bitbucket.org/cribl/capra-ui/commits/43b0618): Update TableToolbar to support filter and bulk edit modes
|
|
26
|
+
|
|
27
|
+
#### Patch Changes
|
|
28
|
+
|
|
29
|
+
* [2ac16c5](https://bitbucket.org/cribl/capra-ui/commits/2ac16c5): Updated `SelectField` dropdown options to use the appropriate colors.
|
|
30
|
+
* [6998527](https://bitbucket.org/cribl/capra-ui/commits/6998527): Fix an issue where the `NumberField` stepper was overflowing outside the input container
|
|
31
|
+
|
|
3
32
|
### 1.13.0
|
|
4
33
|
|
|
5
34
|
#### Minor Changes
|
package/docs/index.md
CHANGED
|
@@ -12,6 +12,7 @@ Embedded documentation is available on the filesystem for each of these packages
|
|
|
12
12
|
## Documentation
|
|
13
13
|
|
|
14
14
|
- [Conventions](./conventions--docs.md)
|
|
15
|
+
- [Page Templates](./foundation-page-templates--docs.md)
|
|
15
16
|
- [Using Capra](./using-capra--docs.md)
|
|
16
17
|
- [Core/Alert - Design](./core-alert--design.md)
|
|
17
18
|
- [Core/Alert - Usage](./core-alert--usage.md)
|
|
@@ -87,6 +88,8 @@ Embedded documentation is available on the filesystem for each of these packages
|
|
|
87
88
|
- [Core/Spinner - Usage](./core-spinner--usage.md)
|
|
88
89
|
- [Core/Switch - Design](./core-switch--design.md)
|
|
89
90
|
- [Core/Switch - Usage](./core-switch--usage.md)
|
|
91
|
+
- [Core/Table - Design](./core-table--design.md)
|
|
92
|
+
- [Core/Table - Usage](./core-table--usage.md)
|
|
90
93
|
- [Core/TabNav - Design](./core-tabnav--design.md)
|
|
91
94
|
- [Core/TabNav - Usage](./core-tabnav--usage.md)
|
|
92
95
|
- [Core/Tag - Design](./core-tag--design.md)
|
|
@@ -101,6 +104,8 @@ Embedded documentation is available on the filesystem for each of these packages
|
|
|
101
104
|
- [Core/TextInput - Usage](./core-textinput--usage.md)
|
|
102
105
|
- [Core/Toast - Design](./core-toast--design.md)
|
|
103
106
|
- [Core/Toast - Usage](./core-toast--usage.md)
|
|
107
|
+
- [Core/ToggleButtonGroup - Design](./core-togglebuttongroup--design.md)
|
|
108
|
+
- [Core/ToggleButtonGroup - Usage](./core-togglebuttongroup--usage.md)
|
|
104
109
|
- [Core/Tooltip - Design](./core-tooltip--design.md)
|
|
105
110
|
- [Core/Tooltip - Usage](./core-tooltip--usage.md)
|
|
106
111
|
- [Core/TopNav - Design](./core-topnav--design.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capra/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Core React components for the Capra design system",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"antd": "4.24.16",
|
|
44
44
|
"storybook": "^10.4.6",
|
|
45
45
|
"tsdown": "^0.22.7",
|
|
46
|
-
"@private/building": "^0.1.
|
|
47
|
-
"@capra/theme": "^1.5.0",
|
|
46
|
+
"@private/building": "^0.1.1",
|
|
48
47
|
"@private/linting": "^0.0.1",
|
|
48
|
+
"@capra/theme": "^1.6.0",
|
|
49
49
|
"@private/stories": "^0.0.0",
|
|
50
50
|
"@private/testing": "^0.0.7"
|
|
51
51
|
},
|