@plyaz/ui 0.2.0 → 0.3.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.
Files changed (41) hide show
  1. package/dist/types/components/Box/Box.stories.d.ts.map +1 -1
  2. package/dist/types/components/Container/Container.d.ts.map +1 -1
  3. package/dist/types/components/Container/Container.stories.d.ts.map +1 -1
  4. package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts.map +1 -1
  5. package/dist/types/components/Flex/Flex.stories.d.ts +2 -2
  6. package/dist/types/components/Flex/Flex.stories.d.ts.map +1 -1
  7. package/dist/types/components/Form/FormComposition.d.ts +8 -0
  8. package/dist/types/components/Form/FormComposition.d.ts.map +1 -0
  9. package/dist/types/components/Form/FormComposition.stories.d.ts +8 -0
  10. package/dist/types/components/Form/FormComposition.stories.d.ts.map +1 -0
  11. package/dist/types/components/Form/LoginForm.d.ts +2 -0
  12. package/dist/types/components/Form/LoginForm.d.ts.map +1 -0
  13. package/dist/types/components/Form/LoginForm.stories.d.ts +10 -0
  14. package/dist/types/components/Form/LoginForm.stories.d.ts.map +1 -0
  15. package/dist/types/components/Form/SignupForm.d.ts +2 -0
  16. package/dist/types/components/Form/SignupForm.d.ts.map +1 -0
  17. package/dist/types/components/Form/SignupForm.stories.d.ts +10 -0
  18. package/dist/types/components/Form/SignupForm.stories.d.ts.map +1 -0
  19. package/dist/types/components/Grid/Grid.stories.d.ts +2 -2
  20. package/dist/types/components/Grid/Grid.stories.d.ts.map +1 -1
  21. package/dist/types/components/Heading/Heading.stories.d.ts.map +1 -1
  22. package/dist/types/components/Layout/Layout.d.ts +7 -0
  23. package/dist/types/components/Layout/Layout.d.ts.map +1 -0
  24. package/dist/types/components/Layout/Layout.stories.d.ts +11 -0
  25. package/dist/types/components/Layout/Layout.stories.d.ts.map +1 -0
  26. package/dist/types/components/Paragraph/Paragraph.stories.d.ts +1 -1
  27. package/dist/types/components/Paragraph/Paragraph.stories.d.ts.map +1 -1
  28. package/dist/types/components/Section/Section.stories.d.ts.map +1 -1
  29. package/dist/types/components/Stack/Stack.stories.d.ts.map +1 -1
  30. package/dist/types/components/Text/Text.d.ts +2 -28
  31. package/dist/types/components/Text/Text.d.ts.map +1 -1
  32. package/dist/types/components/Text/Text.stories.d.ts +1 -1
  33. package/dist/types/components/Text/Text.stories.d.ts.map +1 -1
  34. package/dist/types/constants/constant.d.ts +27 -0
  35. package/dist/types/constants/constant.d.ts.map +1 -1
  36. package/dist/ui.cjs11.js +1 -1
  37. package/dist/ui.cjs14.js +1 -1
  38. package/dist/ui.es11.js +20 -43
  39. package/dist/ui.es14.js +28 -1
  40. package/dist/ui.es3.js +6 -1
  41. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAY1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AACF,eAAO,MAAM,GAAG,EAAE,KAMjB,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAyC1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AACF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AACF,eAAO,MAAM,GAAG,EAAE,KAMjB,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,GAAI,4CAAiD,cAAc,sBAiBxF,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,GAAI,4CAKvB,cAAc,sBAiBhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAWhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAwChC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalLink.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ExternalLink/ExternalLink.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAYnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"ExternalLink.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ExternalLink/ExternalLink.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CA2BnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAC"}
@@ -3,7 +3,7 @@ import { Flex } from '..';
3
3
  declare const meta: Meta<typeof Flex>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Flex>;
6
- export declare const Default: Story;
7
- export declare const ColumnCentered: Story;
6
+ export declare const FlexItemsStart: Story;
7
+ export declare const FlexItemsCenter: Story;
8
8
  export declare const UserInteraction: Story;
