@verifiedinc-public/shared-ui-elements 1.2.2 → 1.3.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 (29) hide show
  1. package/dist/components/form/DateInput.d.ts +1 -1
  2. package/dist/shared-ui-elements.mjs +85 -20068
  3. package/dist/styles/colors.d.ts +25 -0
  4. package/dist/styles/typography.d.ts +85 -0
  5. package/dist/utils/string/index.d.ts +2 -0
  6. package/dist/utils/string/toCapitalize.d.ts +5 -0
  7. package/dist/utils/string/toSentenceCase.d.ts +5 -0
  8. package/package.json +2 -2
  9. package/src/components/form/DateInput.tsx +3 -3
  10. package/src/components/form/DefaultInput.tsx +0 -2
  11. package/src/components/form/PhoneInput.tsx +1 -2
  12. package/src/components/form/SSNInput.tsx +2 -3
  13. package/src/components/form/SelectInput.tsx +0 -2
  14. package/src/styles/colors.ts +30 -4
  15. package/src/styles/theme.ts +18 -1
  16. package/src/styles/typography.ts +86 -0
  17. package/src/utils/string/index.ts +2 -0
  18. package/src/utils/string/toCapitalize.ts +13 -0
  19. package/src/utils/string/toSentenceCase.ts +7 -0
  20. package/dist/components/form/styles/input.d.ts +0 -6
  21. package/dist/stories/components/Alert.stories.d.ts +0 -11
  22. package/dist/stories/components/CredentialRequestsEditor.stories.d.ts +0 -35
  23. package/dist/stories/components/QRCodeDisplay.stories.d.ts +0 -41
  24. package/dist/stories/components/TextField.stories.d.ts +0 -44
  25. package/dist/stories/components/Typography.stories.d.ts +0 -54
  26. package/dist/stories/components/VerifiedImage.stories.d.ts +0 -28
  27. package/dist/stories/components/form/PhoneInput.stories.d.ts +0 -16
  28. package/dist/stories/hooks/useCopyToClipboard.stories.d.ts +0 -14
  29. package/src/components/form/styles/input.ts +0 -24
@@ -1,14 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare function HookRender(props: any): ReactElement;
4
- declare const meta: {
5
- title: string;
6
- component: typeof HookRender;
7
- parameters: {
8
- layout: string;
9
- };
10
- tags: string[];
11
- };
12
- export default meta;
13
- type Story = StoryObj<typeof meta>;
14
- export declare const TextPlain: Story;
@@ -1,24 +0,0 @@
1
- import { type TextFieldProps } from '../../../components/TextField';
2
-
3
- /**
4
- * The base style definition for input fields, it should reflect changes across all inputs.
5
- */
6
- export const inputStyle: TextFieldProps = {
7
- variant: 'outlined',
8
- size: 'small',
9
- };
10
-
11
- export const readOnlyInputStyle: TextFieldProps = {
12
- sx: {
13
- '&, & input': {
14
- pointerEvents: 'none',
15
- },
16
-
17
- '& fieldset.MuiOutlinedInput-notchedOutline': {
18
- border: 'none!important',
19
- },
20
- '& svg.MuiSvgIcon-root': {
21
- display: 'none',
22
- },
23
- },
24
- };