@dev-crew-berlin/enter-js-utils 0.8.0 → 0.8.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.
@@ -3,5 +3,5 @@ declare type Props = {
3
3
  segments: string[];
4
4
  activeSegment?: string;
5
5
  };
6
- export declare const SegmentedConrol: FunctionComponent<Props>;
6
+ export declare const SegmentedControl: FunctionComponent<Props>;
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import _JSXStyle from "styled-jsx/style";
2
2
  import React from 'react';
3
3
  import { theme } from '../../lib';
4
- export const SegmentedConrol = props => {
4
+ export const SegmentedControl = props => {
5
5
  const name = props.segments.join('');
6
6
  return /*#__PURE__*/React.createElement("div", {
7
7
  className: _JSXStyle.dynamic([["235524868", [theme.fonts.secondary, theme.colors.enterLightGrey, theme.colors.enterMediumGrey, theme.colors.enterDarkGrey]]]) + " " + 'segmented-controll'
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { SegmentedConrol } from './segmented-control';
2
+ import { SegmentedControl } from './segmented-control';
3
3
  export default {
4
- title: 'Form Elements/Segmented Conrol',
5
- component: SegmentedConrol
4
+ title: 'Form Elements/Segmented Control',
5
+ component: SegmentedControl
6
6
  };
7
7
 
8
- const Template = args => /*#__PURE__*/React.createElement(SegmentedConrol, args);
8
+ const Template = args => /*#__PURE__*/React.createElement(SegmentedControl, args);
9
9
 
10
10
  export const Basic = Template.bind({});
11
11
  Basic.args = {
@@ -1,6 +1,6 @@
1
1
  export { Input } from './form-elements/input';
2
2
  export { Label } from './form-elements/label';
3
- export { SegmentedConrol } from './form-elements/segmented-control';
3
+ export { SegmentedControl } from './form-elements/segmented-control';
4
4
  export { Button } from './button';
5
5
  export { CheckinCountIndicator } from './checkin-count-indicator';
6
6
  export { CompanionInfo } from './companion-info';
package/dist/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Input } from './form-elements/input';
2
2
  export { Label } from './form-elements/label';
3
- export { SegmentedConrol } from './form-elements/segmented-control';
3
+ export { SegmentedControl } from './form-elements/segmented-control';
4
4
  export { Button } from './button';
5
5
  export { CheckinCountIndicator } from './checkin-count-indicator';
6
6
  export { CompanionInfo } from './companion-info';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",