@digital-ai/dot-components 1.20.0 → 2.0.0-rc.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/CHANGE_LOG.md +4 -25
- package/README.md +1 -1
- package/fonts/fonts.ts +6 -0
- package/index.d.ts +1 -1
- package/index.esm.js +605 -1021
- package/index.umd.js +823 -1256
- package/lib/components/BaseButtonProps.d.ts +0 -2
- package/lib/components/accordion/Accordion.d.ts +1 -3
- package/lib/components/accordion/Accordion.styles.d.ts +1 -1
- package/lib/components/action-toolbar/ActionToolbar.styles.d.ts +1 -1
- package/lib/components/alert-banner/AlertBanner.d.ts +1 -3
- package/lib/components/alert-banner/AlertBanner.styles.d.ts +1 -1
- package/lib/components/app-toolbar/AppToolbar.d.ts +1 -3
- package/lib/components/app-toolbar/AppToolbar.stories.data.d.ts +0 -1
- package/lib/components/app-toolbar/AppToolbar.styles.d.ts +0 -1
- package/lib/components/auto-complete/AutoComplete.d.ts +2 -2
- package/lib/components/auto-complete/AutoComplete.stories.styles.d.ts +2 -0
- package/lib/components/auto-complete/AutoComplete.styles.d.ts +1 -1
- package/lib/components/auto-complete/Autocomplete.stories.data.d.ts +1 -0
- package/lib/components/auto-complete/index.d.ts +1 -1
- package/lib/components/auto-complete/utils/helpers.d.ts +1 -2
- package/lib/components/avatar/Avatar.styles.d.ts +1 -1
- package/lib/components/avatar-group/AvatarGroup.d.ts +0 -1
- package/lib/components/avatar-group/AvatarGroup.styles.d.ts +3 -0
- package/lib/components/badge/Badge.styles.d.ts +1 -1
- package/lib/components/breadcrumbs/Breadcrumbs.d.ts +2 -4
- package/lib/components/breadcrumbs/Breadcrumbs.styles.d.ts +1 -1
- package/lib/components/breadcrumbs/utils/helpers.d.ts +2 -2
- package/lib/components/button/Button.d.ts +2 -2
- package/lib/components/button/Button.styles.d.ts +1 -1
- package/lib/components/button/IconButton.d.ts +1 -3
- package/lib/components/button/IconButton.styles.d.ts +1 -1
- package/lib/components/button-toggle/ButtonToggle.stories.data.d.ts +0 -1
- package/lib/components/button-toggle/ButtonToggle.styles.d.ts +1 -1
- package/lib/components/checkbox/Checkbox.d.ts +1 -2
- package/lib/components/checkbox/Checkbox.styles.d.ts +1 -1
- package/lib/components/checkbox/CheckboxGroup.d.ts +1 -1
- package/lib/components/chip/Chip.styles.d.ts +1 -1
- package/lib/components/css-grid/CssCell.d.ts +1 -1
- package/lib/components/css-grid/CssGrid.d.ts +14 -8
- package/lib/components/css-grid/CssGridDebug.d.ts +0 -1
- package/lib/components/dialog/Dialog.styles.d.ts +1 -1
- package/lib/components/divider/Divider.d.ts +0 -1
- package/lib/components/divider/Divider.styles.d.ts +1 -1
- package/lib/components/draggable-list/DraggableList.d.ts +0 -1
- package/lib/components/draggable-list/DraggableList.stories.data.d.ts +0 -1
- package/lib/components/draggable-list/utils/models.d.ts +1 -1
- package/lib/components/drawer/Drawer.styles.d.ts +1 -1
- package/lib/components/dynamic-form/DynamicForm.d.ts +0 -1
- package/lib/components/dynamic-form/DynamicForm.styles.d.ts +0 -1
- package/lib/components/dynamic-form/models.d.ts +1 -1
- package/lib/components/empty-state/EmptyState.d.ts +0 -1
- package/lib/components/file-upload/FileListItem.d.ts +0 -1
- package/lib/components/file-upload/FileListItem.styles.d.ts +21 -25
- package/lib/components/file-upload/FileUpload.d.ts +1 -1
- package/lib/components/file-upload/FileUpload.stories.data.d.ts +0 -1
- package/lib/components/file-upload/uploadHelpers.d.ts +12 -0
- package/lib/components/form-controls/FormControl.styles.d.ts +1 -1
- package/lib/components/form-controls/FormControlLabel.styles.d.ts +1 -1
- package/lib/components/form-group/FormGroup.styles.d.ts +1 -1
- package/lib/components/icon/Icon.d.ts +2 -5
- package/lib/components/icon/Icon.styles.d.ts +3 -1
- package/lib/components/inline-edit/InlineEdit.d.ts +0 -1
- package/lib/components/input-form-fields/Input.stories.data.d.ts +0 -1
- package/lib/components/input-form-fields/InputFormFields.propTypes.d.ts +0 -8
- package/lib/components/input-form-fields/InputFormFields.styles.d.ts +3 -5
- package/lib/components/input-form-fields/InputSelect.d.ts +3 -2
- package/lib/components/input-form-fields/InputText.d.ts +7 -15
- package/lib/components/link/Link.d.ts +1 -3
- package/lib/components/link/Link.styles.d.ts +1 -1
- package/lib/components/list/List.d.ts +1 -2
- package/lib/components/list/List.styles.d.ts +1 -1
- package/lib/components/list/ListItem.styles.d.ts +21 -25
- package/lib/components/list/NestedList.styles.d.ts +0 -1
- package/lib/components/list/utils/models.d.ts +1 -9
- package/lib/components/menu/Menu.stories.data.d.ts +0 -1
- package/lib/components/menu/Menu.styles.d.ts +2 -3
- package/lib/components/menu/MenuList.d.ts +2 -2
- package/lib/components/menu/MenuList.styles.d.ts +1 -2
- package/lib/components/navigation-rail/NavigationRail.d.ts +0 -5
- package/lib/components/navigation-rail/NavigationRail.stories.styles.d.ts +0 -2
- package/lib/components/pill/Pill.d.ts +0 -1
- package/lib/components/pill/Pill.styles.d.ts +1 -1
- package/lib/components/popper/Popper.d.ts +1 -1
- package/lib/components/popper/Popper.stories.data.d.ts +0 -1
- package/lib/components/popper/Popper.styles.d.ts +2 -2
- package/lib/components/popper/index.d.ts +1 -1
- package/lib/components/progress/Progress.d.ts +2 -5
- package/lib/components/progress/Progress.styles.d.ts +1 -1
- package/lib/components/progress-button/ProgressButton.d.ts +0 -1
- package/lib/components/radio/RadioButton.styles.d.ts +1 -1
- package/lib/components/radio/RadioGroup.styles.d.ts +1 -1
- package/lib/components/sidebar/Sidebar.stories.data.d.ts +11 -5
- package/lib/components/skeleton/Skeleton.styles.d.ts +1 -1
- package/lib/components/snackbar/Snackbar.styles.d.ts +1 -1
- package/lib/components/snackbar/index.d.ts +1 -1
- package/lib/components/split-button/SplitButton.d.ts +1 -2
- package/lib/components/split-button/SplitButton.styles.d.ts +1 -2
- package/lib/components/switch/Switch.styles.d.ts +1 -1
- package/lib/components/table/Table.data.d.ts +0 -1
- package/lib/components/table/Table.stories.data.d.ts +1 -2
- package/lib/components/table/Table.styles.d.ts +2 -4
- package/lib/components/table/TableActions.d.ts +0 -1
- package/lib/components/table/TableActions.styles.d.ts +0 -1
- package/lib/components/table/TableBody.styles.d.ts +1 -1
- package/lib/components/table/TableBodyCheckboxCell.styles.d.ts +1 -1
- package/lib/components/table/TableCell.styles.d.ts +1 -1
- package/lib/components/table/TableHeader.d.ts +1 -4
- package/lib/components/table/TableHeaderCell.d.ts +1 -3
- package/lib/components/table/TableHeaderCell.styles.d.ts +1 -1
- package/lib/components/table/TableHeaderCheckboxCell.styles.d.ts +1 -1
- package/lib/components/table/TablePagination.d.ts +3 -3
- package/lib/components/table/TableRow.styles.d.ts +1 -1
- package/lib/components/table/TableSelectionToolbar.styles.d.ts +0 -1
- package/lib/components/table/utils/helpers.d.ts +1 -3
- package/lib/components/table/utils/models.d.ts +1 -1
- package/lib/components/tabs/Tabs.d.ts +1 -2
- package/lib/components/tabs/Tabs.styles.d.ts +1 -1
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.d.ts +0 -1
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.styles.d.ts +1 -1
- package/lib/components/typography/Typography.d.ts +2 -4
- package/lib/testing-utils/index.d.ts +2 -2
- package/lib/theme-provider/ThemeProvider.d.ts +4 -7
- package/lib/theme-provider/colors/light-theme-colors.d.ts +1 -2
- package/package.json +4 -5
- package/lib/components/input-form-fields/InputLabel.d.ts +0 -17
- package/lib/components/navigation-rail/NavigationRail.stories.data.d.ts +0 -9
package/CHANGE_LOG.md
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [1.20.0](https://github.com/digital-ai/dot-components/tree/1.20.0) (07/23/2022)
|
|
4
|
-
|
|
5
|
-
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.19.1...1.20.0)
|
|
6
|
-
|
|
7
|
-
**Features:**
|
|
8
|
-
|
|
9
|
-
- Adjust margin of `DotTypography` [\#1210](https://github.com/digital-ai/dot-components/issues/1210)
|
|
10
|
-
- `DotInputText` allow to set `shrink` property [\#1124](https://github.com/digital-ai/dot-components/issues/1124)
|
|
11
|
-
- `DotInputText` Should show `\*` on `helperText` if field is required [\#1122](https://github.com/digital-ai/dot-components/issues/1122)
|
|
12
|
-
- S-86369: input field success [\#1226](https://github.com/digital-ai/dot-components/pull/1226) ([CWSites](https://github.com/CWSites))
|
|
13
|
-
- S-84069: expose shrink prop to input fields [\#1223](https://github.com/digital-ai/dot-components/pull/1223) ([CWSites](https://github.com/CWSites))
|
|
14
|
-
- Issue \#1210: add prop for noMargin to typography [\#1222](https://github.com/digital-ai/dot-components/pull/1222) ([CWSites](https://github.com/CWSites))
|
|
15
|
-
- S-83952: persistent label for text field and select field [\#1219](https://github.com/digital-ai/dot-components/pull/1219) ([CWSites](https://github.com/CWSites))
|
|
16
|
-
- S-85811: `NavigationRail` Allow badges [\#1215](https://github.com/digital-ai/dot-components/pull/1215) ([dmiletic85](https://github.com/dmiletic85))
|
|
17
|
-
|
|
18
|
-
**Fixed bugs:**
|
|
19
|
-
|
|
20
|
-
- Incorrect spacing between inputs in DotForm [\#1071](https://github.com/digital-ai/dot-components/issues/1071)
|
|
21
|
-
- D-20378: update input margin to account for helper text [\#1212](https://github.com/digital-ai/dot-components/pull/1212) ([CWSites](https://github.com/CWSites))
|
|
22
|
-
- D-21918: Update `DotAlertBanner` to match Figma [\#1208](https://github.com/digital-ai/dot-components/pull/1208) ([CWSites](https://github.com/CWSites))
|
|
23
|
-
|
|
24
3
|
## [1.19.1](https://github.com/digital-ai/dot-components/tree/1.19.1) (07/18/2022)
|
|
25
4
|
|
|
26
5
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.19.0...1.19.1)
|
|
@@ -861,10 +840,6 @@
|
|
|
861
840
|
|
|
862
841
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.1.0...1.1.1)
|
|
863
842
|
|
|
864
|
-
**Features:**
|
|
865
|
-
|
|
866
|
-
- S-78164: Sticky menu item on DotMenu component [\#687](https://github.com/digital-ai/dot-components/pull/687) ([dmiletic85](https://github.com/dmiletic85))
|
|
867
|
-
|
|
868
843
|
**Closed issues:**
|
|
869
844
|
|
|
870
845
|
- Security Updates [\#699](https://github.com/digital-ai/dot-components/issues/699)
|
|
@@ -881,6 +856,10 @@
|
|
|
881
856
|
|
|
882
857
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.0.12...1.1.0)
|
|
883
858
|
|
|
859
|
+
**Features:**
|
|
860
|
+
|
|
861
|
+
- S-78164: Sticky menu item on DotMenu component [\#687](https://github.com/digital-ai/dot-components/pull/687) ([dmiletic85](https://github.com/dmiletic85))
|
|
862
|
+
|
|
884
863
|
**Fixed bugs:**
|
|
885
864
|
|
|
886
865
|
- value prop isn't being passed to tab [\#693](https://github.com/digital-ai/dot-components/issues/693)
|
package/README.md
CHANGED
package/fonts/fonts.ts
CHANGED
|
@@ -17,6 +17,12 @@ export const GlobalFonts = createGlobalStyle`
|
|
|
17
17
|
src: url(${LatoBold}) format('woff');
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'LatoBold';
|
|
22
|
+
font-weight: 700;
|
|
23
|
+
src: url(${LatoBold}) format('woff');
|
|
24
|
+
}
|
|
25
|
+
|
|
20
26
|
@font-face {
|
|
21
27
|
font-display: block;
|
|
22
28
|
font-family: 'dot';
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './lib/components';
|
|
2
2
|
export * as lightColors from './lib/theme-provider/colors/light-theme-colors';
|
|
3
3
|
export * as themeVariables from './lib/theme-provider/common/variables';
|
|
4
|
-
export { avatarColors, DotThemeProvider, typographyOptions, } from './lib/theme-provider/ThemeProvider';
|
|
4
|
+
export { avatarColors, DotThemeProvider, ThemeProviderProps, typographyOptions, } from './lib/theme-provider/ThemeProvider';
|