asma-core-ui 1.1.2 → 1.2.2
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/CHANGELOG.md +14 -0
- package/Readme.md +14 -2
- package/dist/asma-core-ui.es.js +2758 -6464
- package/dist/components/Dialog/StyledDialog.d.ts +1 -5
- package/dist/components/inputs/StyledButton.d.ts +1 -1
- package/dist/components/inputs/StyledFormHelperText.d.ts +2 -2
- package/dist/components/inputs/StyledFormLabel.d.ts +1 -1
- package/dist/components/inputs/StyledInputLabel.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# asma-core-ui
|
|
2
|
+
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 75d39d0: Created composable components for StyledDialog; StyledDialogTitle, StyledDialogContent and StyledDialogActions.
|
|
8
|
+
- 718ad37: StyledFormControlLabel
|
|
9
|
+
- 718ad37: StyledFormHelperText
|
|
10
|
+
- 718ad37: StyledFormLabel
|
|
11
|
+
- 718ad37: StyledInput
|
|
12
|
+
- 718ad37: StyledInputLabel
|
|
13
|
+
- 718ad37: StyledSwitch
|
|
14
|
+
- 718ad37: StyledTextField
|
package/Readme.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# How to create and use the Design System
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Component composition
|
|
4
4
|
|
|
5
|
+
- When creating components that consists of several components, each component should be styled.
|
|
6
|
+
- Each components that is used to create a "composed" component should be styled, and remember to check if the component alread is styled.
|
|
7
|
+
- When creating a "composed component" evalute if it's really needed to create a composed component, or just document how to use the styled components.
|
|
8
|
+
- MUI often has documentation on how to create composed components.
|
|
9
|
+
|
|
10
|
+
## Documentation and testing
|
|
11
|
+
|
|
12
|
+
- All components shall be documented and tested in Storybook before PR is created.
|
|
13
|
+
|
|
14
|
+
## Index file
|
|
15
|
+
|
|
16
|
+
- Index files shall not be edited manually.
|
|
5
17
|
- ctix is used for automatically create index files for exporting componens. Run "npm run create-index"
|
|
6
18
|
- 'src/styles/index.ccss' is imported to 'src/theme/customMuiColors.ts' so exporting works with ctix.
|
|
7
19
|
|