@digital-ai/dot-components 1.12.0 → 1.13.0

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.0](https://github.com/digital-ai/dot-components/tree/1.13.0) (03/28/2022)
4
+
5
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.12.0...1.13.0)
6
+
7
+ **Features:**
8
+
9
+ - `DotProgress`: Add more Storybook examples [\#1097](https://github.com/digital-ai/dot-components/issues/1097)
10
+ - S-82940: `DotProgress`: Add more Storybook examples [\#1098](https://github.com/digital-ai/dot-components/pull/1098) ([dmiletic85](https://github.com/dmiletic85))
11
+
12
+ **Fixed bugs:**
13
+
14
+ - `DotButtonToggle` wrong type for `value` and `onChange` props [\#1085](https://github.com/digital-ai/dot-components/issues/1085)
15
+ - react-grid-layout library should not be peer dependency [\#1083](https://github.com/digital-ai/dot-components/issues/1083)
16
+ - Check Box not Working with checked attribute property set--- Identified in Release Core [\#1076](https://github.com/digital-ai/dot-components/issues/1076)
17
+ - D-20483: `react-grid-layout` library should not be peer dependency [\#1088](https://github.com/digital-ai/dot-components/pull/1088) ([dmiletic85](https://github.com/dmiletic85))
18
+ - D-20465: `DotButtonToggle` wrong `type` for value and `onChange` [\#1087](https://github.com/digital-ai/dot-components/pull/1087) ([dmiletic85](https://github.com/dmiletic85))
19
+
3
20
  ## [1.12.0](https://github.com/digital-ai/dot-components/tree/1.12.0) (03/25/2022)
4
21
 
5
22
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.11.3...1.12.0)
@@ -561,6 +578,10 @@
561
578
 
562
579
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.3.0...1.3.1)
563
580
 
581
+ **Features:**
582
+
583
+ - S-77126: react jsonschema form wrapper [\#728](https://github.com/digital-ai/dot-components/pull/728) ([TheKeithStewart](https://github.com/TheKeithStewart))
584
+
564
585
  **Fixed bugs:**
565
586
 
566
587
  - Lato 700 is not rendered correctly on Digital.ai Release with dot-components [\#758](https://github.com/digital-ai/dot-components/issues/758)
@@ -581,7 +602,6 @@
581
602
  **Features:**
582
603
 
583
604
  - Forms [\#594](https://github.com/digital-ai/dot-components/issues/594)
584
- - S-77126: react jsonschema form wrapper [\#728](https://github.com/digital-ai/dot-components/pull/728) ([TheKeithStewart](https://github.com/TheKeithStewart))
585
605
  - S-77126: Dynamic Form [\#717](https://github.com/digital-ai/dot-components/pull/717) ([dmiletic85](https://github.com/dmiletic85))
586
606
 
587
607
  **Fixed bugs:**
@@ -625,7 +645,6 @@
625
645
  - next release [\#732](https://github.com/digital-ai/dot-components/pull/732) ([CWSites](https://github.com/CWSites))
626
646
  - S-76840: update contributing guidelines and PR template [\#730](https://github.com/digital-ai/dot-components/pull/730) ([CWSites](https://github.com/CWSites))
627
647
  - Merge pull request \#719 from digital-ai/develop [\#727](https://github.com/digital-ai/dot-components/pull/727) ([CWSites](https://github.com/CWSites))
628
- - MINOR release [\#719](https://github.com/digital-ai/dot-components/pull/719) ([CWSites](https://github.com/CWSites))
629
648
 
630
649
  ## [1.2.0](https://github.com/digital-ai/dot-components/tree/1.2.0) (10/14/2021)
631
650
 
@@ -645,6 +664,7 @@
645
664
 
646
665
  **Merged pull requests:**
647
666
 
667
+ - MINOR release [\#719](https://github.com/digital-ai/dot-components/pull/719) ([CWSites](https://github.com/CWSites))
648
668
  - Icons oct 13 2021 [\#718](https://github.com/digital-ai/dot-components/pull/718) ([BojanKocijan](https://github.com/BojanKocijan))
649
669
  - S-78918: add loading indicator to menu [\#716](https://github.com/digital-ai/dot-components/pull/716) ([CWSites](https://github.com/CWSites))
650
670
  - S-78834: update icon buttons to follow agility theme more closely [\#715](https://github.com/digital-ai/dot-components/pull/715) ([CWSites](https://github.com/CWSites))
@@ -671,6 +691,7 @@
671
691
  - S-79291: update nested dependencies [\#700](https://github.com/digital-ai/dot-components/pull/700) ([CWSites](https://github.com/CWSites))
672
692
  - S-78832: Agility icon & badge updates [\#698](https://github.com/digital-ai/dot-components/pull/698) ([CWSites](https://github.com/CWSites))
673
693
  - S-79251: add workflow for sonarqube scan when code merged to develop [\#697](https://github.com/digital-ai/dot-components/pull/697) ([CWSites](https://github.com/CWSites))
694
+ - S-76906: table action column [\#692](https://github.com/digital-ai/dot-components/pull/692) ([monapatel91](https://github.com/monapatel91))
674
695
 
675
696
  ## [1.1.0](https://github.com/digital-ai/dot-components/tree/1.1.0) (09/29/2021)
676
697
 
@@ -706,7 +727,6 @@
706
727
 
707
728
  **Merged pull requests:**
708
729
 
709
- - S-76906: table action column [\#692](https://github.com/digital-ai/dot-components/pull/692) ([monapatel91](https://github.com/monapatel91))
710
730
  - Next Release [\#689](https://github.com/digital-ai/dot-components/pull/689) ([CWSites](https://github.com/CWSites))
711
731
 
712
732
  ## [1.0.11](https://github.com/digital-ai/dot-components/tree/1.0.11) (09/16/2021)
package/index.umd.js CHANGED
@@ -1,7 +1,7 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@material-ui/core'), require('styled-components'), require('@material-ui/lab'), require('@material-ui/core/styles'), require('react-dropzone'), require('react-grid-layout')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', 'react', '@material-ui/core', 'styled-components', '@material-ui/lab', '@material-ui/core/styles', 'react-dropzone', 'react-grid-layout'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DotComponents = {}, global.React, global.MuiCore, global.styled, global.MuiLab, global.styles, global.reactDropzone, global.GridLayout));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DotComponents = {}, global.React, global.MuiCore, global.styled, global.MuiLab, global.MuiStyles, global.ReactDropzone, global.GridLayout));
5
5
  })(this, (function (exports, React, core, styled, lab, styles, reactDropzone, GridLayout) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1,15 +1,6 @@
1
1
  import { MouseEvent } from 'react';
2
2
  import { CommonProps } from '../CommonProps';
3
- export declare type ButtonToggleSize = 'small' | 'medium' | 'large';
4
- export declare type ButtonToggleOrientation = 'horizontal' | 'vertical';
5
- export declare type ButtonToggleValue = string | number | boolean;
6
- export interface ButtonToggleOption extends CommonProps {
7
- ariaLabel: string;
8
- disabled?: boolean;
9
- iconId?: string;
10
- text?: string;
11
- value: ButtonToggleValue;
12
- }
3
+ import { ButtonToggleOption, ButtonToggleOrientation, ButtonToggleSize, ButtonToggleValue } from './utils/models';
13
4
  export interface ButtonToggleProps extends CommonProps {
14
5
  /** button props for each toggle button options*/
15
6
  buttonOptions: ButtonToggleOption[];
@@ -1 +1,3 @@
1
- export * from './ButtonToggle';
1
+ export type { ButtonToggleOrientation, ButtonToggleOption, ButtonToggleSingleValue, ButtonToggleSize, ButtonToggleValue, } from './utils/models';
2
+ export type { ButtonToggleProps } from './ButtonToggle';
3
+ export { DotButtonToggle } from './ButtonToggle';
@@ -0,0 +1,12 @@
1
+ import { CommonProps } from '../../CommonProps';
2
+ export declare type ButtonToggleSingleValue = string | number | boolean;
3
+ export declare type ButtonToggleSize = 'small' | 'medium' | 'large';
4
+ export declare type ButtonToggleOrientation = 'horizontal' | 'vertical';
5
+ export declare type ButtonToggleValue = ButtonToggleSingleValue | Array<ButtonToggleSingleValue>;
6
+ export interface ButtonToggleOption extends CommonProps {
7
+ ariaLabel: string;
8
+ disabled?: boolean;
9
+ iconId?: string;
10
+ text?: string;
11
+ value: ButtonToggleValue;
12
+ }
@@ -3,7 +3,7 @@ export type { AutoCompleteOption, AutoCompleteProps, AutoCompleteValue, Autocomp
3
3
  export type { AvatarProps } from './avatar/Avatar';
4
4
  export type { BreadcrumbItem } from './breadcrumbs/Breadcrumbs';
5
5
  export type { ButtonProps } from './button/Button';
6
- export type { ButtonToggleProps, ButtonToggleValue, ButtonToggleOption, ButtonToggleOrientation, ButtonToggleSize, } from './button-toggle';
6
+ export type { ButtonToggleProps, ButtonToggleValue, ButtonToggleOption, ButtonToggleOrientation, ButtonToggleSingleValue, ButtonToggleSize, } from './button-toggle';
7
7
  export type { CheckboxProps } from './checkbox/Checkbox';
8
8
  export type { CheckboxGroupProps } from './checkbox/CheckboxGroup';
9
9
  export type { SubmitButtonProps } from './dialog/Dialog';
@@ -31,6 +31,7 @@ export type { TruncateWithTooltipProps } from './truncate-with-tooltip';
31
31
  export type { DraggableItem, DraggableListChangeHandler, } from './draggable-list';
32
32
  export type { SnackbarProps, SnackbarSeverity, SnackbarOrigin, } from './snackbar';
33
33
  export type { CharactersLimit, InlineEditProps } from './inline-edit';
34
+ export type { progressColorOptions, progressVariantOptions, ProgressProps, } from './progress';
34
35
  export { DotAccordion } from './accordion/Accordion';
35
36
  export { DotActionToolbar } from './action-toolbar/ActionToolbar';
36
37
  export { DotAlertBanner } from './alert-banner/AlertBanner';
@@ -70,7 +71,7 @@ export { DotList } from './list';
70
71
  export { DotMenu } from './menu/Menu';
71
72
  export { DotNavigationRail } from './navigation-rail/NavigationRail';
72
73
  export { DotPill } from './pill/Pill';
73
- export { DotProgress } from './progress/Progress';
74
+ export { DotProgress } from './progress';
74
75
  export { DotRadioButton } from './radio/RadioButton';
75
76
  export { DotRadioGroup } from './radio/RadioGroup';
76
77
  export { DotSidebar } from './sidebar/Sidebar';
@@ -0,0 +1,2 @@
1
+ export type { ProgressProps, progressColorOptions, progressVariantOptions, } from './Progress';
2
+ export { DotProgress } from './Progress';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -29,10 +29,10 @@
29
29
  "@material-ui/lab": "4.0.0-alpha.56",
30
30
  "@material-ui/core": "4.12.3",
31
31
  "react-dropzone": "^11.4.2",
32
+ "react-grid-layout": "^1.3.4",
32
33
  "styled-components": "^5.2.1"
33
34
  },
34
35
  "peerDependencies": {
35
- "react": "^16.8.0 || ^17.0.0",
36
- "react-grid-layout": "^1.3.4"
36
+ "react": "^16.8.0 || ^17.0.0"
37
37
  }
38
38
  }