@mindly/ui-components 4.3.6 → 4.4.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.
Files changed (31) hide show
  1. package/dist/cjs/configs/tailwind/colors.d.ts +6 -0
  2. package/dist/cjs/index.js +4 -4
  3. package/dist/cjs/lib2/shared/assets/icons/iconStar.d.ts +3 -0
  4. package/dist/cjs/lib2/shared/assets/icons/iconStarFilled.d.ts +3 -0
  5. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +2 -0
  6. package/dist/cjs/lib2/shared/ui/Rating/Rating.d.ts +4 -0
  7. package/dist/cjs/lib2/shared/ui/Rating/Rating.stories.d.ts +6 -0
  8. package/dist/cjs/lib2/shared/ui/Rating/index.d.ts +1 -0
  9. package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +6 -0
  10. package/dist/cjs/lib2/shared/ui/Textarea_v2/Textarea_v2.d.ts +4 -0
  11. package/dist/cjs/lib2/shared/ui/Textarea_v2/index.d.ts +1 -0
  12. package/dist/cjs/lib2/shared/ui/Textarea_v2/types.d.ts +6 -0
  13. package/dist/cjs/lib2/shared/ui/index.d.ts +2 -0
  14. package/dist/esm/configs/tailwind/colors.d.ts +6 -0
  15. package/dist/esm/index.js +4 -4
  16. package/dist/esm/lib2/shared/assets/icons/iconStar.d.ts +3 -0
  17. package/dist/esm/lib2/shared/assets/icons/iconStarFilled.d.ts +3 -0
  18. package/dist/esm/lib2/shared/assets/icons/index.d.ts +2 -0
  19. package/dist/esm/lib2/shared/ui/Rating/Rating.d.ts +4 -0
  20. package/dist/esm/lib2/shared/ui/Rating/Rating.stories.d.ts +6 -0
  21. package/dist/esm/lib2/shared/ui/Rating/index.d.ts +1 -0
  22. package/dist/esm/lib2/shared/ui/Rating/types.d.ts +6 -0
  23. package/dist/esm/lib2/shared/ui/Textarea_v2/Textarea_v2.d.ts +4 -0
  24. package/dist/esm/lib2/shared/ui/Textarea_v2/index.d.ts +1 -0
  25. package/dist/esm/lib2/shared/ui/Textarea_v2/types.d.ts +6 -0
  26. package/dist/esm/lib2/shared/ui/index.d.ts +2 -0
  27. package/dist/index.d.ts +63 -46
  28. package/package.json +1 -1
  29. package/src/configs/tailwind/colors.ts +6 -0
  30. package/src/lib2/shared/css/tailwind.css +3 -0
  31. package/src/lib2/shared/css/variables.css +1 -0
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.NamedExoticComponent<React.SVGAttributes<SVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.NamedExoticComponent<React.SVGAttributes<SVGElement>>;
3
+ export default _default;
@@ -1,3 +1,5 @@
1
1
  export * from './iconCheckboxChecked';
2
2
  export * from './iconCheckboxUnchecked';
3
3
  export * from './iconLanguage';
4
+ export * from './iconStar';
5
+ export * from './iconStarFilled';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RatingProps } from './types';
3
+ declare const _default: React.NamedExoticComponent<RatingProps>;
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Rating from './Rating';
3
+ declare const meta: Meta<typeof Rating>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Rating>;
6
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export { default as Rating } from './Rating';
@@ -0,0 +1,6 @@
1
+ export type RatingProps = {
2
+ initialRating?: number;
3
+ onChange?: (value: number) => void;
4
+ onClick?: (value: number) => void;
5
+ onHover?: (value: number) => void;
6
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TextareaV2Props } from './types';
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TextareaV2Props & React.RefAttributes<HTMLIonTextareaElement>>>;
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Textarea_v2 } from './Textarea_v2';
@@ -0,0 +1,6 @@
1
+ import { JSX } from '@ionic/core/components';
2
+ export interface TextareaV2Props extends Omit<JSX.IonTextarea, 'color' | 'enterkeyhint' | 'inputmode' | 'mode'> {
3
+ borderTop?: boolean;
4
+ showCounter?: boolean;
5
+ className?: string;
6
+ }
@@ -10,3 +10,5 @@ export * from './Badge';
10
10
  export * from './AppHeader_v2';
11
11
  export * from './ListBoxItem';
12
12
  export * from './ListBox';
13
+ export * from './Textarea_v2';
14
+ export * from './Rating';
@@ -42,5 +42,11 @@ declare const _default: {
42
42
  borders: {
43
43
  divider: string;
44
44
  };
45
+ controls: {
46
+ element: {
47
+ unselected: string;
48
+ selected: string;
49
+ };
50
+ };
45
51
  };
46
52
  export default _default;