@digital-ai/dot-components 1.14.0 → 1.14.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.14.1](https://github.com/digital-ai/dot-components/tree/1.14.1) (04/07/2022)
4
+
5
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.14.0...1.14.1)
6
+
7
+ **Features:**
8
+
9
+ - `DotSwitch`: Add more Storybook examples [\#1113](https://github.com/digital-ai/dot-components/issues/1113)
10
+ - `Button`: Add more Storybook examples [\#1109](https://github.com/digital-ai/dot-components/issues/1109)
11
+
12
+ **Fixed bugs:**
13
+
14
+ - Corner radius is missing for bulk action bar [\#1117](https://github.com/digital-ai/dot-components/issues/1117)
15
+ - Text is not centered in avatar circle [\#1115](https://github.com/digital-ai/dot-components/issues/1115)
16
+ - Checkbox column takes up to much space in a multi-select table [\#1111](https://github.com/digital-ai/dot-components/issues/1111)
17
+ - `DotNavigationRail` Should be able to update the selected rail [\#1104](https://github.com/digital-ai/dot-components/issues/1104)
18
+ - D-20763: Fix bulk action toolbar upper corners [\#1118](https://github.com/digital-ai/dot-components/pull/1118) ([selsemore](https://github.com/selsemore))
19
+ - D-20736: Fix text alignment for small DotAvatar [\#1116](https://github.com/digital-ai/dot-components/pull/1116) ([selsemore](https://github.com/selsemore))
20
+ - D-20719: `DotTable`: Checkbox column takes up to much space in a multi-select table [\#1112](https://github.com/digital-ai/dot-components/pull/1112) ([dmiletic85](https://github.com/dmiletic85))
21
+ - D-20660: `DotNavigationRail`: Should be able to update the selected rail [\#1106](https://github.com/digital-ai/dot-components/pull/1106) ([dmiletic85](https://github.com/dmiletic85))
22
+
3
23
  ## [1.14.0](https://github.com/digital-ai/dot-components/tree/1.14.0) (04/01/2022)
4
24
 
5
25
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.13.0...1.14.0)
@@ -49,6 +69,7 @@
49
69
  - S-82899: `DotCheckbox`: Add more Storybook examples [\#1090](https://github.com/digital-ai/dot-components/pull/1090) ([dmiletic85](https://github.com/dmiletic85))
50
70
  - S-82453: `TruncateWithTooltip`: Create new component [\#1072](https://github.com/digital-ai/dot-components/pull/1072) ([dmiletic85](https://github.com/dmiletic85))
51
71
  - S-82519: `Snackbar` Allow positioning [\#1064](https://github.com/digital-ai/dot-components/pull/1064) ([dmiletic85](https://github.com/dmiletic85))
72
+ - S-82617: `DotInputText` Expose mouse up event [\#1063](https://github.com/digital-ai/dot-components/pull/1063) ([dmiletic85](https://github.com/dmiletic85))
52
73
  - S-76904: `InlineEdit` improvements [\#1053](https://github.com/digital-ai/dot-components/pull/1053) ([dmiletic85](https://github.com/dmiletic85))
53
74
  - S-82059: `DraggableList`: Create and export the component [\#1003](https://github.com/digital-ai/dot-components/pull/1003) ([dmiletic85](https://github.com/dmiletic85))
54
75
 
@@ -74,10 +95,6 @@
74
95
 
75
96
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.11.2...1.11.3)
76
97
 
77
- **Features:**
78
-
79
- - S-82617: `DotInputText` Expose mouse up event [\#1063](https://github.com/digital-ai/dot-components/pull/1063) ([dmiletic85](https://github.com/dmiletic85))
80
-
81
98
  **Merged pull requests:**
82
99
 
83
100
  - March 16 2022 Agility icons [\#1066](https://github.com/digital-ai/dot-components/pull/1066) ([BojanKocijan](https://github.com/BojanKocijan))
@@ -334,7 +351,6 @@
334
351
 
335
352
  **Features:**
336
353
 
337
- - S-80871: `Sidebar` Changes on back arrow [\#896](https://github.com/digital-ai/dot-components/pull/896) ([dmiletic85](https://github.com/dmiletic85))
338
354
  - S-77210: Component - Drawer [\#893](https://github.com/digital-ai/dot-components/pull/893) ([monapatel91](https://github.com/monapatel91))
339
355
 
340
356
  **Fixed bugs:**
@@ -367,6 +383,7 @@
367
383
  - `sidebar` Changes on back arrow [\#890](https://github.com/digital-ai/dot-components/issues/890)
368
384
  - `Breadcrumbs` Display tooltip on last item \(on hover\) when it is clipped with ellipsis [\#878](https://github.com/digital-ai/dot-components/issues/878)
369
385
  - S-80939: `Menu`: Add option to customize item's height [\#902](https://github.com/digital-ai/dot-components/pull/902) ([dmiletic85](https://github.com/dmiletic85))
386
+ - S-80871: `Sidebar` Changes on back arrow [\#896](https://github.com/digital-ai/dot-components/pull/896) ([dmiletic85](https://github.com/dmiletic85))
370
387
  - S-80855: Display tooltip on last breadcrumb item \(on hover\) when it is clipped with ellipsis [\#883](https://github.com/digital-ai/dot-components/pull/883) ([dmiletic85](https://github.com/dmiletic85))
371
388
 
372
389
  **Fixed bugs:**
@@ -540,7 +557,6 @@
540
557
  **Merged pull requests:**
541
558
 
542
559
  - S-79569: Do not set custom class for table cell if none was provided [\#808](https://github.com/digital-ai/dot-components/pull/808) ([selsemore](https://github.com/selsemore))
543
- - 17 nov2021 update icon [\#803](https://github.com/digital-ai/dot-components/pull/803) ([BojanKocijan](https://github.com/BojanKocijan))
544
560
 
545
561
  ## [1.3.3](https://github.com/digital-ai/dot-components/tree/1.3.3) (11/16/2021)
546
562
 
@@ -564,6 +580,7 @@
564
580
 
565
581
  **Merged pull requests:**
566
582
 
583
+ - 17 nov2021 update icon [\#803](https://github.com/digital-ai/dot-components/pull/803) ([BojanKocijan](https://github.com/BojanKocijan))
567
584
  - Next minor release [\#796](https://github.com/digital-ai/dot-components/pull/796) ([CWSites](https://github.com/CWSites))
568
585
  - S-80103: add `yarn format:check` to PR verification and release testing [\#789](https://github.com/digital-ai/dot-components/pull/789) ([CWSites](https://github.com/CWSites))
569
586
  - S-79880: Add 'target' prop to ListItemProps [\#788](https://github.com/digital-ai/dot-components/pull/788) ([selsemore](https://github.com/selsemore))
@@ -769,7 +786,6 @@
769
786
 
770
787
  - Console warnings while running unit tests for codebase that is consuming dot-components library [\#629](https://github.com/digital-ai/dot-components/issues/629)
771
788
  - D-18424: include breadcrumb wrapper with breadcrumb component [\#675](https://github.com/digital-ai/dot-components/pull/675) ([CWSites](https://github.com/CWSites))
772
- - D-18536: material 4.12.3 upgrade [\#667](https://github.com/digital-ai/dot-components/pull/667) ([CWSites](https://github.com/CWSites))
773
789
 
774
790
  **Merged pull requests:**
775
791
 
@@ -791,6 +807,7 @@
791
807
  - Update Agility colors [\#656](https://github.com/digital-ai/dot-components/issues/656)
792
808
  - Add aria-label property [\#632](https://github.com/digital-ai/dot-components/issues/632)
793
809
  - D-18730: action toolbar support [\#671](https://github.com/digital-ai/dot-components/pull/671) ([CWSites](https://github.com/CWSites))
810
+ - D-18536: material 4.12.3 upgrade [\#667](https://github.com/digital-ai/dot-components/pull/667) ([CWSites](https://github.com/CWSites))
794
811
  - D-18607: Fix rowsPerPage parsing and do not pad table with empty rows [\#655](https://github.com/digital-ai/dot-components/pull/655) ([selsemore](https://github.com/selsemore))
795
812
 
796
813
  **Merged pull requests:**
package/index.esm.js CHANGED
@@ -1178,7 +1178,7 @@ const StyledAvatar = styled(Avatar).withConfig({
1178
1178
  componentId: "sc-13bzj2s-0"
1179
1179
  })(["", ""], ({
1180
1180
  theme
1181
- }) => css(["&.MuiAvatar-root{display:inline-flex;background-color:", ";border:0px;&:focus-visible{box-shadow:0px 0px 0px 3px ", ",0px 0px 0px 5px ", ";outline:0;}.dot-i,.dot-typography{color:", ";}&.small{height:", "px;width:", "px;}&.medium{height:", "px;width:", "px;}&.large{height:", "px;width:", "px;}}"], ({
1181
+ }) => css(["&.MuiAvatar-root{display:inline-flex;background-color:", ";border:0px;&:focus-visible{box-shadow:0px 0px 0px 3px ", ",0px 0px 0px 5px ", ";outline:0;}.dot-i,.dot-typography{color:", ";margin-bottom:0;}&.small{height:", "px;width:", "px;}&.medium{height:", "px;width:", "px;}&.large{height:", "px;width:", "px;}}"], ({
1182
1182
  color
1183
1183
  }) => {
1184
1184
  return theme.palette.product === 'agility' && color === 'default' ? theme.palette.layer.n0 : color && theme.palette.avatarColors[color] ? theme.palette.avatarColors[color].backgroundColor : theme.palette.avatarColors['default'].backgroundColor;
@@ -5829,6 +5829,11 @@ const DotNavigationRail = ({
5829
5829
  }) => {
5830
5830
  const rootClasses = useStylesWithRootClass(rootClassName$k, className);
5831
5831
  const [selectedItemIndex, setSelectedItemIndex] = useState(_selectedIndex);
5832
+ /* Used to change selected index programmatically from the consumer component */
5833
+
5834
+ useEffect(() => {
5835
+ setSelectedItemIndex(_selectedIndex);
5836
+ }, [_selectedIndex]);
5832
5837
 
5833
5838
  const onItemSelect = index => () => {
5834
5839
  setSelectedItemIndex(index);
@@ -6249,7 +6254,7 @@ const StyledPaper = styled(Paper).withConfig({
6249
6254
  componentId: "s95z6y-0"
6250
6255
  })(["", ""], ({
6251
6256
  theme
6252
- }) => css(["&.", "{background:", ";border:1px solid ", ";&.loading{opacity:0.4;pointer-events:none;.dot-table-pagination{display:none;}}}"], rootClassName$d, theme.palette.product === 'agility' && theme.palette.layer.n50, theme.palette.product === 'agility' ? theme.palette.layer.n100 : theme.palette.grey[200]));
6257
+ }) => css(["&.", "{background:", ";overflow:hidden;border:1px solid ", ";&.loading{opacity:0.4;pointer-events:none;.dot-table-pagination{display:none;}}}"], rootClassName$d, theme.palette.product === 'agility' && theme.palette.layer.n50, theme.palette.product === 'agility' ? theme.palette.layer.n100 : theme.palette.grey[200]));
6253
6258
  const StyledTableContainer = styled(TableContainer).withConfig({
6254
6259
  displayName: "Tablestyles__StyledTableContainer",
6255
6260
  componentId: "s95z6y-1"
@@ -6424,7 +6429,7 @@ const StyledTableBodyCheckboxCell = styled(TableCell).withConfig({
6424
6429
  componentId: "ebk3sz-0"
6425
6430
  })(["", ""], ({
6426
6431
  theme
6427
- }) => css(["&.", "{padding-top:", ";padding-bottom:", ";}"], rootClassName$b, theme.spacing(0), theme.spacing(0)));
6432
+ }) => css(["&.", "{.dot-form-control-label{margin:0;}width:", "px;padding:", ";}"], rootClassName$b, theme.spacing(5), theme.spacing(0, 1)));
6428
6433
 
6429
6434
  const DotBodyCheckboxCell = ({
6430
6435
  ariaLabel,
@@ -6680,7 +6685,7 @@ const StyledTableHeaderCheckboxCell = styled(TableCell).withConfig({
6680
6685
  componentId: "ymqg8x-0"
6681
6686
  })(["", ""], ({
6682
6687
  theme
6683
- }) => css(["&.", "{padding-top:", ";padding-bottom:", ";}"], rootClassName$7, theme.spacing(0), theme.spacing(0)));
6688
+ }) => css(["&.", "{.dot-form-control-label{margin:0;}width:", "px;padding:", ";}"], rootClassName$7, theme.spacing(5), theme.spacing(0, 1)));
6684
6689
 
6685
6690
  const DotHeaderCheckboxCell = ({
6686
6691
  ariaLabel,
package/index.umd.js CHANGED
@@ -1305,7 +1305,7 @@
1305
1305
  componentId: "sc-13bzj2s-0"
1306
1306
  })(templateObject_2$T || (templateObject_2$T = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
1307
1307
  var theme = _a.theme;
1308
- return styled.css(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n &.MuiAvatar-root {\n display: inline-flex;\n background-color: ", ";\n border: 0px;\n &:focus-visible {\n box-shadow: 0px 0px 0px 3px ", ",\n 0px 0px 0px 5px ", ";\n outline: 0;\n }\n\n .dot-i,\n .dot-typography {\n color: ", ";\n }\n\n &.small {\n height: ", "px;\n width: ", "px;\n }\n\n &.medium {\n height: ", "px;\n width: ", "px;\n }\n\n &.large {\n height: ", "px;\n width: ", "px;\n }\n }\n "], ["\n &.MuiAvatar-root {\n display: inline-flex;\n background-color: ", ";\n border: 0px;\n &:focus-visible {\n box-shadow: 0px 0px 0px 3px ", ",\n 0px 0px 0px 5px ", ";\n outline: 0;\n }\n\n .dot-i,\n .dot-typography {\n color: ", ";\n }\n\n &.small {\n height: ", "px;\n width: ", "px;\n }\n\n &.medium {\n height: ", "px;\n width: ", "px;\n }\n\n &.large {\n height: ", "px;\n width: ", "px;\n }\n }\n "])), function (_a) {
1308
+ return styled.css(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n &.MuiAvatar-root {\n display: inline-flex;\n background-color: ", ";\n border: 0px;\n &:focus-visible {\n box-shadow: 0px 0px 0px 3px ", ",\n 0px 0px 0px 5px ", ";\n outline: 0;\n }\n\n .dot-i,\n .dot-typography {\n color: ", ";\n margin-bottom: 0;\n }\n\n &.small {\n height: ", "px;\n width: ", "px;\n }\n\n &.medium {\n height: ", "px;\n width: ", "px;\n }\n\n &.large {\n height: ", "px;\n width: ", "px;\n }\n }\n "], ["\n &.MuiAvatar-root {\n display: inline-flex;\n background-color: ", ";\n border: 0px;\n &:focus-visible {\n box-shadow: 0px 0px 0px 3px ", ",\n 0px 0px 0px 5px ", ";\n outline: 0;\n }\n\n .dot-i,\n .dot-typography {\n color: ", ";\n margin-bottom: 0;\n }\n\n &.small {\n height: ", "px;\n width: ", "px;\n }\n\n &.medium {\n height: ", "px;\n width: ", "px;\n }\n\n &.large {\n height: ", "px;\n width: ", "px;\n }\n }\n "])), function (_a) {
1309
1309
  var color = _a.color;
1310
1310
  return theme.palette.product === 'agility' && color === 'default' ? theme.palette.layer.n0 : color && theme.palette.avatarColors[color] ? theme.palette.avatarColors[color].backgroundColor : theme.palette.avatarColors['default'].backgroundColor;
1311
1311
  }, theme.palette.layer.n0, theme.palette.layer.n900, function (_a) {
@@ -6335,6 +6335,12 @@
6335
6335
  var _d = React.useState(selectedIndex),
6336
6336
  selectedItemIndex = _d[0],
6337
6337
  setSelectedItemIndex = _d[1];
6338
+ /* Used to change selected index programmatically from the consumer component */
6339
+
6340
+
6341
+ React.useEffect(function () {
6342
+ setSelectedItemIndex(selectedIndex);
6343
+ }, [selectedIndex]);
6338
6344
 
6339
6345
  var onItemSelect = function onItemSelect(index) {
6340
6346
  return function () {
@@ -6798,7 +6804,7 @@
6798
6804
  componentId: "s95z6y-0"
6799
6805
  })(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
6800
6806
  var theme = _a.theme;
6801
- return styled.css(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n &.", " {\n background: ", ";\n border: 1px solid\n ", ";\n\n // while loading, change opacity, disable pointer events\n // and hide pagination.\n &.loading {\n opacity: 0.4;\n pointer-events: none;\n .dot-table-pagination {\n display: none;\n }\n }\n }\n "], ["\n &.", " {\n background: ", ";\n border: 1px solid\n ", ";\n\n // while loading, change opacity, disable pointer events\n // and hide pagination.\n &.loading {\n opacity: 0.4;\n pointer-events: none;\n .dot-table-pagination {\n display: none;\n }\n }\n }\n "])), rootClassName$d, theme.palette.product === 'agility' && theme.palette.layer.n50, theme.palette.product === 'agility' ? theme.palette.layer.n100 : theme.palette.grey[200]);
6807
+ return styled.css(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n &.", " {\n background: ", ";\n overflow: hidden;\n border: 1px solid\n ", ";\n\n // while loading, change opacity, disable pointer events\n // and hide pagination.\n &.loading {\n opacity: 0.4;\n pointer-events: none;\n .dot-table-pagination {\n display: none;\n }\n }\n }\n "], ["\n &.", " {\n background: ", ";\n overflow: hidden;\n border: 1px solid\n ", ";\n\n // while loading, change opacity, disable pointer events\n // and hide pagination.\n &.loading {\n opacity: 0.4;\n pointer-events: none;\n .dot-table-pagination {\n display: none;\n }\n }\n }\n "])), rootClassName$d, theme.palette.product === 'agility' && theme.palette.layer.n50, theme.palette.product === 'agility' ? theme.palette.layer.n100 : theme.palette.grey[200]);
6802
6808
  });
6803
6809
  var StyledTableContainer = styled__default["default"](core.TableContainer).withConfig({
6804
6810
  displayName: "Tablestyles__StyledTableContainer",
@@ -6987,7 +6993,7 @@
6987
6993
  componentId: "ebk3sz-0"
6988
6994
  })(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
6989
6995
  var theme = _a.theme;
6990
- return styled.css(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n &.", " {\n /* Override only top/bottom, but preserve left/right padding */\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "], ["\n &.", " {\n /* Override only top/bottom, but preserve left/right padding */\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "])), rootClassName$b, theme.spacing(0), theme.spacing(0));
6996
+ return styled.css(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n &.", " {\n .dot-form-control-label {\n margin: 0;\n }\n width: ", "px;\n padding: ", ";\n }\n "], ["\n &.", " {\n .dot-form-control-label {\n margin: 0;\n }\n width: ", "px;\n padding: ", ";\n }\n "])), rootClassName$b, theme.spacing(5), theme.spacing(0, 1));
6991
6997
  });
6992
6998
  var templateObject_1$b, templateObject_2$b;
6993
6999
 
@@ -7264,7 +7270,7 @@
7264
7270
  componentId: "ymqg8x-0"
7265
7271
  })(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
7266
7272
  var theme = _a.theme;
7267
- return styled.css(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n &.", " {\n /* Override only top/bottom, but preserve left/right padding */\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "], ["\n &.", " {\n /* Override only top/bottom, but preserve left/right padding */\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "])), rootClassName$7, theme.spacing(0), theme.spacing(0));
7273
+ return styled.css(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n &.", " {\n .dot-form-control-label {\n margin: 0;\n }\n width: ", "px;\n padding: ", ";\n }\n "], ["\n &.", " {\n .dot-form-control-label {\n margin: 0;\n }\n width: ", "px;\n padding: ", ";\n }\n "])), rootClassName$7, theme.spacing(5), theme.spacing(0, 1));
7268
7274
  });
7269
7275
  var templateObject_1$7, templateObject_2$7;
7270
7276
 
@@ -0,0 +1,4 @@
1
+ export type { ButtonProps } from './Button';
2
+ export type { IconButtonProps, IconButtonColor, IconButtonSize, } from './IconButton';
3
+ export { DotButton } from './Button';
4
+ export { DotIconButton } from './IconButton';
@@ -2,24 +2,23 @@ export type { AppToolbarProps } from './app-toolbar/AppToolbar';
2
2
  export type { AutoCompleteOption, AutoCompleteProps, AutoCompleteValue, AutocompleteRenderOptionState, } from './auto-complete';
3
3
  export type { AvatarProps } from './avatar/Avatar';
4
4
  export type { BreadcrumbItem } from './breadcrumbs/Breadcrumbs';
5
- export type { ButtonProps } from './button/Button';
5
+ export type { ButtonProps, IconButtonProps, IconButtonColor, IconButtonSize, } from './button';
6
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';
10
10
  export type { DynamicFormProps } from './dynamic-form/DynamicForm';
11
11
  export type { ConditionFunction, ControlClickHandler, DisabledConditionFunction, DisabledControlCondition, DynamicFormConfig, DynamicFormControl, DynamicFormControlProps, DynamicFormControlType, DynamicFormOutputData, DynamicFormSectionProps, DynamicFormState, DynamicFormStateItem, FieldValidation, } from './dynamic-form/models';
12
- export type { IconButtonProps } from './button/IconButton';
13
12
  export type { InputTextProps } from './input-form-fields/InputText';
14
13
  export type { InputSelectProps, InputSelectOption, } from './input-form-fields/InputSelect';
15
14
  export type { LinkUnderline } from './link/Link';
16
15
  export type { ListItemProps } from './list';
17
16
  export type { MenuItemProps } from './menu/Menu';
18
- export type { RailItem } from './navigation-rail/NavigationRail';
17
+ export type { RailItem, RailItemsPosition } from './navigation-rail';
19
18
  export type { RadioButtonProps } from './radio/RadioButton';
20
19
  export type { RadioGroupProps } from './radio/RadioGroup';
21
20
  export type { BackItemProps, SidebarProps } from './sidebar/Sidebar';
22
- export type { SwitchProps } from './switch/Switch';
21
+ export type { SwitchProps, SwitchColor, SwitchSize, SwitchLabelPlacement, } from './switch';
23
22
  export type { DotColumnHeader, MultiSelect, Order, RowSelectionChangeHandler, RowsPerPageOption, TableDataWithPagination, TableRowProps, TableRowSelectChangeHandler, TextAlignment, SortDirection, } from './table';
24
23
  export type { TabProps } from './tabs/Tabs';
25
24
  export type { TypographyVariant } from './typography/Typography';
@@ -43,7 +42,7 @@ export { DotAvatar } from './avatar/Avatar';
43
42
  export { DotAvatarGroup } from './avatar-group/AvatarGroup';
44
43
  export { DotBadge } from './badge';
45
44
  export { DotBreadcrumbs } from './breadcrumbs/Breadcrumbs';
46
- export { DotButton } from './button/Button';
45
+ export { DotButton, DotIconButton } from './button';
47
46
  export { DotButtonToggle } from './button-toggle';
48
47
  export { DotCard } from './card/Card';
49
48
  export { DotCardContent } from './card/CardContent';
@@ -63,14 +62,13 @@ export { DotForm } from './form/Form';
63
62
  export { DotFormGroup } from './form-group/FormGroup';
64
63
  export { DotDynamicForm } from './dynamic-form/DynamicForm';
65
64
  export { DotIcon } from './icon/Icon';
66
- export { DotIconButton } from './button/IconButton';
67
65
  export { DotInlineEdit } from './inline-edit';
68
66
  export { DotInputText } from './input-form-fields/InputText';
69
67
  export { DotInputSelect } from './input-form-fields/InputSelect';
70
68
  export { DotLink } from './link/Link';
71
69
  export { DotList } from './list';
72
70
  export { DotMenu } from './menu/Menu';
73
- export { DotNavigationRail } from './navigation-rail/NavigationRail';
71
+ export { DotNavigationRail } from './navigation-rail';
74
72
  export { DotPill } from './pill/Pill';
75
73
  export { DotProgress } from './progress';
76
74
  export { DotRadioButton } from './radio/RadioButton';
@@ -80,7 +78,7 @@ export { DotSkeleton } from './skeleton/Skeleton';
80
78
  export { DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './snackbar';
81
79
  export { DotSplitButton } from './split-button/SplitButton';
82
80
  export { DotProgressButton } from './progress-button/ProgressButton';
83
- export { DotSwitch } from './switch/Switch';
81
+ export { DotSwitch } from './switch';
84
82
  export { DotHeaderRow, DotTable, DotTablePagination } from './table';
85
83
  export { DotTooltip } from './tooltip/Tooltip';
86
84
  export { DotTabs } from './tabs/Tabs';
@@ -0,0 +1,2 @@
1
+ export declare const programmaticNavigationClassName = "dot-programmatic-navigation-story";
2
+ export declare const StyledWithProgrammaticNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ export type { RailItemsPosition, RailItem, NavigationRailProps, } from './NavigationRail';
2
+ export { DotNavigationRail } from './NavigationRail';
@@ -0,0 +1,2 @@
1
+ export type { SwitchProps, SwitchColor, SwitchSize, SwitchLabelPlacement, } from './Switch';
2
+ export { DotSwitch } from './Switch';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [