-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(StepGroup): StepGroup Implementation & Documentation (#2131)
* feat: add basic structure * feat: add click * feat: code table test * feat: finish base decision doc * feat: add alternate api * feat: make props more prominent * feat: turn types into table * feat: add children * feat: add straight line StepItem * feat: add dotted line * feat: save item index logic * feat: add first and last line trimming * feat: make interactive * fix: horizontal heights * feat: handle StepItemIndicator * feat: add dotted svgs * fix: handle dotted line in horizontal * fix: naming of file * docs: add user based documentations * feat: stepper docs * feat: rename leading prop to marker * feat: add react router example * export StepGroup from index.ts * feat: add jsdoc * feat: add width prop * docs: add StepItem playground story * fix: ts errors * fix: resolve comments * fix: add visibility prop to omit from html filter * fix: dotted line * fix: spacings and gaps in horizontal orientation * fix: storybook sorting of marker prop * fix: trailing prop breaking in storybook orientation horizontal * fix: spacing of items between dots * fix: dots spacing without weird math * fix: spacing without token * fix: border styles type * fix: curved dotted lines * fix: spacings in story * feat: add padding around to keep focus ring uncut
- Loading branch information
1 parent
c4e9b36
commit 58cb910
Showing
24 changed files
with
1,757 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/blade/src/components/StepGroup/StepGroup.native.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { StepGroupProps } from './types'; | ||
import { Text } from '~components/Typography'; | ||
import { throwBladeError } from '~utils/logger'; | ||
|
||
const StepGroup = (_props: StepGroupProps): React.ReactElement => { | ||
throwBladeError({ | ||
message: 'StepGroup is not yet implemented for native', | ||
moduleName: 'StepGroup', | ||
}); | ||
|
||
return <Text>StepGroup Component is not available for Native mobile apps.</Text>; | ||
}; | ||
|
||
export { StepGroup }; |
Oops, something went wrong.