@innovaccer/design-system 2.9.0-0 → 2.9.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.
Files changed (80) hide show
  1. package/core/components/organisms/pageHeader/__stories__/variants/withTabs.story.tsx +7 -7
  2. package/css/dist/index.css +14 -0
  3. package/css/dist/index.css.map +1 -1
  4. package/css/src/components/calendar.css +1 -0
  5. package/css/src/components/checkbox.css +1 -0
  6. package/css/src/components/chip.css +1 -0
  7. package/css/src/components/dropdown.css +1 -0
  8. package/css/src/components/dropdownButton.css +1 -0
  9. package/css/src/components/horizontalNav.css +1 -0
  10. package/css/src/components/input.css +1 -0
  11. package/css/src/components/link.css +1 -0
  12. package/css/src/components/metricInput.css +1 -0
  13. package/css/src/components/radio.css +2 -0
  14. package/css/src/components/slider.css +2 -0
  15. package/css/src/components/verticalNav.css +1 -0
  16. package/dist/index.esm.js +3 -3
  17. package/dist/index.js +3 -3
  18. package/dist/index.umd.js +1 -1
  19. package/dist/index.umd.js.br +0 -0
  20. package/dist/index.umd.js.gz +0 -0
  21. package/docs/src/components/Container/ComponentsContainer.js +2 -2
  22. package/docs/src/components/Container/Container.js +1 -1
  23. package/docs/src/components/Header/Header.js +6 -8
  24. package/docs/src/components/Layout.js +8 -13
  25. package/docs/src/components/LeftNav/LeftNav.js +1 -1
  26. package/docs/src/components/Meta.js +5 -2
  27. package/docs/src/components/css/style.css +4 -0
  28. package/docs/src/components/templates/Default.js +1 -2
  29. package/docs/src/pages/components/avatar/code.mdx +0 -1
  30. package/docs/src/pages/components/avatar/usage.mdx +0 -1
  31. package/docs/src/pages/components/badges/code.mdx +0 -1
  32. package/docs/src/pages/components/badges/usage.mdx +0 -1
  33. package/docs/src/pages/components/breadcrumbs/code.mdx +0 -1
  34. package/docs/src/pages/components/breadcrumbs/usage.mdx +0 -1
  35. package/docs/src/pages/components/button/code.mdx +0 -1
  36. package/docs/src/pages/components/button/content.mdx +0 -1
  37. package/docs/src/pages/components/button/usage.mdx +0 -1
  38. package/docs/src/pages/components/calendar/code.mdx +0 -1
  39. package/docs/src/pages/components/calendar/usage.mdx +0 -1
  40. package/docs/src/pages/components/card/code.mdx +0 -1
  41. package/docs/src/pages/components/card/usage.mdx +0 -1
  42. package/docs/src/pages/components/checkbox/code.mdx +0 -1
  43. package/docs/src/pages/components/checkbox/usage.mdx +0 -1
  44. package/docs/src/pages/components/chips/code.mdx +0 -1
  45. package/docs/src/pages/components/chips/usage.mdx +0 -1
  46. package/docs/src/pages/components/index.mdx +0 -1
  47. package/docs/src/pages/components/message/code.mdx +0 -1
  48. package/docs/src/pages/components/message/usage.mdx +0 -1
  49. package/docs/src/pages/components/overview/tabs/Overview.js +1 -1
  50. package/docs/src/pages/components/overview/tabs/overview.css +2 -3
  51. package/docs/src/pages/components/radio/code.mdx +0 -1
  52. package/docs/src/pages/components/radio/usage.mdx +0 -1
  53. package/docs/src/pages/components/sidesheet/code.mdx +0 -1
  54. package/docs/src/pages/components/sidesheet/interactions.mdx +0 -1
  55. package/docs/src/pages/components/sidesheet/usage.mdx +0 -1
  56. package/docs/src/pages/components/slider/code.mdx +0 -1
  57. package/docs/src/pages/components/slider/usage.mdx +0 -1
  58. package/docs/src/pages/components/statushint/code.mdx +0 -1
  59. package/docs/src/pages/components/statushint/usage.mdx +0 -1
  60. package/docs/src/pages/components/steppers/code.mdx +0 -1
  61. package/docs/src/pages/components/steppers/interactions.mdx +0 -1
  62. package/docs/src/pages/components/steppers/usage.mdx +0 -1
  63. package/docs/src/pages/components/switch/code.mdx +0 -1
  64. package/docs/src/pages/components/switch/interactions.mdx +0 -1
  65. package/docs/src/pages/components/switch/usage.mdx +0 -1
  66. package/docs/src/pages/components/table/code.mdx +0 -1
  67. package/docs/src/pages/components/table/interactions.mdx +0 -1
  68. package/docs/src/pages/components/table/usage.mdx +0 -1
  69. package/docs/src/pages/components/tabs/code.mdx +0 -1
  70. package/docs/src/pages/components/tabs/interactions.mdx +0 -1
  71. package/docs/src/pages/components/tabs/usage.mdx +0 -1
  72. package/docs/src/pages/components/toast/code.mdx +0 -1
  73. package/docs/src/pages/components/toast/interactions.mdx +0 -1
  74. package/docs/src/pages/components/toast/usage.mdx +0 -1
  75. package/docs/src/pages/components/tooltip/code.mdx +0 -1
  76. package/docs/src/pages/components/tooltip/interactions.mdx +0 -1
  77. package/docs/src/pages/components/tooltip/usage.mdx +0 -1
  78. package/docs/src/pages/index.js +1 -1
  79. package/docs/src/util/Frontmatter.js +0 -2
  80. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import PageHeader from '../../PageHeader';