9
9
  //# sourceMappingURL=Flex.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Flex.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Flex/Flex.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAY3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,KAkB5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAwB7B,CAAC"}
1
+ {"version":3,"file":"Flex.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Flex/Flex.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAY3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,cAAc,EAAE,KA4E5B,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA6B7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ type FormCompositionProps = {
2
+ children?: React.ReactNode;
3
+ heading?: string;
4
+ description?: string;
5
+ };
6
+ export declare const FormComposition: ({ children, heading, description, }: FormCompositionProps) => import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=FormComposition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormComposition.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FormComposition.tsx"],"names":[],"mappings":"AAMA,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,eAAe,GAAI,qCAI7B,oBAAoB,gCAqBtB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { FormComposition } from './FormComposition';
3
+ declare const meta: Meta<typeof FormComposition>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof FormComposition>;
6
+ export declare const SignupFormComposition: Story;
7
+ export declare const LoginFormComposition: Story;
8
+ //# sourceMappingURL=FormComposition.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormComposition.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FormComposition.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAIpE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CA0BtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9C,eAAO,MAAM,qBAAqB,EAAE,KAMnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAMlC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LoginForm: () => import("react").JSX.Element;
2
+ //# sourceMappingURL=LoginForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/LoginForm.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,mCA8FrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { LoginForm } from './LoginForm';
3
+ declare const meta: Meta<typeof LoginForm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LoginForm>;
6
+ export declare const Default: Story;
7
+ export declare const LoginFormMobileViewPort: Story;
8
+ export declare const LoginFormTabletViewPort: Story;
9
+ export declare const LoginFormDesktopViewPort: Story;
10
+ //# sourceMappingURL=LoginForm.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginForm.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/LoginForm.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAYhC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,uBAAuB,EAAE,KAMrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAMrC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAMtC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const SignupForm: () => import("react").JSX.Element;
2
+ //# sourceMappingURL=SignupForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignupForm.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/SignupForm.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,mCA+HtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { SignupForm } from './SignupForm';
3
+ declare const meta: Meta<typeof SignupForm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SignupForm>;
6
+ export declare const Default: Story;
7
+ export declare const SignupFormMobileViewPort: Story;
8
+ export declare const SignupFormTabletViewPort: Story;
9
+ export declare const SignupFormDesktopViewPort: Story;
10
+ //# sourceMappingURL=SignupForm.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignupForm.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/SignupForm.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAYjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,wBAAwB,EAAE,KAMtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAMtC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAMvC,CAAC"}
@@ -3,7 +3,7 @@ import { Grid } from '..';
3
3
  declare const meta: Meta<typeof Grid>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Grid>;
6
- export declare const Default: Story;
7
- export declare const Justified: Story;
6
+ export declare const TwoColumnGrid: Story;
7
+ export declare const ThreeColumnGrid: Story;
8
8
  export declare const UserInteraction: Story;
9
9
  //# sourceMappingURL=Grid.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAY3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAsB7B,CAAC"}
1
+ {"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAoE3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,aAAa,EAAE,KAgB3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA2B7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAY9B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAgC9B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAOhB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const Layout: ({ layout, children, className, }: {
3
+ layout: "grid" | "flex";
4
+ children: ReactNode;
5
+ className?: string;
6
+ }) => import("react").JSX.Element;
7
+ //# sourceMappingURL=Layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,MAAM,GAAI,kCAIpB;IACD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,gCAkBA,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Layout } from './Layout';
3
+ declare const meta: Meta<typeof Layout>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Layout>;
6
+ export declare const GridPattern: Story;
7
+ export declare const FlexPattern: Story;
8
+ export declare const FlexMobileViewPort: Story;
9
+ export declare const FlexTabletViewPort: Story;
10
+ export declare const FlexDesktopViewPort: Story;
11
+ //# sourceMappingURL=Layout.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAY7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAgBhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAgBhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAgBjC,CAAC"}
@@ -3,7 +3,7 @@ import { Paragraph } from '..';
3
3
  declare const meta: Meta<typeof Paragraph>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Paragraph>;
