@atom-learning/components 2.29.0-beta.4 → 2.29.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.
- package/CHANGELOG.md +207 -0
- package/dist/components/badge/Badge.js +1 -1
- package/dist/components/button/Button.d.ts +0 -1
- package/dist/components/button/Button.js +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownTrigger.js +1 -1
- package/dist/components/navigation/preventHover.d.ts +1 -0
- package/dist/components/navigation/preventHover.js +1 -0
- package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/Badge.mdx +1 -1
- package/dist/docs/Button.mdx +0 -8
- package/dist/docs/ToggleGroup.mdx +1 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +1 -1
package/dist/docs/Badge.mdx
CHANGED
package/dist/docs/Button.mdx
CHANGED
|
@@ -55,14 +55,6 @@ When using a button to request data or fire an action that has a potential delay
|
|
|
55
55
|
<Button isLoading> Hello world</Button>
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
## Rounded Variant
|
|
59
|
-
|
|
60
|
-
Setting `isRounded` creates a rounded button
|
|
61
|
-
|
|
62
|
-
```tsx live
|
|
63
|
-
<Button isRounded>Rounded Button</Button>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
58
|
## Polymorphism
|
|
67
59
|
|
|
68
60
|
The `Button` component supports polymorphism, therefore depending on whether it receives an `onClick`/`href` as a prop, it will produce a `button` or `link` respectively
|
|
@@ -15,7 +15,7 @@ Extends visually by allowing for different sizing, vertical/horizontal display a
|
|
|
15
15
|
|
|
16
16
|
`orientation="vertical | horizontal"`
|
|
17
17
|
|
|
18
|
-
```jsx preview
|
|
18
|
+
```jsx preview live
|
|
19
19
|
<ToggleGroup.Root type="multiple" orientation="vertical">
|
|
20
20
|
<ToggleGroup.Button value="a">A</ToggleGroup.Button>
|
|
21
21
|
<ToggleGroup.Button value="b">B</ToggleGroup.Button>
|