@momentum-design/components 0.39.5 → 0.40.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/dist/index.d.ts CHANGED
@@ -30,6 +30,7 @@ import Toggle from './components/toggle';
30
30
  import Tooltip from './components/tooltip';
31
31
  import VirtualizedList from './components/virtualizedlist';
32
32
  import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
33
+ import Progressbar from './components/progressbar';
33
34
  import Option from './components/option';
34
35
  import OptGroup from './components/optgroup';
35
36
  import Textarea from './components/textarea';
@@ -37,6 +38,6 @@ import type { SpinnerSize, SpinnerVariant } from './components/spinner/spinner.t
37
38
  import type { TextType } from './components/text/text.types';
38
39
  import type { PopoverPlacement } from './components/popover/popover.types';
39
40
  import type { BadgeType } from './components/badge/badge.types';
40
- export { AlertChip, Avatar, AvatarButton, Badge, Bullet, Button, Checkbox, Chip, Coachmark, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, List, ListItem, Marker, Popover, Presence, Radio, RadioGroup, Spinner, Tab, Text, ThemeProvider, Toggle, VirtualizedList, Option, OptGroup, Textarea, Tooltip, };
41
+ export { AlertChip, Avatar, AvatarButton, Badge, Bullet, Button, Checkbox, Chip, Coachmark, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, List, ListItem, Marker, Popover, Presence, Radio, RadioGroup, Spinner, Tab, Text, ThemeProvider, Toggle, VirtualizedList, Option, OptGroup, Progressbar, Textarea, Tooltip, };
41
42
  export type { TextType, SpinnerSize, SpinnerVariant, PopoverPlacement, BadgeType, };
42
43
  export { inMemoryCache, webAPIIconsCache };
package/dist/index.js CHANGED
@@ -30,8 +30,9 @@ import Toggle from './components/toggle';
30
30
  import Tooltip from './components/tooltip';
31
31
  import VirtualizedList from './components/virtualizedlist';
32
32
  import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
33
+ import Progressbar from './components/progressbar';
33
34
  import Option from './components/option';
34
35
  import OptGroup from './components/optgroup';
35
36
  import Textarea from './components/textarea';
36
- export { AlertChip, Avatar, AvatarButton, Badge, Bullet, Button, Checkbox, Chip, Coachmark, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, List, ListItem, Marker, Popover, Presence, Radio, RadioGroup, Spinner, Tab, Text, ThemeProvider, Toggle, VirtualizedList, Option, OptGroup, Textarea, Tooltip, };
37
+ export { AlertChip, Avatar, AvatarButton, Badge, Bullet, Button, Checkbox, Chip, Coachmark, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, List, ListItem, Marker, Popover, Presence, Radio, RadioGroup, Spinner, Tab, Text, ThemeProvider, Toggle, VirtualizedList, Option, OptGroup, Progressbar, Textarea, Tooltip, };
37
38
  export { inMemoryCache, webAPIIconsCache };
@@ -1,13 +1,13 @@
1
1
  export { default as AlertChip } from './alertchip';
2
- export { default as Avatar } from './avatar';
3
2
  export { default as AvatarButton } from './avatarbutton';
3
+ export { default as Avatar } from './avatar';
4
4
  export { default as Badge } from './badge';
5
5
  export { default as Bullet } from './bullet';
6
6
  export { default as Button } from './button';
7
7
  export { default as Buttonsimple } from './buttonsimple';
8
8
  export { default as Checkbox } from './checkbox';
9
- export { default as Coachmark } from './coachmark';
10
9
  export { default as Chip } from './chip';
10
+ export { default as Coachmark } from './coachmark';
11
11
  export { default as Divider } from './divider';
12
12
  export { default as FilterChip } from './filterchip';
13
13
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -24,6 +24,7 @@ export { default as OptGroup } from './optgroup';
24
24
  export { default as Option } from './option';
25
25
  export { default as Popover } from './popover';
26
26
  export { default as Presence } from './presence';