3
- import { Button, Text, Tab, TabsWrapper, Badge } from '@/index';
3
+ import { Button, Text, Tab, TabsWrapper, Pills } from '@/index';
4
4
  import { action } from '@storybook/addon-actions';
5
5
  import { updateKnob } from '@/utils/storybookEventEmitter';
6
6
  import { number, text, boolean } from '@storybook/addon-knobs';
@@ -24,7 +24,7 @@ export const withTabs = () => {
24
24
  label={
25
25
  <>
26
26
  <div className="Tab-count">
27
- <Badge appearance="secondary">2</Badge>
27
+ <Pills appearance="secondary">2</Pills>
28
28
  </div>
29
29
  <Text appearance={active !== 0 ? 'subtle' : undefined}>Tab 1</Text>
30
30
  </>
@@ -36,7 +36,7 @@ export const withTabs = () => {
36
36
  label={
37
37
  <>
38
38
  <div className="Tab-count">
39
- <Badge appearance="secondary">12</Badge>
39
+ <Pills appearance="secondary">12</Pills>
40
40
  </div>
41
41
  <Text appearance={active !== 1 ? 'subtle' : undefined}>Tab 2</Text>
42
42
  </>
@@ -48,7 +48,7 @@ export const withTabs = () => {
48
48
  label={
49
49
  <>
50
50
  <div className="Tab-count">
51
- <Badge appearance="secondary">5</Badge>
51
+ <Pills appearance="secondary">5</Pills>
52
52
  </div>
53
53
  <Text appearance={active !== 2 ? 'subtle' : undefined}>Tab 3</Text>
54
54
  </>
@@ -95,7 +95,7 @@ const customCode = `() => {
95
95
  label={(
96
96
  <>
97
97
  <div className="Tab-count">
98
- <Badge appearance="secondary">2</Badge>
98
+ <Pills appearance="secondary">2</Pills>
99
99
  </div>
100
100
  <Text appearance={active !== 0 ? 'subtle' : undefined}>Tab 1</Text>
101
101
  </>
@@ -107,7 +107,7 @@ const customCode = `() => {
107
107
  label={(
108
108
  <>
109
109
  <div className="Tab-count">
110
- <Badge appearance="secondary">12</Badge>
110
+ <Pills appearance="secondary">12</Pills>
111
111
  </div>
112
112
  <Text appearance={active !== 1 ? 'subtle' : undefined}>Tab 2</Text>
113
113
  </>
@@ -119,7 +119,7 @@ const customCode = `() => {
119
119
  label={(
120
120
  <>
121
121
  <div className="Tab-count">
122
- <Badge appearance="secondary">5</Badge>
122
+ <Pills appearance="secondary">5</Pills>
123
123
  </div>
124
124
  <Text appearance={active !== 2 ? 'subtle' : undefined}>Tab 3</Text>
125
125
  </>
@@ -1430,6 +1430,7 @@ body {
1430
1430
  -ms-user-select: none;
1431
1431
  user-select: none;
1432
1432
  border-radius: var(--spacing-m);
1433
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
1433
1434
  }
1434
1435
 
1435
1436
  .Calendar-value:hover {
@@ -1700,6 +1701,7 @@ body {
1700
1701
  box-sizing: border-box;
1701
1702
  height: 100%;
1702
1703
  width: 100%;
1704
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
1703
1705
  }
1704
1706
 
1705
1707
  .Checkbox-input:focus {
@@ -1780,6 +1782,7 @@ body {
1780
1782
  flex-direction: row;
1781
1783
  cursor: default;
1782
1784
  height: var(--spacing-xl);
1785
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
1783
1786
  }
1784
1787
  .Chip-wrapper {
1785
1788
  display: inline-flex;
@@ -2139,6 +2142,7 @@ body {
2139
2142
 
2140
2143
  .Option {
2141
2144
  display: flex;
2145
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
2142
2146
  }
2143
2147
 
2144
2148
  .Option,
@@ -2223,6 +2227,7 @@ body {
2223
2227
  padding-bottom: unset;
2224
2228
  background: var(--secondary-light);
2225
2229
  color: var(--text);
2230
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
2226
2231
  }
2227
2232
 
2228
2233
  .DropdownButton-wrapper {
@@ -3259,6 +3264,7 @@ body {
3259
3264
  padding-left: var(--spacing-l);
3260
3265
  border-radius: var(--spacing-2);
3261
3266
  margin: 0 var(--spacing-xs);
3267
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
3262
3268
  }
3263
3269
 
3264
3270
  .HorizontalNav-menu--disabled {
@@ -3491,6 +3497,7 @@ body {
3491
3497
  padding-right: var(--spacing-l);
3492
3498
  padding-left: var(--spacing-l);
3493
3499
  background: var(--white);
3500
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
3494
3501
  }
3495
3502
 
3496
3503
  .Input--tiny {
@@ -3624,6 +3631,7 @@ body {
3624
3631
  .Link {
3625
3632
  text-decoration: none;
3626
3633
  font-weight: var(--font-weight-medium);
3634
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
3627
3635
  }
3628
3636
 
3629
3637
  .Link--regular {
@@ -3825,6 +3833,7 @@ body {
3825
3833
  border: var(--border);
3826
3834
  padding-right: var(--spacing-m);
3827
3835
  background: var(--white);
3836
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
3828
3837
  }
3829
3838
 
3830
3839
  .MetricInput--regular {
@@ -4687,6 +4696,7 @@ body {
4687
4696
  justify-content: center;
4688
4697
  box-sizing: border-box;
4689
4698
  z-index: 1;
4699
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
4690
4700
  }
4691
4701
 
4692
4702
  .Radio--disabled {
@@ -4717,6 +4727,7 @@ body {
4717
4727
 
4718
4728
  .Radio-input:checked ~ .Radio-wrapper:after {
4719
4729
  display: block;
4730
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
4720
4731
  }
4721
4732
 
4722
4733
  .Radio-wrapper:after {
@@ -4992,6 +5003,8 @@ body {
4992
5003
  box-sizing: border-box;
4993
5004
  outline: none;
4994
5005
  display: flex;
5006
+ transition: border var(--duration--fast-01) var(--standard-productive-curve),
5007
+ background-color var(--duration--fast-01) var(--standard-productive-curve);
4995
5008
  }
4996
5009
 
4997
5010
  .Slider-handle:hover {
@@ -5909,6 +5922,7 @@ body {
5909
5922
  display: flex;
5910
5923
  align-items: center;
5911
5924
  cursor: pointer;
5925
+ transition: var(--duration--fast-01) var(--standard-productive-curve);
5912
5926
  }
5913
5927
 
5914
5928
  .MenuItem--horizontal {