@agility/plenum-ui 2.0.0-rc13 → 2.0.0-rc15

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 (40) hide show
  1. package/build.js +8 -4
  2. package/dist/index.d.ts +26 -24
  3. package/dist/index.js +1 -6372
  4. package/dist/index.js.map +3 -3
  5. package/dist/types/stories/atoms/buttons/Button/Button.d.ts +2 -2
  6. package/dist/types/stories/atoms/buttons/Capsule/Capsule.d.ts +1 -1
  7. package/dist/types/stories/atoms/icons/DynamicIcon.d.ts +1 -1
  8. package/dist/types/stories/atoms/icons/TablerIcon.d.ts +1 -1
  9. package/dist/types/stories/index.d.ts +2 -2
  10. package/dist/types/stories/organisms/AnimatedLabelInput/AnimatedLabelInput.d.ts +1 -1
  11. package/dist/types/stories/organisms/DropdownComponent/DropdownComponent.d.ts +14 -9
  12. package/dist/types/stories/organisms/DropdownComponent/index.d.ts +2 -2
  13. package/dist/types/stories/organisms/index.d.ts +2 -2
  14. package/package.json +18 -3
  15. package/rollup.config.mjs +42 -0
  16. package/stories/atoms/buttons/Button/Button.tsx +3 -2
  17. package/stories/atoms/buttons/Capsule/Capsule.tsx +2 -1
  18. package/stories/atoms/icons/DynamicIcon.tsx +2 -2
  19. package/stories/atoms/icons/TablerIcon.tsx +1 -1
  20. package/stories/atoms/loaders/Loader.tsx +12 -6
  21. package/stories/index.ts +0 -2
  22. package/stories/molecules/inputs/textArea/TextArea.tsx +13 -16
  23. package/stories/organisms/AnimatedLabelInput/AnimatedLabelInput.tsx +35 -33
  24. package/stories/organisms/AnimatedLabelTextArea/AnimatedLabelTextArea.tsx +3 -3
  25. package/stories/organisms/ButtonDropdown/ButtonDropdown.tsx +13 -16
  26. package/stories/organisms/DropdownComponent/DropdownComponent.tsx +17 -15
  27. package/stories/organisms/DropdownComponent/index.ts +2 -2
  28. package/stories/organisms/index.ts +10 -3
  29. package/tsconfig.lib.json +13 -6
  30. package/.yarnrc.yml +0 -1
  31. package/dist/types/stories/layouts/index.d.ts +0 -0
  32. package/stories/layouts/CardLayout/CardLayout.stories.tsx +0 -18
  33. package/stories/layouts/CardLayout/CardLayout.tsx +0 -22
  34. package/stories/layouts/CardLayout/index.tsx +0 -3
  35. package/stories/layouts/ModalLayout/ModalLayout.stories.tsx +0 -18
  36. package/stories/layouts/ModalLayout/ModalLayout.tsx +0 -22
  37. package/stories/layouts/ModalLayout/index.tsx +0 -3
  38. package/stories/layouts/index.ts +0 -0
  39. package/stories/organisms/DropdownComponent/Dropdown.test.tsx +0 -0
  40. /package/dist/{lib/tailwind.css → tailwind.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  import AnimatedLabelInput, { IAnimatedLabelInputProps } from "./AnimatedLabelInput"
2
2
  import AnimatedLabelTextArea, { IAnimatedLabelTextAreaProps } from "./AnimatedLabelTextArea"
3
3
  import ButtonDropdown, { IButtonDropdownProps } from "./ButtonDropdown"
4
- import Dropdown, { IDropdownClassnames, IDropdownProps, IItemProp } from "./DropdownComponent"
4
+ import Dropdown, { IDropdownProps, IItemProp } from "./DropdownComponent"
5
5
  import EmptySectionPlaceholder, { IEmptySectionPlaceholderProps } from "./EmptySectionPlaceholder"
6
6
  import FormInputWithAddons, { IFormInputWithAddonsProps } from "./FormInputWithAddons"
7
7
  import TextInputSelect, { ITextInputSelectProps } from "./TextInputSelect"
@@ -10,11 +10,18 @@ export type {
10
10
  IAnimatedLabelInputProps,
11
11
  IAnimatedLabelTextAreaProps,
12
12
  IButtonDropdownProps,
13
- IDropdownClassnames,
14
13
  IDropdownProps,
15
14
  IEmptySectionPlaceholderProps,
16
15
  IItemProp,
17
16
  IFormInputWithAddonsProps,
18
17
  ITextInputSelectProps
19
18
  }
20
- export { AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect }
19
+ export {
20
+ AnimatedLabelInput,
21
+ AnimatedLabelTextArea,
22
+ ButtonDropdown,
23
+ Dropdown,
24
+ EmptySectionPlaceholder,
25
+ FormInputWithAddons,
26
+ TextInputSelect
27
+ }
package/tsconfig.lib.json CHANGED
@@ -3,17 +3,24 @@
3
3
  "declaration": true,
4
4
  "declarationDir": "./dist/types",
5
5
  "outDir": "./dist",
6
- "module": "esnext",
6
+ "module": "ESNext",
7
7
  "rootDir": "./",
8
- "target": "es2021",
8
+ "target": "ESNext",
9
9
  "esModuleInterop": true,
10
10
  "moduleResolution": "node",
11
11
  "baseUrl": ".",
12
12
  "paths": {
13
- "@/*": ["./*"]
13
+ "@/*": [
14
+ "./*"
15
+ ]
14
16
  },
15
17
  "jsx": "react-jsx"
16
18
  },
17
- "include": ["stories/**/*.ts", "utils/**/*.ts"],
18
- "exclude": ["node_modules"]
19
- }
19
+ "include": [
20
+ "stories/**/*.ts",
21
+ "utils/**/*.ts"
22
+ ],
23
+ "exclude": [
24
+ "node_modules"
25
+ ]
26
+ }
package/.yarnrc.yml DELETED
@@ -1 +0,0 @@
1
- nodeLinker: node-modules
File without changes
@@ -1,18 +0,0 @@
1
-
2
- import type { Meta, StoryObj } from "@storybook/react"
3
- import CardLayout, { ICardLayoutProps } from "./CardLayout"
4
-
5
- const meta: Meta<typeof CardLayout> = {
6
- title: "Design System/layouts/CardLayout",
7
- component: CardLayout,
8
- tags: ["autodocs"],
9
- argTypes: {}
10
- }
11
-
12
- export default meta
13
- type Story = StoryObj<typeof CardLayout>
14
- export const DefaultCardLayoutStory: Story = {
15
- args: {
16
-
17
- }
18
- }
@@ -1,22 +0,0 @@
1
-
2
- import React from "react"
3
- import EmptySectionPlaceholder from "@/stories/organisms/EmptySectionPlaceholder"
4
-
5
- export interface ICardLayoutProps {}
6
-
7
- const CardLayout: React.FC<ICardLayoutProps> = ({}) => {
8
- return (
9
- <EmptySectionPlaceholder
10
- {...{
11
- icon: {
12
- icon: "IconCode"
13
- },
14
- mutedText: "Coming Soon! 🚧",
15
- primaryMessage: "We're working on this component. Be sure to check back soon!",
16
- actions: []
17
- }}
18
- />
19
- )
20
- };
21
-
22
- export default CardLayout;
@@ -1,3 +0,0 @@
1
-
2
- export { default } from './CardLayout';
3
- export * from './CardLayout';
@@ -1,18 +0,0 @@
1
-
2
- import type { Meta, StoryObj } from "@storybook/react"
3
- import ModalLayout, { IModalLayoutProps } from "./ModalLayout"
4
-
5
- const meta: Meta<typeof ModalLayout> = {
6
- title: "Design System/layouts/ModalLayout",
7
- component: ModalLayout,
8
- tags: ["autodocs"],
9
- argTypes: {}
10
- }
11
-
12
- export default meta
13
- type Story = StoryObj<typeof ModalLayout>
14
- export const DefaultModalLayoutStory: Story = {
15
- args: {
16
-
17
- }
18
- }
@@ -1,22 +0,0 @@
1
-
2
- import React from "react"
3
- import EmptySectionPlaceholder from "@/stories/organisms/EmptySectionPlaceholder"
4
-
5
- export interface IModalLayoutProps {}
6
-
7
- const ModalLayout: React.FC<IModalLayoutProps> = ({}) => {
8
- return (
9
- <EmptySectionPlaceholder
10
- {...{
11
- icon: {
12
- icon: "IconCode"
13
- },
14
- mutedText: "Coming Soon! 🚧",
15
- primaryMessage: "We're working on this component. Be sure to check back soon!",
16
- actions: []
17
- }}
18
- />
19
- )
20
- };
21
-
22
- export default ModalLayout;
@@ -1,3 +0,0 @@
1
-
2
- export { default } from './ModalLayout';
3
- export * from './ModalLayout';
File without changes
File without changes