@innovaccer/design-system 2.40.0 → 2.40.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/CHANGELOG.md CHANGED
@@ -1,3 +1,43 @@
1
+ ## 2.40.1 (2024-08-06)
2
+
3
+ ### Highlights
4
+
5
+ - fix(chip): fix horizontal and vertical alignment of multiple chips (02a8c24b)
6
+ - fix(tabs): fix spacing for custom labels tabs (b3d63c8c)
7
+ - fix(materialSymbols): revert material symbols file (e0b20f70)
8
+
9
+ ### Breaking changes
10
+
11
+ NA
12
+
13
+ ### Migration guide
14
+
15
+ NA
16
+
17
+ ### Deprecations
18
+
19
+ NA
20
+
21
+ ### Features
22
+
23
+ NA
24
+
25
+ ### Fixes
26
+
27
+ - fix(chip): fix horizontal and vertical alignment of multiple chips (02a8c24b)
28
+ - fix(tabs): fix spacing for custom labels tabs (b3d63c8c)
29
+ - fix(materialSymbols): revert material symbols file (e0b20f70)
30
+
31
+ ### Improvements
32
+
33
+ NA
34
+
35
+ ### Documentation
36
+
37
+ NA
38
+
39
+ ---
40
+
1
41
  ## 2.40.0 (2024-07-29)
2
42
 
3
43
  ### Highlights
@@ -472,7 +472,7 @@
472
472
  "affectsGlobalScope": false
473
473
  },
474
474
  "../../core/components/atoms/_chip/index.tsx": {
475
- "version": "b814be131c52fa9382a4f05b4602f9049d1d4242b6dfcfc13a98ffff3a225d8a",
475
+ "version": "53fc209d0db2a9fbe286cbd933f6f2dac045671be3ff2d7599d036014fb45e5e",
476
476
  "signature": "e7bd1e8d71c283b6c32cc609c73a1f973f4bc9a3121a7df41d35ec831a50ed01",
477
477
  "affectsGlobalScope": false
478
478
  },
@@ -1592,7 +1592,7 @@
1592
1592
  "affectsGlobalScope": false
1593
1593
  },
1594
1594
  "../../core/components/molecules/tabs/Tabs.tsx": {
1595
- "version": "d21fbda33285c74e3e673bddb5c2367c96ccb6dc6666c0ca36c4600376d64deb",
1595
+ "version": "0e0a0d8729f0ac93c69f79693d90fb53311c6645e39aad88874a3e8c29c21422",
1596
1596
  "signature": "97edfb12ead0538f81c713f98ed1b5c9fb4d1bc8b5d92c6d9d465875c6d20782",
1597
1597
  "affectsGlobalScope": false
1598
1598
  },
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1722261465684
3
+ * Generated on: 1722934541737
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.40.0
5
+ * Version: v2.40.1
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -3142,12 +3142,11 @@ var GenericChip = function GenericChip(props) {
3142
3142
  return labelText;
3143
3143
  };
3144
3144
 
3145
- return /*#__PURE__*/React.createElement("div", {
3146
- className: "d-inline-flex"
3147
- }, /*#__PURE__*/React.createElement(Tooltip, {
3145
+ return /*#__PURE__*/React.createElement(Tooltip, {
3148
3146
  showTooltip: isTextTruncated,
3149
3147
  "data-test": "DesignSystem-GenericChip--Tooltip",
3150
- tooltip: getTooltipText()
3148
+ tooltip: getTooltipText(),
3149
+ triggerClass: "flex-grow-0"
3151
3150
  }, /*#__PURE__*/React.createElement("div", _extends$2({
3152
3151
  tabIndex: disabled ? -1 : 0,
3153
3152
  style: wrapperStyle,
@@ -3174,7 +3173,7 @@ var GenericChip = function GenericChip(props) {
3174
3173
  name: "clear",
3175
3174
  appearance: iconAppearance('right'),
3176
3175
  className: "p-2"
3177
- })))));
3176
+ }))));
3178
3177
  };
3179
3178
  GenericChip.displayName = 'GenericChip';
