@automattic/vip-design-system 0.14.0 → 0.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.
@@ -38,6 +38,7 @@ var Toggle = function Toggle(_ref) {
38
38
  className: (0, _classnames["default"])('vip-toggle-component', className),
39
39
  sx: {
40
40
  all: 'unset',
41
+ cursor: 'pointer',
41
42
  position: 'relative',
42
43
  width: 40,
43
44
  height: 20,
@@ -88,7 +88,10 @@ var NewDialog = function NewDialog(_ref) {
88
88
  }), (0, _jsxRuntime.jsx)(_DialogDescription.DialogDescription, {
89
89
  description: description,
90
90
  hidden: !showHeading
91
- }), content]
91
+ }), (0, _jsxRuntime.jsx)("div", {
92
+ role: "document",
93
+ children: content
94
+ })]
92
95
  })]
93
96
  })]
94
97
  });
@@ -97,6 +97,10 @@ var HiddenHeadings = function HiddenHeadings() {
97
97
  type: "submit",
98
98
  children: "Submit"
99
99
  })]
100
+ }), (0, _jsxRuntime.jsx)("h3", {
101
+ children: "Continue here"
102
+ }), (0, _jsxRuntime.jsx)("p", {
103
+ children: "This is an example."
100
104
  })]
101
105
  })
102
106
  }))]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip-design-system",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "main": "build/system/index.js",
5
5
  "scripts": {
6
6
  "build-storybook": "build-storybook",
@@ -23,6 +23,7 @@ export const Toggle = ( {
23
23
  className={ classNames( 'vip-toggle-component', className ) }
24
24
  sx={ {
25
25
  all: 'unset',
26
+ cursor: 'pointer',
26
27
  position: 'relative',
27
28
  width: 40,
28
29
  height: 20,
@@ -56,7 +56,7 @@ export const NewDialog = ( {
56
56
  <DialogTitle title={ title } hidden={ ! showHeading } />
57
57
  <DialogDescription description={ description } hidden={ ! showHeading } />
58
58
 
59
- { content }
59
+ <div role="document">{ content }</div>
60
60
  </DialogPrimitive.Content>
61
61
  </DialogPrimitive.Portal>
62
62
  </DialogPrimitive.Root>
@@ -61,6 +61,10 @@ export const HiddenHeadings = () => (
61
61
  <Input type="text" name="username" id="username" />
62
62
  <Button type="submit">Submit</Button>
63
63
  </form>
64
+
65
+ <h3>Continue here</h3>
66
+
67
+ <p>This is an example.</p>
64
68
  </div>
65
69
  }
66
70
  />