@digital-ai/dot-components 2.4.0 → 2.5.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 +44 -11
- package/README.md +15 -0
- package/index.esm.js +523 -407
- package/index.umd.js +706 -574
- package/lib/Typography.stories.d.ts +4 -0
- package/lib/components/accordion/Accordion.stories.d.ts +8 -0
- package/lib/components/action-toolbar/ActionToolbar.stories.d.ts +5 -0
- package/lib/components/alert-banner/AlertBanner.stories.d.ts +5 -0
- package/lib/components/app-switcher/AppSwitcher.d.ts +2 -1
- package/lib/components/app-switcher/utils/helpers.d.ts +1 -1
- package/lib/components/app-toolbar/AppToolbar.stories.d.ts +8 -0
- package/lib/components/auto-complete/AutoComplete.d.ts +3 -3
- package/lib/components/auto-complete/AutoComplete.stories.d.ts +22 -0
- package/lib/components/avatar/Avatar.stories.d.ts +7 -0
- package/lib/components/avatar-group/AvatarGroup.stories.d.ts +5 -0
- package/lib/components/badge/Badge.stories.d.ts +8 -0
- package/lib/components/breadcrumbs/Breadcrumbs.stories.d.ts +5 -0
- package/lib/components/button/Button.stories.d.ts +11 -0
- package/lib/components/button/CopyButton.stories.d.ts +5 -0
- package/lib/components/button/CopyButton.styles.d.ts +1 -1
- package/lib/components/button/IconButton.stories.d.ts +10 -0
- package/lib/components/button-toggle/ButtonToggle.stories.d.ts +11 -0
- package/lib/components/card/Card.stories.d.ts +6 -0
- package/lib/components/checkbox/Checkbox.stories.d.ts +9 -0
- package/lib/components/checkbox/CheckboxGroup.stories.d.ts +6 -0
- package/lib/components/chip/Chip.stories.d.ts +8 -0
- package/lib/components/confirmation-dialog/ConfirmationDialog.stories.d.ts +6 -0
- package/lib/components/css-grid/CssGrid.stories.d.ts +7 -0
- package/lib/components/dialog/Dialog.stories.d.ts +5 -0
- package/lib/components/divider/Divider.stories.d.ts +6 -0
- package/lib/components/draggable-list/DraggableList.stories.d.ts +10 -0
- package/lib/components/drawer/Drawer.d.ts +1 -0
- package/lib/components/drawer/Drawer.stories.d.ts +9 -0
- package/lib/components/dynamic-form/DynamicForm.stories.d.ts +5 -0
- package/lib/components/dynamic-form/utils/helpers.d.ts +1 -1
- package/lib/components/empty-state/EmptyState.stories.d.ts +5 -0
- package/lib/components/file-upload/FileUpload.stories.d.ts +8 -0
- package/lib/components/form/Form.stories.d.ts +5 -0
- package/lib/components/form-group/FormGroup.stories.d.ts +5 -0
- package/lib/components/helpers.d.ts +1 -0
- package/lib/components/icon/Icon.stories.d.ts +5 -0
- package/lib/components/inline-edit/InlineEdit.stories.d.ts +15 -0
- package/lib/components/input-form-fields/InputSelect.stories.d.ts +10 -0
- package/lib/components/input-form-fields/InputText.stories.d.ts +14 -0
- package/lib/components/linear-progress/LinearProgress.stories.d.ts +13 -0
- package/lib/components/link/Link.stories.d.ts +6 -0
- package/lib/components/list/List.stories.d.ts +6 -0
- package/lib/components/menu/Menu.stories.d.ts +9 -0
- package/lib/components/navigation-rail/NavigationRail.stories.d.ts +7 -0
- package/lib/components/pill/Pill.stories.d.ts +5 -0
- package/lib/components/popper/Popper.stories.d.ts +6 -0
- package/lib/components/progress/Progress.stories.d.ts +9 -0
- package/lib/components/progress-button/ProgressButton.stories.d.ts +5 -0
- package/lib/components/radio/RadioButton.stories.d.ts +5 -0
- package/lib/components/radio/RadioGroup.stories.d.ts +7 -0
- package/lib/components/search-input/SearchInput.d.ts +11 -0
- package/lib/components/search-input/SearchInput.styles.d.ts +2 -0
- package/lib/components/sidebar/Sidebar.stories.d.ts +8 -0
- package/lib/components/skeleton/Skeleton.stories.d.ts +5 -0
- package/lib/components/snackbar/Snackbar.stories.d.ts +6 -0
- package/lib/components/split-button/SplitButton.stories.d.ts +9 -0
- package/lib/components/switch/Switch.stories.d.ts +12 -0
- package/lib/components/table/Table.stories.d.ts +10 -0
- package/lib/components/table/TablePagination.stories.d.ts +5 -0
- package/lib/components/tabs/Tabs.stories.d.ts +6 -0
- package/lib/components/tooltip/Tooltip.stories.d.ts +5 -0
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.stories.d.ts +8 -0
- package/lib/components/typography/Typography.stories.d.ts +7 -0
- package/package.json +3 -3
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.5.1](https://www.npmjs.com/package/@digital-ai/dot-components) (03/14/2023)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.5.0...2.5.1)
|
|
6
|
+
|
|
7
|
+
**Misc:**
|
|
8
|
+
|
|
9
|
+
- Add jwt-decode to dot-components dependency tree [\#1407](https://github.com/digital-ai/dot-components/pull/1407) ([CWSites](https://github.com/CWSites))
|
|
10
|
+
- Address Storybook lint issues [\#1406](https://github.com/digital-ai/dot-components/pull/1406) ([CWSites](https://github.com/CWSites))
|
|
11
|
+
|
|
12
|
+
## [2.5.0](https://www.npmjs.com/package/@digital-ai/dot-components) (03/10/2023)
|
|
13
|
+
|
|
14
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.21.9...2.5.0)
|
|
15
|
+
|
|
16
|
+
**Features:**
|
|
17
|
+
|
|
18
|
+
- S-90230: App-switcher search instances [\#1382](https://github.com/digital-ai/dot-components/pull/1382) ([jmcnally](https://github.com/jmcnally))
|
|
19
|
+
|
|
20
|
+
**Fixed bugs:**
|
|
21
|
+
|
|
22
|
+
- D-24235: Empty table pagination [\#1402](https://github.com/digital-ai/dot-components/pull/1402) ([ryangamble](https://github.com/ryangamble))
|
|
23
|
+
- D-24216: A few minor app-switcher display changes [\#1400](https://github.com/digital-ai/dot-components/pull/1400) ([jmcnally](https://github.com/jmcnally))
|
|
24
|
+
- Issue \#1271: Updates to `AutoComplete` sizing with `dense` and `size` props [\#1395](https://github.com/digital-ai/dot-components/pull/1395) ([CWSites](https://github.com/CWSites))
|
|
25
|
+
|
|
26
|
+
## [1.21.9](https://www.npmjs.com/package/@digital-ai/dot-components) (03/03/2023)
|
|
27
|
+
|
|
28
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.4.0...1.21.9)
|
|
29
|
+
|
|
30
|
+
**Misc:**
|
|
31
|
+
|
|
32
|
+
- Setup v1 to use dot-icons library [\#1399](https://github.com/digital-ai/dot-components/pull/1399) ([CWSites](https://github.com/CWSites))
|
|
33
|
+
- Update icons 21 02 [\#1386](https://github.com/digital-ai/dot-components/pull/1386) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
34
|
+
|
|
3
35
|
## [2.4.0](https://www.npmjs.com/package/@digital-ai/dot-components) (02/28/2023)
|
|
4
36
|
|
|
5
37
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.3.2...2.4.0)
|
|
@@ -181,6 +213,7 @@
|
|
|
181
213
|
|
|
182
214
|
**Misc:**
|
|
183
215
|
|
|
216
|
+
- Changed Agility icons in dot font [\#1282](https://github.com/digital-ai/dot-components/pull/1282) ([pauldigitalai](https://github.com/pauldigitalai))
|
|
184
217
|
- 18 tuesday oct 22 [\#1280](https://github.com/digital-ai/dot-components/pull/1280) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
185
218
|
|
|
186
219
|
## [2.0.0-rc.3](https://www.npmjs.com/package/@digital-ai/dot-components) (10/27/2022)
|
|
@@ -195,7 +228,6 @@
|
|
|
195
228
|
|
|
196
229
|
**Misc:**
|
|
197
230
|
|
|
198
|
-
- Changed Agility icons in dot font [\#1282](https://github.com/digital-ai/dot-components/pull/1282) ([pauldigitalai](https://github.com/pauldigitalai))
|
|
199
231
|
- D-22855 peer dependencies [\#1278](https://github.com/digital-ai/dot-components/pull/1278) ([CWSites](https://github.com/CWSites))
|
|
200
232
|
|
|
201
233
|
## [1.21.4](https://www.npmjs.com/package/@digital-ai/dot-components) (10/04/2022)
|
|
@@ -255,7 +287,6 @@
|
|
|
255
287
|
- Release Candidate Workflow [\#1251](https://github.com/digital-ai/dot-components/pull/1251) ([CWSites](https://github.com/CWSites))
|
|
256
288
|
- S-85001: add support for react 18 [\#1244](https://github.com/digital-ai/dot-components/pull/1244) ([CWSites](https://github.com/CWSites))
|
|
257
289
|
- S-86694: Extract agility theme [\#1242](https://github.com/digital-ai/dot-components/pull/1242) ([CWSites](https://github.com/CWSites))
|
|
258
|
-
- 28 jully 2022 icon update [\#1231](https://github.com/digital-ai/dot-components/pull/1231) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
259
290
|
|
|
260
291
|
## [1.21.1](https://www.npmjs.com/package/@digital-ai/dot-components) (08/31/2022)
|
|
261
292
|
|
|
@@ -276,7 +307,6 @@
|
|
|
276
307
|
- S-86128: `DotAutocomplete`: Support error/warning icons with the tooltip [\#1237](https://github.com/digital-ai/dot-components/pull/1237) ([dmiletic85](https://github.com/dmiletic85))
|
|
277
308
|
- S-86683: `DotAutocomplete`: expose `onBlur` [\#1236](https://github.com/digital-ai/dot-components/pull/1236) ([dmiletic85](https://github.com/dmiletic85))
|
|
278
309
|
- S-86581: `DotAutocomplete` should allow to pass `readOnly` property into the inner `TextField` [\#1235](https://github.com/digital-ai/dot-components/pull/1235) ([dmiletic85](https://github.com/dmiletic85))
|
|
279
|
-
- S-86369: input field success [\#1226](https://github.com/digital-ai/dot-components/pull/1226) ([CWSites](https://github.com/CWSites))
|
|
280
310
|
|
|
281
311
|
**Fixed bugs:**
|
|
282
312
|
|
|
@@ -285,6 +315,7 @@
|
|
|
285
315
|
|
|
286
316
|
**Misc:**
|
|
287
317
|
|
|
318
|
+
- 28 jully 2022 icon update [\#1231](https://github.com/digital-ai/dot-components/pull/1231) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
288
319
|
- Issue \#1196: `eslint` and `tsconfig` changes [\#1221](https://github.com/digital-ai/dot-components/pull/1221) ([CWSites](https://github.com/CWSites))
|
|
289
320
|
|
|
290
321
|
## [1.20.0](https://www.npmjs.com/package/@digital-ai/dot-components) (07/23/2022)
|
|
@@ -293,6 +324,7 @@
|
|
|
293
324
|
|
|
294
325
|
**Features:**
|
|
295
326
|
|
|
327
|
+
- S-86369: input field success [\#1226](https://github.com/digital-ai/dot-components/pull/1226) ([CWSites](https://github.com/CWSites))
|
|
296
328
|
- S-84069: expose shrink prop to input fields [\#1223](https://github.com/digital-ai/dot-components/pull/1223) ([CWSites](https://github.com/CWSites))
|
|
297
329
|
- Issue \#1210: add prop for noMargin to typography [\#1222](https://github.com/digital-ai/dot-components/pull/1222) ([CWSites](https://github.com/CWSites))
|
|
298
330
|
- 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))
|
|
@@ -675,10 +707,6 @@
|
|
|
675
707
|
|
|
676
708
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.5.4...1.6.0)
|
|
677
709
|
|
|
678
|
-
**Features:**
|
|
679
|
-
|
|
680
|
-
- S-77210: Component - Drawer [\#893](https://github.com/digital-ai/dot-components/pull/893) ([monapatel91](https://github.com/monapatel91))
|
|
681
|
-
|
|
682
710
|
**Fixed bugs:**
|
|
683
711
|
|
|
684
712
|
- D-19382: `DynamicForm`: `isRequired` with value of `false` is not respected [\#919](https://github.com/digital-ai/dot-components/pull/919) ([dmiletic85](https://github.com/dmiletic85))
|
|
@@ -723,6 +751,10 @@
|
|
|
723
751
|
|
|
724
752
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.5.1...1.5.2)
|
|
725
753
|
|
|
754
|
+
**Features:**
|
|
755
|
+
|
|
756
|
+
- S-77210: Component - Drawer [\#893](https://github.com/digital-ai/dot-components/pull/893) ([monapatel91](https://github.com/monapatel91))
|
|
757
|
+
|
|
726
758
|
**Fixed bugs:**
|
|
727
759
|
|
|
728
760
|
- D-19319: `Apptoolbar`: primary logo link is hardcoded to `/` [\#880](https://github.com/digital-ai/dot-components/pull/880) ([dmiletic85](https://github.com/dmiletic85))
|
|
@@ -740,10 +772,6 @@
|
|
|
740
772
|
|
|
741
773
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.4.0...1.5.0)
|
|
742
774
|
|
|
743
|
-
**Features:**
|
|
744
|
-
|
|
745
|
-
- S-80586: Breadcrumbs enhancement \(collapse and expand automatically\) [\#843](https://github.com/digital-ai/dot-components/pull/843) ([dmiletic85](https://github.com/dmiletic85))
|
|
746
|
-
|
|
747
775
|
**Fixed bugs:**
|
|
748
776
|
|
|
749
777
|
- D-19294: Fix broken expand/collapse for uncontrolled accordion [\#866](https://github.com/digital-ai/dot-components/pull/866) ([selsemore](https://github.com/selsemore))
|
|
@@ -787,6 +815,7 @@
|
|
|
787
815
|
|
|
788
816
|
- S-79571: DotInput - expose onKeyDown [\#846](https://github.com/digital-ai/dot-components/pull/846) ([monapatel91](https://github.com/monapatel91))
|
|
789
817
|
- S-79357: evaluate codebase and remove old references to core Tooltip [\#844](https://github.com/digital-ai/dot-components/pull/844) ([CWSites](https://github.com/CWSites))
|
|
818
|
+
- S-80586: Breadcrumbs enhancement \(collapse and expand automatically\) [\#843](https://github.com/digital-ai/dot-components/pull/843) ([dmiletic85](https://github.com/dmiletic85))
|
|
790
819
|
- S-80621: file upload [\#840](https://github.com/digital-ai/dot-components/pull/840) ([CWSites](https://github.com/CWSites))
|
|
791
820
|
- S-76922: file upload [\#820](https://github.com/digital-ai/dot-components/pull/820) ([CWSites](https://github.com/CWSites))
|
|
792
821
|
|
|
@@ -1112,6 +1141,10 @@
|
|
|
1112
1141
|
|
|
1113
1142
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.0.3...1.0.4)
|
|
1114
1143
|
|
|
1144
|
+
**Breaking changes:**
|
|
1145
|
+
|
|
1146
|
+
- S-76919: cleaning up props used with various form elements [\#606](https://github.com/digital-ai/dot-components/pull/606) ([CWSites](https://github.com/CWSites))
|
|
1147
|
+
|
|
1115
1148
|
**Features:**
|
|
1116
1149
|
|
|
1117
1150
|
- S-76930: New Component: DotSnackbar [\#607](https://github.com/digital-ai/dot-components/pull/607) ([coryell1287](https://github.com/coryell1287))
|
package/README.md
CHANGED
|
@@ -62,6 +62,21 @@ export const MyWidget = ({ text }: MyWidgetProps) => {
|
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
```
|
|
65
|
+
### Configuring Jest
|
|
66
|
+
|
|
67
|
+
We are utilizing `@digital-ai/dot-icons` which uses `@font-face`. If you are using Jest then you'll need to update the following files. The location of the files may be different based on the structure of your application
|
|
68
|
+
|
|
69
|
+
#### `jest.config.js`
|
|
70
|
+
```js
|
|
71
|
+
moduleNameMapper: {
|
|
72
|
+
'@digital-ai/dot-icons': '<rootDir>/testing-utils/style-mock.ts',
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### `style-mock.ts`
|
|
77
|
+
```js
|
|
78
|
+
module.exports = {};
|
|
79
|
+
```
|
|
65
80
|
|
|
66
81
|
### Targeting CSS ClassNames
|
|
67
82
|
|