27
+ export { default as Progressbar } from './progressbar';
27
28
  export { default as Radio } from './radio';
28
29
  export { default as RadioGroup } from './radiogroup';
29
30
  export { default as Spinner } from './spinner';
@@ -1,13 +1,13 @@
1
1
  export { default as AlertChip } from './alertchip';
2
- export { default as Avatar } from './avatar';
3
2
  export { default as AvatarButton } from './avatarbutton';
3
+ export { default as Avatar } from './avatar';
4
4
  export { default as Badge } from './badge';
5
5
  export { default as Bullet } from './bullet';
6
6
  export { default as Button } from './button';
7
7
  export { default as Buttonsimple } from './buttonsimple';
8
8
  export { default as Checkbox } from './checkbox';
9
- export { default as Coachmark } from './coachmark';
10
9
  export { default as Chip } from './chip';
10
+ export { default as Coachmark } from './coachmark';
11
11
  export { default as Divider } from './divider';
12
12
  export { default as FilterChip } from './filterchip';
13
13
  export { default as FormfieldGroup } from './formfieldgroup';
@@ -24,6 +24,7 @@ export { default as OptGroup } from './optgroup';
24
24
  export { default as Option } from './option';
25
25
  export { default as Popover } from './popover';
26
26
  export { default as Presence } from './presence';
27
+ export { default as Progressbar } from './progressbar';
27
28
  export { default as Radio } from './radio';
28
29
  export { default as RadioGroup } from './radiogroup';
29
30
  export { default as Spinner } from './spinner';
@@ -0,0 +1,30 @@
1
+ import Component from '../../components/progressbar';
2
+ /**
3
+ * mdc-progressbar component visually represents a progress indicator, typically used to show
4
+ * the completion state of an ongoing process (e.g., loading, file upload, etc.).
5
+ * It contains an optional label and an optional helper text.
6
+ *
7
+ * - It supports mainly two types: Default and Inline
8
+ * - It supports three validation variants: Default, Success and Error.
9
+ *
10
+ * This component is created by extending FormfieldWrapper.
11
+ *
12
+ * @tagname mdc-progressbar
13
+ *
14
+ * @dependency mdc-icon
15
+ * @dependency mdc-text
16
+ *
17
+ * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.
18
+ * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.
19
+ * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.
20
+ * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.
21
+ * @cssproperty --mdc-progressbar-height - The height of the progressbar.
22
+ * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.
23
+ * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.
24
+ * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.
25
+ * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.
26
+ * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.
27
+ * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.
28
+ */
29
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
30
+ export default reactWrapper;
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import Component from '../../components/progressbar';
4
+ import { TAG_NAME } from '../../components/progressbar/progressbar.constants';
5
+ /**
6
+ * mdc-progressbar component visually represents a progress indicator, typically used to show
7
+ * the completion state of an ongoing process (e.g., loading, file upload, etc.).
8
+ * It contains an optional label and an optional helper text.
9
+ *
10
+ * - It supports mainly two types: Default and Inline
11
+ * - It supports three validation variants: Default, Success and Error.
12
+ *
13
+ * This component is created by extending FormfieldWrapper.
14
+ *
15
+ * @tagname mdc-progressbar
16
+ *
17
+ * @dependency mdc-icon
18
+ * @dependency mdc-text
19
+ *
20
+ * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.
21
+ * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.
22
+ * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.
23
+ * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.
24
+ * @cssproperty --mdc-progressbar-height - The height of the progressbar.
25
+ * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.
26
+ * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.
27
+ * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.
28
+ * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.
29
+ * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.
30
+ * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.
31
+ */
32
+ const reactWrapper = createComponent({
33
+ tagName: TAG_NAME,
34
+ elementClass: Component,
35
+ react: React,
36
+ events: {},
37
+ displayName: 'Progressbar',
38
+ });
39
+ export default reactWrapper;
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "lit": "^3.2.0",
39
39
  "uuid": "^11.0.5"
40
40
  },
41
- "version": "0.39.5"
41
+ "version": "0.40.0"
42
42
  }