@patternfly/documentation-framework 6.0.0-alpha.22 → 6.0.0-alpha.23

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 6.0.0-alpha.23 (2024-05-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **docs:** update beta button style ([#3961](https://github.com/patternfly/patternfly-org/issues/3961)) ([8a68ab7](https://github.com/patternfly/patternfly-org/commit/8a68ab7852643aac54282923b34feff090be1101))
12
+
13
+
14
+
15
+
16
+
6
17
  # 6.0.0-alpha.22 (2024-04-23)
7
18
 
8
19
 
@@ -25,7 +25,7 @@ export const AutoLinkHeader = ({
25
25
  const slug = id || slugger(children);
26
26
 
27
27
  return (
28
- <Flex alignItems={{ default: 'alignItemsCenter'}} spaceItems={{ default: 'spaceItemsNone' }}>
28
+ <Flex alignItems={{ default: 'alignItemsCenter'}} spaceItems={{ default: "spaceItemsSm" }}>
29
29
  <FlexItem>
30
30
  <Title
31
31
  id={slug}
@@ -40,7 +40,7 @@ export const AutoLinkHeader = ({
40
40
  {children}
41
41
  </Title>
42
42
  </FlexItem>
43
- <FlexItem> {metaText}</FlexItem>
43
+ <FlexItem>{metaText}</FlexItem>
44
44
  </Flex>
45
45
  )
46
46
  };
@@ -203,21 +203,21 @@ export const Example = ({
203
203
  <React.Fragment>
204
204
  {isBeta && (
205
205
  <Tooltip content="This beta component is currently under review and is still open for further evolution.">
206
- <Button variant="plain">
206
+ <Button variant="plain" hasNoPadding>
207
207
  <Label isCompact color="blue">Beta</Label>
208
208
  </Button>
209
209
  </Tooltip>
210
210
  )}
211
211
  {isDemo && (
212
212
  <Tooltip content="Demos show how multiple components can be used in a single design.">
213
- <Button variant="plain">
213
+ <Button variant="plain" hasNoPadding>
214
214
  <Label isCompact color="purple">Demo</Label>
215
215
  </Button>
216
216
  </Tooltip>
217
217
  )}
218
218
  {isDeprecated && (
219
219
  <Tooltip content="Deprecated components are available for use but are no longer being maintained or enhanced.">
220
- <Button variant="plain">
220
+ <Button variant="plain" hasNoPadding>
221
221
  <Label isCompact color="grey">Deprecated</Label>
222
222
  </Button>
223
223
  </Tooltip>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/documentation-framework",
3
3
  "description": "A framework to build documentation for PatternFly.",
4
- "version": "6.0.0-alpha.22",
4
+ "version": "6.0.0-alpha.23",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -13,7 +13,7 @@
13
13
  "@babel/preset-env": "^7.24.3",
14
14
  "@babel/preset-react": "^7.24.1",
15
15
  "@mdx-js/util": "1.6.16",
16
- "@patternfly/ast-helpers": "^1.4.0-alpha.11",
16
+ "@patternfly/ast-helpers": "^1.4.0-alpha.12",
17
17
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
18
18
  "autoprefixer": "9.8.6",
19
19
  "babel-loader": "^9.1.3",
@@ -80,5 +80,5 @@
80
80
  "react": "^17.0.0 || ^18.0.0",
81
81
  "react-dom": "^17.0.0 || ^18.0.0"
82
82
  },
83
- "gitHead": "65ebcf7e38a208cb3fa313217ed971774d6805ca"
83
+ "gitHead": "a4613e41c9b629d393571e3fd449758ce6bd9178"
84
84
  }
package/templates/mdx.js CHANGED
@@ -270,7 +270,7 @@ export const MDXTemplate = ({
270
270
  {isDeprecated && (
271
271
  <FlexItem spacer={{ default: 'spacerSm' }}>
272
272
  <Tooltip content="Deprecated components are available for use but are no longer being maintained or enhanced.">
273
- <Button isInline component="span" variant="link">
273
+ <Button variant="plain" hasNoPadding>
274
274
  <Label color="grey">Deprecated</Label>
275
275
  </Button>
276
276
  </Tooltip>
@@ -279,7 +279,7 @@ export const MDXTemplate = ({
279
279
  {isDemo && (
280
280
  <FlexItem spacer={{ default: 'spacerSm' }}>
281
281
  <Tooltip content="Demos show how multiple components can be used in a single design.">
282
- <Button isInline component="span" variant="link">
282
+ <Button variant="plain" hasNoPadding>
283
283
  <Label color="purple">Demo</Label>
284
284
  </Button>
285
285
  </Tooltip>
@@ -288,7 +288,7 @@ export const MDXTemplate = ({
288
288
  {isBeta && (
289
289
  <FlexItem spacer={{ default: 'spacerSm' }}>
290
290
  <Tooltip content="This beta component is currently under review and is still open for further evolution.">
291
- <Button isInline component="span" variant="link">
291
+ <Button variant="plain" hasNoPadding>
292
292
  <Label color="blue">Beta</Label>
293
293
  </Button>
294
294
  </Tooltip>