@availity/mui-stepper 0.3.0 → 0.3.2

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
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.3.2](https://github.com/Availity/element/compare/@availity/mui-stepper@0.3.1...@availity/mui-stepper@0.3.2) (2025-01-22)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-button` updated to version `0.3.1`
10
+ * `mui-icon` updated to version `0.3.1`
11
+ ## [0.3.1](https://github.com/Availity/element/compare/@availity/mui-stepper@0.3.0...@availity/mui-stepper@0.3.1) (2025-01-15)
12
+
5
13
  ## [0.3.0](https://github.com/Availity/element/compare/@availity/mui-stepper@0.2.4...@availity/mui-stepper@0.3.0) (2025-01-09)
6
14
 
7
15
 
package/README.md CHANGED
@@ -12,7 +12,7 @@ This package extends the MUI Stepper component: [MUI Stepper Docs](https://mui.c
12
12
 
13
13
  Live demo and documentation in our [Storybook](https://availity.github.io/element/?path=/docs/components-stepper-introduction--docs)
14
14
 
15
- Availity standards for design and usage can be found in the [Availity Design Guide](https://zeroheight.com/2e36e50c7)
15
+ Availity standards for design and usage can be found in the [Availity Design Guide](https://design.availity.com/2e36e50c7)
16
16
 
17
17
  ## Installation
18
18
 
package/dist/index.js CHANGED
@@ -1595,12 +1595,16 @@ var Stepper = (_a) => {
1595
1595
  ) }),
1596
1596
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1597
1597
  import_Stepper.default,
1598
- __spreadProps(__spreadValues({}, rest), {
1598
+ __spreadProps(__spreadValues({
1599
+ "aria-label": "multi-step process",
1600
+ role: "region"
1601
+ }, rest), {
1599
1602
  connector,
1600
1603
  orientation,
1601
1604
  alternativeLabel,
1602
1605
  ref: stepperRef,
1603
- children
1606
+ children,
1607
+ tabIndex: 0
1604
1608
  })
1605
1609
  ),
1606
1610
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ScrollIconContainer, { style: { paddingLeft: "8px" }, children: showRightButton && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
@@ -1620,7 +1624,10 @@ var Stepper = (_a) => {
1620
1624
  ) })
1621
1625
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1622
1626
  import_Stepper.default,
1623
- __spreadProps(__spreadValues({}, rest), {
1627
+ __spreadProps(__spreadValues({
1628
+ "aria-label": "multi-step process",
1629
+ role: "region"
1630
+ }, rest), {
1624
1631
  connector,
1625
1632
  orientation,
1626
1633
  alternativeLabel,
package/dist/index.mjs CHANGED
@@ -1576,12 +1576,16 @@ var Stepper = (_a) => {
1576
1576
  ) }),
1577
1577
  /* @__PURE__ */ jsx14(
1578
1578
  MuiStepper,
1579
- __spreadProps(__spreadValues({}, rest), {
1579
+ __spreadProps(__spreadValues({
1580
+ "aria-label": "multi-step process",
1581
+ role: "region"
1582
+ }, rest), {
1580
1583
  connector,
1581
1584
  orientation,
1582
1585
  alternativeLabel,
1583
1586
  ref: stepperRef,
1584
- children
1587
+ children,
1588
+ tabIndex: 0
1585
1589
  })
1586
1590
  ),
1587
1591
  /* @__PURE__ */ jsx14(ScrollIconContainer, { style: { paddingLeft: "8px" }, children: showRightButton && /* @__PURE__ */ jsx14(
@@ -1601,7 +1605,10 @@ var Stepper = (_a) => {
1601
1605
  ) })
1602
1606
  ] }) : /* @__PURE__ */ jsx14(
1603
1607
  MuiStepper,
1604
- __spreadProps(__spreadValues({}, rest), {
1608
+ __spreadProps(__spreadValues({
1609
+ "aria-label": "multi-step process",
1610
+ role: "region"
1611
+ }, rest), {
1605
1612
  connector,
1606
1613
  orientation,
1607
1614
  alternativeLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-stepper",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Availity MUI Stepper Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -32,11 +32,11 @@
32
32
  "publish:canary": "yarn npm publish --access public --tag canary"
33
33
  },
34
34
  "dependencies": {
35
- "@availity/mui-icon": "^0.12.1",
35
+ "@availity/mui-icon": "^0.13.0",
36
36
  "@availity/mui-typography": "^0.2.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@availity/mui-button": "^0.6.14",
39
+ "@availity/mui-button": "^0.6.15",
40
40
  "@availity/mui-layout": "^0.2.0",
41
41
  "@availity/mui-paper": "^0.1.9",
42
42
  "@mui/material": "^5.15.15",
@@ -22,12 +22,15 @@ export const _StepButton: StoryObj<typeof StepButton> = {
22
22
  <Paper sx={{ padding: '2rem' }}>
23
23
  <Stepper>
24
24
  <Step>
25
- <StepButton {...args}/>
25
+ <StepButton {...args} />
26
26
  </Step>
27
27
  </Stepper>
28
28
  </Paper>
29
29
  </Box>
30
30
  ),
31
+ args: {
32
+ 'aria-label': '1',
33
+ },
31
34
  };
32
35
 
33
36
  // credit: https://stackoverflow.com/questions/36862334/get-viewport-window-height-in-reactjs
@@ -174,6 +174,9 @@ export const _Stepper: StoryObj<typeof Stepper> = {
174
174
  </Box>
175
175
  );
176
176
  },
177
+ args: {
178
+ 'aria-label': 'stepper example',
179
+ },
177
180
  };
178
181
 
179
182
  export const _StepperScrollButtons: StoryObj<typeof Stepper> = {
@@ -71,12 +71,15 @@ export const Stepper = ({ children, connector, orientation, scrollButtons, ...re
71
71
  </ScrollIconContainer>
72
72
 
73
73
  <MuiStepper
74
+ aria-label="multi-step process"
75
+ role="region"
74
76
  {...rest}
75
77
  connector={connector}
76
78
  orientation={orientation}
77
79
  alternativeLabel={alternativeLabel}
78
80
  ref={stepperRef}
79
81
  children={children}
82
+ tabIndex={0}
80
83
  />
81
84
 
82
85
  <ScrollIconContainer style={{ paddingLeft: '8px' }}>
@@ -98,6 +101,8 @@ export const Stepper = ({ children, connector, orientation, scrollButtons, ...re
98
101
  </Grid>
99
102
  ) : (
100
103
  <MuiStepper
104
+ aria-label="multi-step process"
105
+ role="region"
101
106
  {...rest}
102
107
  connector={connector}
103
108
  orientation={orientation}