3180
3179
  GenericChip.defaultProps = {
@@ -18296,8 +18295,9 @@ var Tabs = function Tabs(props) {
18296
18295
  var _classNames9;
18297
18296
 
18298
18297
  var currentTabProp = children && 'props' in tab ? tab.props : tab;
18299
- var disabled = currentTabProp.disabled;
18300
- var tabHeaderClass = classnames((_classNames9 = {}, _defineProperty$1(_classNames9, 'Tab', true), _defineProperty$1(_classNames9, 'Tab--disabled', disabled), _defineProperty$1(_classNames9, 'Tab--active', !disabled && activeIndex === index), _defineProperty$1(_classNames9, 'Tab-selected', !disabled && activeIndex === index), _defineProperty$1(_classNames9, 'align-items-center', true), _classNames9));
18298
+ var disabled = currentTabProp.disabled,
18299
+ label = currentTabProp.label;
18300
+ var tabHeaderClass = classnames((_classNames9 = {}, _defineProperty$1(_classNames9, 'Tab', true), _defineProperty$1(_classNames9, 'Tab--disabled', disabled), _defineProperty$1(_classNames9, 'Tab--active', !disabled && activeIndex === index), _defineProperty$1(_classNames9, 'Tab-selected', !disabled && activeIndex === index), _defineProperty$1(_classNames9, 'align-items-center', true), _defineProperty$1(_classNames9, 'Tab--regular', size === 'regular' && typeof label !== 'string'), _defineProperty$1(_classNames9, 'Tab--small', size === 'small' && typeof label !== 'string'), _classNames9));
18301
18301
  return (
18302
18302
  /*#__PURE__*/
18303
18303
  // TODO(a11y)
@@ -31468,6 +31468,6 @@ AIResponse.Button = ChatButton;
31468
31468
  AIResponse.ActionBar = ChatActionBar;
31469
31469
  AIResponse.Body = ChatBody;
31470
31470
 
31471
- var version = "2.40.0";
31471
+ var version = "2.40.1";
31472
31472
 
31473
31473
  export { AIButton, AIChip, AIIconButton, AIResponse, ActionCard, Avatar, AvatarGroup, AvatarSelection, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, Combobox, DatePicker, DateRangePicker, Dialog, Divider, Dropdown, Dropzone, EditableChipInput, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, HelpText, HorizontalNav, Icon, InlineMessage, Input, X as InputMask, KeyValuePair, Label, Legend, Link, LinkButton, List, Listbox, Menu, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sara, SaraSparkle, Select, SelectionCard, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, TextField, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1722261465945
3
+ * Generated on: 1722934542003
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.40.0
5
+ * Version: v2.40.1
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -2750,12 +2750,11 @@
2750
2750
  return labelText;
2751
2751
  };
2752
2752
 
2753
- return /*#__PURE__*/React__namespace.createElement("div", {
2754
- className: "d-inline-flex"
2755
- }, /*#__PURE__*/React__namespace.createElement(Tooltip, {
2753
+ return /*#__PURE__*/React__namespace.createElement(Tooltip, {
2756
2754
  showTooltip: isTextTruncated,
2757
2755
  "data-test": "DesignSystem-GenericChip--Tooltip",
2758
- tooltip: getTooltipText()
2756
+ tooltip: getTooltipText(),
2757
+ triggerClass: "flex-grow-0"
2759
2758
  }, /*#__PURE__*/React__namespace.createElement("div", __assign$1({
2760
2759
  tabIndex: disabled ? -1 : 0,
2761
2760
  style: wrapperStyle,
@@ -2782,7 +2781,7 @@
2782
2781
  name: "clear",
2783
2782
  appearance: iconAppearance('right'),
2784
2783
  className: "p-2"
2785
- })))));
2784
+ }))));
2786
2785
  };
2787
2786
  GenericChip.displayName = 'GenericChip';
2788
2787
  GenericChip.defaultProps = {
@@ -12772,8 +12771,9 @@
12772
12771
  var _a;
12773
12772
 
12774
12773
  var currentTabProp = children && 'props' in tab ? tab.props : tab;
12775
- var disabled = currentTabProp.disabled;
12776
- var tabHeaderClass = classNames__default["default"]((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && activeIndex === index, _a['Tab-selected'] = !disabled && activeIndex === index, _a['align-items-center'] = true, _a));
12774
+ var disabled = currentTabProp.disabled,
12775
+ label = currentTabProp.label;
12776
+ var tabHeaderClass = classNames__default["default"]((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && activeIndex === index, _a['Tab-selected'] = !disabled && activeIndex === index, _a['align-items-center'] = true, _a['Tab--regular'] = size === 'regular' && typeof label !== 'string', _a['Tab--small'] = size === 'small' && typeof label !== 'string', _a));
12777
12777
  return /*#__PURE__*/React__namespace.createElement("div", {
12778
12778
  ref: function ref(element) {
12779
12779
  return element && !disabled && tabRefs.push(element);
@@ -25607,7 +25607,7 @@
25607
25607
  AIResponse.ActionBar = ChatActionBar;
25608
25608
  AIResponse.Body = ChatBody;
25609
25609
 
25610
- var version = "2.40.0";
25610
+ var version = "2.40.1";
25611
25611
 
25612
25612
  exports.AIButton = AIButton;
25613
25613
  exports.AIChip = AIChip;