6
- export declare const Default: Story;
6
+ export declare const Base: Story;
7
7
  export declare const Small: Story;
8
8
  export declare const ExtraSmall: Story;
9
9
  export declare const Large: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Paragraph/Paragraph.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAYhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"Paragraph.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Paragraph/Paragraph.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA2BhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Section.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Section/Section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAY9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAC"}
1
+ {"version":3,"file":"Section.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Section/Section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAsB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAgB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/Stack.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAY5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAmB7B,CAAC"}
1
+ {"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/Stack.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA8C5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAwB7B,CAAC"}
@@ -1,32 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const VARIANT_MAPPER: {
3
- body: string;
4
- heading: string;
5
- caption: string;
6
- };
7
- declare const SIZES_MAPPER: {
8
- xs: string;
9
- sm: string;
10
- base: string;
11
- lg: string;
12
- xl: string;
13
- '2xl': string;
14
- '3xl': string;
15
- '4xl': string;
16
- '5xl': string;
17
- '6xl': string;
18
- '7xl': string;
19
- '8xl': string;
20
- '9xl': string;
21
- };
22
- declare const TEXT_WEIGHT_MAPPER: {
23
- readonly normal: "font-normal";
24
- readonly medium: "font-medium";
25
- readonly semibold: "font-semibold";
26
- readonly bold: "font-bold";
27
- readonly light: "font-light";
28
- };
29
- type TextElement = 'span' | 'p' | 'strong' | 'em' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
2
+ import { SIZES_MAPPER, TEXT_WEIGHT_MAPPER, VARIANT_MAPPER } from '../../constants/constant';
3
+ type TextElement = "span" | "p" | "strong" | "em" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
30
4
  export interface TextProps extends React.HTMLAttributes<HTMLElement> {
31
5
  className?: string;
32
6
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,cAAc;;;;CAInB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;CAcjB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;;CAMd,CAAC;AAEX,KAAK,WAAW,GAAG,MAAM,GAAG,GAAG,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpG,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,OAAO,kBAAkB,CAAC;IACxC,OAAO,EAAE,MAAM,OAAO,cAAc,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CAClC;AAED,eAAO,MAAM,IAAI,GAAI,mEAQlB,SAAS,sBAiBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAExF,KAAK,WAAW,GACZ,MAAM,GACN,GAAG,GACH,QAAQ,GACR,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,OAAO,kBAAkB,CAAC;IACxC,OAAO,EAAE,MAAM,OAAO,cAAc,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CAClC;AAED,eAAO,MAAM,IAAI,GAAI,mEAQlB,SAAS,sBAiBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -3,7 +3,7 @@ import { Text } from '..';
3
3
  declare const meta: Meta<typeof Text>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Text>;
6
- export declare const Default: Story;
6
+ export declare const Body: Story;
7
7
  export declare const Heading: Story;
8
8
  export declare const Caption: Story;
9
9
  export declare const UserInteraction: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAY3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAC"}
1
+ {"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAuD3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KASlB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAmB7B,CAAC"}
@@ -14,4 +14,31 @@ export declare const ALIGN_MAPPER: {
14
14
  baseline: string;
15
15
  stretch: string;
16
16
  };
17
+ export declare const VARIANT_MAPPER: {
18
+ body: string;
19
+ heading: string;
20
+ caption: string;
21
+ };
22
+ export declare const SIZES_MAPPER: {
23
+ xs: string;
24
+ sm: string;
25
+ base: string;
26
+ lg: string;
27
+ xl: string;
28
+ '2xl': string;
29
+ '3xl': string;
30
+ '4xl': string;
31
+ '5xl': string;
32
+ '6xl': string;
33
+ '7xl': string;
34
+ '8xl': string;
35
+ '9xl': string;
36
+ };
37
+ export declare const TEXT_WEIGHT_MAPPER: {
38
+ readonly normal: "font-normal";
39
+ readonly medium: "font-medium";
40
+ readonly semibold: "font-semibold";
41
+ readonly bold: "font-bold";
42
+ readonly light: "font-light";
43
+ };
17
44
  //# sourceMappingURL=constant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../../src/constants/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;CAQ3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC"}
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../../src/constants/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;CAQ3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AACF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAcxB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC"}
package/dist/ui.cjs11.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./ui.cjs12.js"),i=require("./ui.cjs13.js"),r={body:"font-sans",heading:"font-sans",caption:"font-sans"},u={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl","7xl":"text-7xl","8xl":"text-8xl","9xl":"text-9xl"},c={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",light:"font-light"},l=({className:s,children:o,element:n,weight:t,variant:e,size:x,...a})=>{const m=n;return d.jsxRuntimeExports.jsx(m,{"data-testid":"text",className:i.clsx("font-sans text-base font-normal",x&&u[x],t&&c[t],e&&r[e],s),...a,children:o})};exports.Text=l;exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x=require("./ui.cjs12.js"),E=require("./ui.cjs13.js"),e=require("./ui.cjs14.js"),o=({className:r,children:u,element:c,weight:t,variant:s,size:n,...l})=>{const a=c;return x.jsxRuntimeExports.jsx(a,{"data-testid":"text",className:E.clsx("font-sans text-base font-normal",n&&e.SIZES_MAPPER[n],t&&e.TEXT_WEIGHT_MAPPER[t],s&&e.VARIANT_MAPPER[s],r),...l,children:u})};exports.Text=o;exports.default=o;
package/dist/ui.cjs14.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},t={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"};exports.ALIGN_MAPPER=t;exports.JUASTIFY_MAPPER=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},e={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},s={body:"font-sans",heading:"font-sans",caption:"font-sans"},n={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl","7xl":"text-7xl","8xl":"text-8xl","9xl":"text-9xl"},l={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",light:"font-light"};exports.ALIGN_MAPPER=e;exports.JUASTIFY_MAPPER=t;exports.SIZES_MAPPER=n;exports.TEXT_WEIGHT_MAPPER=l;exports.VARIANT_MAPPER=s;
package/dist/ui.es11.js CHANGED
@@ -1,56 +1,33 @@
1
- import { j as a } from "./ui.es12.js";
2
- import { clsx as f } from "./ui.es13.js";
3
- const d = {
4
- body: "font-sans",
5
- heading: "font-sans",
6
- caption: "font-sans"
7
- }, r = {
8
- xs: "text-xs",
9
- sm: "text-sm",
10
- base: "text-base",
11
- lg: "text-lg",
12
- xl: "text-xl",
13
- "2xl": "text-2xl",
14
- "3xl": "text-3xl",
15
- "4xl": "text-4xl",
16
- "5xl": "text-5xl",
17
- "6xl": "text-6xl",
18
- "7xl": "text-7xl",
19
- "8xl": "text-8xl",
20
- "9xl": "text-9xl"
21
- }, i = {
22
- normal: "font-normal",
23
- medium: "font-medium",
24
- semibold: "font-semibold",
25
- bold: "font-bold",
26
- light: "font-light"
27
- }, E = ({
1
+ import { j as x } from "./ui.es12.js";
2
+ import { clsx as E } from "./ui.es13.js";
3
+ import { SIZES_MAPPER as f, TEXT_WEIGHT_MAPPER as P, VARIANT_MAPPER as l } from "./ui.es14.js";
4
+ const T = ({
28
5
  className: e,
29
- children: o,
30
- element: s,
6
+ children: m,
7
+ element: r,
31
8
  weight: t,
32
- variant: x,
33
- size: l,
34
- ...n
9
+ variant: o,
10
+ size: s,
11
+ ...a
35
12
  }) => {
36
- const m = s;
37
- return /* @__PURE__ */ a.jsx(
38
- m,
13
+ const n = r;
14
+ return /* @__PURE__ */ x.jsx(
15
+ n,
39
16
  {
40
17
  "data-testid": "text",
41
- className: f(
18
+ className: E(
42
19
  "font-sans text-base font-normal",
43
- l && r[l],
44
- t && i[t],
45
- x && d[x],
20
+ s && f[s],
21
+ t && P[t],
22
+ o && l[o],
46
23
  e
47
24
  ),
48
- ...n,
49
- children: o
25
+ ...a,
26
+ children: m
50
27
  }
51
28
  );
52
29
  };
53
30
  export {
54
- E as Text,
55
- E as default
31
+ T as Text,
32
+ T as default
56
33
  };
package/dist/ui.es14.js CHANGED
@@ -12,8 +12,35 @@ const t = {
12
12
  center: "items-center",
13
13
  baseline: "items-baseline",
14
14
  stretch: "items-stretch"
15
+ }, s = {
16
+ body: "font-sans",
17
+ heading: "font-sans",
18
+ caption: "font-sans"
19
+ }, n = {
20
+ xs: "text-xs",
21
+ sm: "text-sm",
22
+ base: "text-base",
23
+ lg: "text-lg",
24
+ xl: "text-xl",
25
+ "2xl": "text-2xl",
26
+ "3xl": "text-3xl",
27
+ "4xl": "text-4xl",
28
+ "5xl": "text-5xl",
29
+ "6xl": "text-6xl",
30
+ "7xl": "text-7xl",
31
+ "8xl": "text-8xl",
32
+ "9xl": "text-9xl"
33
+ }, x = {
34
+ normal: "font-normal",
35
+ medium: "font-medium",
36
+ semibold: "font-semibold",
37
+ bold: "font-bold",
38
+ light: "font-light"
15
39
  };
16
40
  export {
17
41
  e as ALIGN_MAPPER,
18
- t as JUASTIFY_MAPPER
42
+ t as JUASTIFY_MAPPER,
43
+ n as SIZES_MAPPER,
44
+ x as TEXT_WEIGHT_MAPPER,
45
+ s as VARIANT_MAPPER
19
46
  };
package/dist/ui.es3.js CHANGED
@@ -1,7 +1,12 @@
1
1
  import { j as t } from "./ui.es12.js";
2
2
  import { clsx as s } from "./ui.es13.js";
3
3
  import { Box as a } from "./ui.es2.js";
4
- const l = ({ className: o = "", children: x, element: m, ...r }) => /* @__PURE__ */ t.jsx(
4
+ const l = ({
5
+ className: o = "",
6
+ children: x,
7
+ element: m,
8
+ ...r
9
+ }) => /* @__PURE__ */ t.jsx(
5
10
  a,
6
11
  {
7
12
  element: m,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "A reusable, accessible, and themeable component library powering the Plyaz Web App interface. Built with performance and consistency in mind, @plyaz/ui delivers modular React components aligned with the Plyaz design system — enabling seamless development across fan-facing features, quests, NFTs, and loyalty flows in the Web3 ecosystem.",
5
5
  "type": "module",
6
6
  "files": [
@@ -25,6 +25,7 @@
25
25
  "@testing-library/jest-dom": "^6.6.3",
26
26
  "@testing-library/user-event": "^14.6.1",
27
27
  "clsx": "^2.1.1",
28
+ "mdx-mermaid": "^2.0.3",
28
29
  "react": "^19.1.0",
29
30
  "react-dom": "^19.1.0",
30
31
  "tailwind-merge": "^3.3.1",
@@ -100,7 +101,7 @@
100
101
  "jiti": "^2.4.2",
101
102
  "plop": "^4.0.1",
102
103
  "postcss": "^8.5.3",
103
- "prettier": "^3.5.3",
104
+ "rollup-plugin-visualizer": "^6.0.3",
104
105
  "standard-version": "^9.5.0",
105
106
  "storybook": "^8.6.12",
106
107
  "storybook-addon-tailwind-autodocs": "^1.0.8",
@@ -123,7 +124,7 @@
123
124
  "build": "vite build",
124
125
  "preview": "vite preview",
125
126
  "storybook": "storybook dev -p 6006",
126
- "build-storybook": "storybook build",
127
+ "build-storybook": "mkdir -p ./performance && storybook build > ./performance/storybook-build.log 2>&1",
127
128
  "lint": "eslint ./src",
128
129
  "lint:fix": "eslint ./src --fix",
129
130
  "format": "prettier --write './**/*.{ts,tsx,js,jsx}'",