@digital-ai/dot-components 1.21.2 → 2.0.0-rc.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/CHANGE_LOG.md +1 -34
- package/README.md +1 -1
- package/fonts/fonts.ts +6 -0
- package/index.d.ts +1 -0
- package/index.esm.js +489 -806
- package/index.umd.js +702 -1027
- 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.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/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.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.styles.d.ts +3 -2
- package/lib/components/input-form-fields/InputLabel.d.ts +0 -1
- package/lib/components/input-form-fields/InputSelect.d.ts +0 -1
- package/lib/components/input-form-fields/InputText.d.ts +7 -5
- 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 -1
- package/lib/components/pill/Pill.d.ts +2 -2
- 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 +1 -1
- 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/CHANGE_LOG.md
CHANGED
|
@@ -1,35 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [1.21.2](https://github.com/digital-ai/dot-components/tree/1.21.2) (09/09/2022)
|
|
4
|
-
|
|
5
|
-
[Full Changelog](https://github.com/digital-ai/dot-components/compare/2.0.0-rc.1...1.21.2)
|
|
6
|
-
|
|
7
|
-
**Features:**
|
|
8
|
-
|
|
9
|
-
- Add focus state for Inline Edit component [\#1253](https://github.com/digital-ai/dot-components/issues/1253)
|
|
10
|
-
- Support React 18 [\#1173](https://github.com/digital-ai/dot-components/issues/1173)
|
|
11
|
-
- S-87316 Add focus state for Inline Edit [\#1255](https://github.com/digital-ai/dot-components/pull/1255) ([nikolinadapic](https://github.com/nikolinadapic))
|
|
12
|
-
|
|
13
|
-
**Fixed bugs:**
|
|
14
|
-
|
|
15
|
-
- Use of `release-2.0` branch causes `Typography` to use default styling [\#1151](https://github.com/digital-ai/dot-components/issues/1151)
|
|
16
|
-
- D-22241: `DotFileListItem`: fix focus states and expose `onKeyPress` [\#1254](https://github.com/digital-ai/dot-components/pull/1254) ([dmiletic85](https://github.com/dmiletic85))
|
|
17
|
-
|
|
18
|
-
## [2.0.0-rc.1](https://github.com/digital-ai/dot-components/tree/2.0.0-rc.1) (08/31/2022)
|
|
19
|
-
|
|
20
|
-
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.21.1...2.0.0-rc.1)
|
|
21
|
-
|
|
22
|
-
**Fixed bugs:**
|
|
23
|
-
|
|
24
|
-
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
25
|
-
- S-84151: fix e2e tests for Release 2.0 [\#1146](https://github.com/digital-ai/dot-components/pull/1146) ([CWSites](https://github.com/CWSites))
|
|
26
|
-
|
|
27
|
-
**Merged pull requests:**
|
|
28
|
-
|
|
29
|
-
- Release Candidate Workflow [\#1251](https://github.com/digital-ai/dot-components/pull/1251) ([CWSites](https://github.com/CWSites))
|
|
30
|
-
- S-85001: add support for react 18 [\#1244](https://github.com/digital-ai/dot-components/pull/1244) ([CWSites](https://github.com/CWSites))
|
|
31
|
-
- S-86694: Extract agility theme [\#1242](https://github.com/digital-ai/dot-components/pull/1242) ([CWSites](https://github.com/CWSites))
|
|
32
|
-
|
|
33
3
|
## [1.21.1](https://github.com/digital-ai/dot-components/tree/1.21.1) (08/31/2022)
|
|
34
4
|
|
|
35
5
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.21.0...1.21.1)
|
|
@@ -161,6 +131,7 @@
|
|
|
161
131
|
|
|
162
132
|
- Sidebar drawer/expanded does not have a data-testid prop supplied [\#1162](https://github.com/digital-ai/dot-components/issues/1162)
|
|
163
133
|
- D-21245: make sure `data-testid` is passed to nested lists [\#1182](https://github.com/digital-ai/dot-components/pull/1182) ([CWSites](https://github.com/CWSites))
|
|
134
|
+
- D-21267: adjust color of helper text [\#1174](https://github.com/digital-ai/dot-components/pull/1174) ([CWSites](https://github.com/CWSites))
|
|
164
135
|
|
|
165
136
|
## [1.17.1](https://github.com/digital-ai/dot-components/tree/1.17.1) (05/19/2022)
|
|
166
137
|
|
|
@@ -171,10 +142,6 @@
|
|
|
171
142
|
- `DotButtonToggle`: Button size is not respected after tooltip change [\#1170](https://github.com/digital-ai/dot-components/issues/1170)
|
|
172
143
|
- D-21287: `DotButtonToggle`: Button size is not respected after tooltip change [\#1171](https://github.com/digital-ai/dot-components/pull/1171) ([dmiletic85](https://github.com/dmiletic85))
|
|
173
144
|
|
|
174
|
-
**Merged pull requests:**
|
|
175
|
-
|
|
176
|
-
- S-84160: `InputText` and `InputSelect` fields e2e [\#1177](https://github.com/digital-ai/dot-components/pull/1177) ([CWSites](https://github.com/CWSites))
|
|
177
|
-
|
|
178
145
|
## [1.17.0](https://github.com/digital-ai/dot-components/tree/1.17.0) (05/18/2022)
|
|
179
146
|
|
|
180
147
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.16.1...1.17.0)
|
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,5 @@
|
|
|
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 type { ThemeProviderProps } from './lib/theme-provider/ThemeProvider';
|
|
4
5
|
export { avatarColors, DotThemeProvider, typographyOptions, } from './lib/theme-provider/ThemeProvider';
|