@pautena/react-design-system 0.4.3 → 0.4.4
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/cjs/index.js +23 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/app-bars/index.d.ts +1 -0
- package/dist/cjs/types/components/containers/index.d.ts +2 -0
- package/dist/cjs/types/components/data-display/index.d.ts +3 -0
- package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.types.d.ts +10 -3
- package/dist/cjs/types/components/drawers/drawer-collapsable-item/drawer-collapsable-item.d.ts +26 -0
- package/dist/cjs/types/components/drawers/drawer-collapsable-item/index.d.ts +1 -0
- package/dist/cjs/types/components/{drawer-item → drawers/drawer-item}/drawer-item.d.ts +10 -1
- package/dist/{esm/types/components → cjs/types/components/drawers}/drawer-section/drawer-section.d.ts +5 -1
- package/dist/cjs/types/components/drawers/index.d.ts +4 -0
- package/dist/cjs/types/components/feedback/index.d.ts +2 -0
- package/dist/cjs/types/components/index.d.ts +9 -18
- package/dist/cjs/types/components/inputs/index.d.ts +2 -0
- package/dist/cjs/types/components/navigation/index.d.ts +1 -0
- package/dist/cjs/types/components/placeholders/content-placeholder/content-placeholder.d.ts +6 -0
- package/dist/cjs/types/components/placeholders/content-placeholder/index.d.ts +1 -0
- package/dist/cjs/types/components/placeholders/index.d.ts +5 -0
- package/dist/cjs/types/components/placeholders/lorem-ipsum-placeholder/index.d.ts +1 -0
- package/dist/cjs/types/components/placeholders/lorem-ipsum-placeholder/lorem-ipsum-placeholder.d.ts +8 -0
- package/dist/cjs/types/components/placeholders/skeleton-card/index.d.ts +1 -0
- package/dist/cjs/types/components/placeholders/skeleton-card/skeleton-card.d.ts +5 -0
- package/dist/cjs/types/components/placeholders/skeleton-grid/index.d.ts +1 -0
- package/dist/cjs/types/components/placeholders/skeleton-grid/skeleton-grid.d.ts +4 -0
- package/dist/cjs/types/generators/index.d.ts +1 -0
- package/dist/cjs/types/{components → generators}/table-list/table-list.d.ts +2 -2
- package/dist/cjs/types/layouts/app-bar-with-drawer-layout/app-bar-with-drawer-layout.d.ts +2 -2
- package/dist/esm/index.js +23 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/app-bars/index.d.ts +1 -0
- package/dist/esm/types/components/containers/index.d.ts +2 -0
- package/dist/esm/types/components/data-display/index.d.ts +3 -0
- package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.types.d.ts +10 -3
- package/dist/esm/types/components/drawers/drawer-collapsable-item/drawer-collapsable-item.d.ts +26 -0
- package/dist/esm/types/components/drawers/drawer-collapsable-item/index.d.ts +1 -0
- package/dist/esm/types/components/{drawer-item → drawers/drawer-item}/drawer-item.d.ts +10 -1
- package/dist/{cjs/types/components → esm/types/components/drawers}/drawer-section/drawer-section.d.ts +5 -1
- package/dist/esm/types/components/drawers/index.d.ts +4 -0
- package/dist/esm/types/components/feedback/index.d.ts +2 -0
- package/dist/esm/types/components/index.d.ts +9 -18
- package/dist/esm/types/components/inputs/index.d.ts +2 -0
- package/dist/esm/types/components/navigation/index.d.ts +1 -0
- package/dist/esm/types/components/placeholders/content-placeholder/content-placeholder.d.ts +6 -0
- package/dist/esm/types/components/placeholders/content-placeholder/index.d.ts +1 -0
- package/dist/esm/types/components/placeholders/index.d.ts +5 -0
- package/dist/esm/types/components/placeholders/lorem-ipsum-placeholder/index.d.ts +1 -0
- package/dist/esm/types/components/placeholders/lorem-ipsum-placeholder/lorem-ipsum-placeholder.d.ts +8 -0
- package/dist/esm/types/components/placeholders/skeleton-card/index.d.ts +1 -0
- package/dist/esm/types/components/placeholders/skeleton-card/skeleton-card.d.ts +5 -0
- package/dist/esm/types/components/placeholders/skeleton-grid/index.d.ts +1 -0
- package/dist/esm/types/components/placeholders/skeleton-grid/skeleton-grid.d.ts +4 -0
- package/dist/esm/types/generators/index.d.ts +1 -0
- package/dist/esm/types/{components → generators}/table-list/table-list.d.ts +2 -2
- package/dist/esm/types/layouts/app-bar-with-drawer-layout/app-bar-with-drawer-layout.d.ts +2 -2
- package/dist/index.d.ts +374 -329
- package/package.json +15 -14
- package/src/components/{app-bar → app-bars/app-bar}/app-bar.stories.tsx +3 -3
- package/src/components/{app-bar → app-bars/app-bar}/app-bar.test.tsx +1 -1
- package/src/components/{app-bar → app-bars/app-bar}/app-bar.tsx +1 -1
- package/src/components/{app-bar → app-bars/app-bar}/mini-app-bar/mini-app-bar.tsx +2 -2
- package/src/components/app-bars/app-bars.stories.mdx +10 -0
- package/src/components/app-bars/index.ts +1 -0
- package/src/components/components.stories.mdx +19 -0
- package/src/components/{center-container → containers/center-container}/center-container.stories.tsx +3 -3
- package/src/components/containers/containers.stories.mdx +11 -0
- package/src/components/{content → containers/content}/content.stories.tsx +3 -3
- package/src/components/containers/index.ts +2 -0
- package/src/components/{bullet → data-display/bullet}/bullet.stories.tsx +2 -2
- package/src/components/data-display/data-display.stories.mdx +12 -0
- package/src/components/{header → data-display/header}/header.stories.tsx +2 -2
- package/src/components/{header → data-display/header}/header.test.tsx +1 -1
- package/src/components/{header → data-display/header}/header.tsx +2 -2
- package/src/components/data-display/index.ts +3 -0
- package/src/components/{label → data-display/label}/label.stories.tsx +2 -2
- package/src/components/{drawer → drawers/drawer}/drawer.mock.tsx +27 -0
- package/src/components/{drawer → drawers/drawer}/drawer.types.ts +12 -3
- package/src/components/{drawer → drawers/drawer}/mini-drawer/mini-drawer.stories.tsx +3 -3
- package/src/components/{drawer → drawers/drawer}/mini-drawer/mini-drawer.tsx +1 -2
- package/src/components/drawers/drawer-collapsable-item/drawer-collapsable-item.test.tsx +62 -0
- package/src/components/drawers/drawer-collapsable-item/drawer-collapsable-item.tsx +78 -0
- package/src/components/drawers/drawer-collapsable-item/index.ts +1 -0
- package/src/components/{drawer-content → drawers/drawer-content}/drawer-content.stories.tsx +3 -2
- package/src/components/{drawer-content → drawers/drawer-content}/drawer-content.test.tsx +25 -0
- package/src/components/{drawer-content → drawers/drawer-content}/drawer-content.tsx +5 -4
- package/src/components/{drawer-item → drawers/drawer-item}/drawer-item.stories.tsx +2 -3
- package/src/components/{drawer-item → drawers/drawer-item}/drawer-item.tsx +23 -5
- package/src/components/{drawer-section → drawers/drawer-section}/drawer-section.stories.tsx +3 -3
- package/src/components/drawers/drawer-section/drawer-section.tsx +65 -0
- package/src/components/drawers/drawers.stories.mdx +13 -0
- package/src/components/drawers/index.ts +4 -0
- package/src/components/feedback/feedback.stories.mdx +12 -0
- package/src/components/feedback/index.ts +2 -0
- package/src/components/{loading-area → feedback/loading-area}/loading-area.stories.tsx +2 -2
- package/src/components/{query-container → feedback/query-container}/query-container.stories.tsx +2 -2
- package/src/components/index.ts +9 -18
- package/src/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.stories.tsx +2 -2
- package/src/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.tsx +1 -1
- package/src/components/inputs/index.ts +2 -0
- package/src/components/inputs/inputs.stories.mdx +11 -0
- package/src/components/{sign-in → inputs/sign-in}/sign-in.stories.tsx +2 -2
- package/src/components/navigation/index.ts +1 -0
- package/src/components/navigation/navigation.stories.mdx +10 -0
- package/src/components/{tab → navigation/tab}/tab-card/tab-card.dummy.tsx +1 -1
- package/src/components/{tab → navigation/tab}/tab-card/tab-card.stories.tsx +2 -2
- package/src/components/{tab → navigation/tab}/tab-panel/tab-panel.test.tsx +1 -1
- package/src/{tests → components/placeholders/content-placeholder}/content-placeholder.stories.tsx +3 -4
- package/src/components/placeholders/content-placeholder/content-placeholder.tsx +17 -0
- package/src/components/placeholders/content-placeholder/index.ts +1 -0
- package/src/components/placeholders/index.ts +5 -0
- package/src/components/placeholders/lorem-ipsum-placeholder/index.ts +1 -0
- package/src/components/placeholders/lorem-ipsum-placeholder/lorem-ipsum-placeholder.stories.tsx +15 -0
- package/src/components/placeholders/lorem-ipsum-placeholder/lorem-ipsum-placeholder.tsx +26 -0
- package/src/components/{placeholder → placeholders/placeholder}/placeholder.stories.tsx +2 -2
- package/src/components/placeholders/placeholders.stories.mdx +14 -0
- package/src/components/placeholders/skeleton-card/index.ts +1 -0
- package/src/{tests → components/placeholders/skeleton-card}/skeleton-card.stories.tsx +3 -3
- package/src/components/placeholders/skeleton-card/skeleton-card.tsx +17 -0
- package/src/components/placeholders/skeleton-grid/index.ts +1 -0
- package/src/components/placeholders/skeleton-grid/skeleton-grid.stories.tsx +15 -0
- package/src/components/placeholders/skeleton-grid/skeleton-grid.tsx +20 -0
- package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.stories.tsx +1 -1
- package/src/components/{table → tables}/enhanced-table/enhanced-table.stories.tsx +1 -1
- package/src/components/tables/table.stories.mdx +11 -0
- package/src/components/value-displays/group-value-card/group-value-card.stories.tsx +2 -2
- package/src/components/value-displays/group-value-card/group-value-card.test.tsx +2 -2
- package/src/components/value-displays/value-boolean/value-boolean.stories.tsx +1 -1
- package/src/components/value-displays/value-boolean/value-boolean.tsx +1 -1
- package/src/components/value-displays/value-card/value-card.stories.tsx +1 -1
- package/src/components/value-displays/value-content/value-content.stories.tsx +1 -1
- package/src/components/value-displays/value-content/value-content.tsx +1 -2
- package/src/components/value-displays/value-datetime/value-datetime.stories.tsx +1 -1
- package/src/components/value-displays/value-datetime/value-datetime.tsx +1 -1
- package/src/components/value-displays/value-displays.stories.mdx +16 -0
- package/src/components/value-displays/value-image/value-image.stories.tsx +1 -1
- package/src/components/value-displays/value-image/value-image.test.tsx +1 -1
- package/src/components/value-displays/value-text/value-text.stories.tsx +1 -1
- package/src/generators/generators.stories.mdx +13 -0
- package/src/generators/index.ts +1 -0
- package/src/generators/model-router/screens/list-screen.tsx +2 -1
- package/src/generators/model-router/stories/model-router.stories.tsx +1 -1
- package/src/{components → generators}/table-list/table-list.stories.tsx +1 -1
- package/src/{components → generators}/table-list/table-list.test.tsx +2 -2
- package/src/{components → generators}/table-list/table-list.tsx +2 -2
- package/src/layouts/app-bar-with-drawer-layout/app-bar-with-drawer-layout.stories.tsx +3 -4
- package/src/layouts/app-bar-with-drawer-layout/app-bar-with-drawer-layout.tsx +3 -3
- package/src/layouts/header-layout/header-layout.stories.tsx +6 -5
- package/src/layouts/header-layout/header-layout.tsx +1 -1
- package/src/layouts/layouts.stories.mdx +11 -0
- package/src/providers/notification-center/notification-center.stories.tsx +2 -2
- package/src/stories/Introduction.stories.mdx +10 -185
- package/src/stories/getting-started.stories.mdx +23 -0
- package/src/tests/datatable-placeholder/datatable-placeholder.stories.tsx +15 -0
- package/src/tests/datatable-placeholder/datatable-placeholder.tsx +40 -0
- package/src/tests/datatable-placeholder/index.ts +1 -0
- package/src/types.d.ts +4 -0
- package/src/components/drawer-section/drawer-section.tsx +0 -40
- package/src/tests/components.tsx +0 -94
- /package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/app-bar.d.ts +0 -0
- /package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/app-bar.types.d.ts +0 -0
- /package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/index.d.ts +0 -0
- /package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/mini-app-bar.d.ts +0 -0
- /package/dist/cjs/types/components/{center-container → containers/center-container}/center-container.d.ts +0 -0
- /package/dist/cjs/types/components/{center-container → containers/center-container}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{content → containers/content}/content.d.ts +0 -0
- /package/dist/cjs/types/components/{content → containers/content}/content.types.d.ts +0 -0
- /package/dist/cjs/types/components/{content → containers/content}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{bullet → data-display/bullet}/bullet.d.ts +0 -0
- /package/dist/cjs/types/components/{bullet → data-display/bullet}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{header → data-display/header}/header.d.ts +0 -0
- /package/dist/cjs/types/components/{header → data-display/header}/header.dummy.d.ts +0 -0
- /package/dist/cjs/types/components/{header → data-display/header}/header.types.d.ts +0 -0
- /package/dist/cjs/types/components/{header → data-display/header}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{label → data-display/label}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{label → data-display/label}/label.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.context.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.mixins.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.mock.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/drawer.provider.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/mini-drawer/index.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer → drawers/drawer}/mini-drawer/mini-drawer.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer-content → drawers/drawer-content}/drawer-content.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer-content → drawers/drawer-content}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer-item → drawers/drawer-item}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer-section → drawers/drawer-section}/drawer-section.mock.d.ts +0 -0
- /package/dist/cjs/types/components/{drawer-section → drawers/drawer-section}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{loading-area → feedback/loading-area}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{loading-area → feedback/loading-area}/loading-area.d.ts +0 -0
- /package/dist/cjs/types/components/{query-container → feedback/query-container}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{query-container → feedback/query-container}/query-container.d.ts +0 -0
- /package/dist/cjs/types/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.d.ts +0 -0
- /package/dist/cjs/types/components/{enhanced-select → inputs/enhanced-select}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{sign-in → inputs/sign-in}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{sign-in → inputs/sign-in}/sign-in.d.ts +0 -0
- /package/dist/cjs/types/components/{link → navigation/link}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{link → navigation/link}/link.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/tab-card/index.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/tab-card/tab-card.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/tab-card/tab-card.dummy.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/tab-panel/index.d.ts +0 -0
- /package/dist/cjs/types/components/{tab → navigation/tab}/tab-panel/tab-panel.d.ts +0 -0
- /package/dist/cjs/types/components/{placeholder → placeholders/placeholder}/index.d.ts +0 -0
- /package/dist/cjs/types/components/{placeholder → placeholders/placeholder}/placeholder.d.ts +0 -0
- /package/dist/cjs/types/components/{placeholder → placeholders/placeholder}/placeholder.mock.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.mock.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-remote-table/index.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-table/enhanced-table-head.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-table/enhanced-table.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-table/enhanced-table.mock.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/enhanced-table/index.d.ts +0 -0
- /package/dist/cjs/types/components/{table → tables}/index.d.ts +0 -0
- /package/dist/cjs/types/{components → generators}/table-list/index.d.ts +0 -0
- /package/dist/esm/types/components/{app-bar → app-bars/app-bar}/app-bar.d.ts +0 -0
- /package/dist/esm/types/components/{app-bar → app-bars/app-bar}/app-bar.types.d.ts +0 -0
- /package/dist/esm/types/components/{app-bar → app-bars/app-bar}/index.d.ts +0 -0
- /package/dist/esm/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/index.d.ts +0 -0
- /package/dist/esm/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/mini-app-bar.d.ts +0 -0
- /package/dist/esm/types/components/{center-container → containers/center-container}/center-container.d.ts +0 -0
- /package/dist/esm/types/components/{center-container → containers/center-container}/index.d.ts +0 -0
- /package/dist/esm/types/components/{content → containers/content}/content.d.ts +0 -0
- /package/dist/esm/types/components/{content → containers/content}/content.types.d.ts +0 -0
- /package/dist/esm/types/components/{content → containers/content}/index.d.ts +0 -0
- /package/dist/esm/types/components/{bullet → data-display/bullet}/bullet.d.ts +0 -0
- /package/dist/esm/types/components/{bullet → data-display/bullet}/index.d.ts +0 -0
- /package/dist/esm/types/components/{header → data-display/header}/header.d.ts +0 -0
- /package/dist/esm/types/components/{header → data-display/header}/header.dummy.d.ts +0 -0
- /package/dist/esm/types/components/{header → data-display/header}/header.types.d.ts +0 -0
- /package/dist/esm/types/components/{header → data-display/header}/index.d.ts +0 -0
- /package/dist/esm/types/components/{label → data-display/label}/index.d.ts +0 -0
- /package/dist/esm/types/components/{label → data-display/label}/label.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.context.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.mixins.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.mock.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/drawer.provider.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/index.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/mini-drawer/index.d.ts +0 -0
- /package/dist/esm/types/components/{drawer → drawers/drawer}/mini-drawer/mini-drawer.d.ts +0 -0
- /package/dist/esm/types/components/{drawer-content → drawers/drawer-content}/drawer-content.d.ts +0 -0
- /package/dist/esm/types/components/{drawer-content → drawers/drawer-content}/index.d.ts +0 -0
- /package/dist/esm/types/components/{drawer-item → drawers/drawer-item}/index.d.ts +0 -0
- /package/dist/esm/types/components/{drawer-section → drawers/drawer-section}/drawer-section.mock.d.ts +0 -0
- /package/dist/esm/types/components/{drawer-section → drawers/drawer-section}/index.d.ts +0 -0
- /package/dist/esm/types/components/{loading-area → feedback/loading-area}/index.d.ts +0 -0
- /package/dist/esm/types/components/{loading-area → feedback/loading-area}/loading-area.d.ts +0 -0
- /package/dist/esm/types/components/{query-container → feedback/query-container}/index.d.ts +0 -0
- /package/dist/esm/types/components/{query-container → feedback/query-container}/query-container.d.ts +0 -0
- /package/dist/esm/types/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.d.ts +0 -0
- /package/dist/esm/types/components/{enhanced-select → inputs/enhanced-select}/index.d.ts +0 -0
- /package/dist/esm/types/components/{sign-in → inputs/sign-in}/index.d.ts +0 -0
- /package/dist/esm/types/components/{sign-in → inputs/sign-in}/sign-in.d.ts +0 -0
- /package/dist/esm/types/components/{link → navigation/link}/index.d.ts +0 -0
- /package/dist/esm/types/components/{link → navigation/link}/link.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/index.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/tab-card/index.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/tab-card/tab-card.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/tab-card/tab-card.dummy.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/tab-panel/index.d.ts +0 -0
- /package/dist/esm/types/components/{tab → navigation/tab}/tab-panel/tab-panel.d.ts +0 -0
- /package/dist/esm/types/components/{placeholder → placeholders/placeholder}/index.d.ts +0 -0
- /package/dist/esm/types/components/{placeholder → placeholders/placeholder}/placeholder.d.ts +0 -0
- /package/dist/esm/types/components/{placeholder → placeholders/placeholder}/placeholder.mock.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.mock.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-remote-table/index.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-table/enhanced-table-head.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-table/enhanced-table.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-table/enhanced-table.mock.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/enhanced-table/index.d.ts +0 -0
- /package/dist/esm/types/components/{table → tables}/index.d.ts +0 -0
- /package/dist/esm/types/{components → generators}/table-list/index.d.ts +0 -0
- /package/src/components/{app-bar → app-bars/app-bar}/app-bar.types.ts +0 -0
- /package/src/components/{app-bar → app-bars/app-bar}/index.ts +0 -0
- /package/src/components/{app-bar → app-bars/app-bar}/mini-app-bar/index.ts +0 -0
- /package/src/components/{center-container → containers/center-container}/center-container.test.tsx +0 -0
- /package/src/components/{center-container → containers/center-container}/center-container.tsx +0 -0
- /package/src/components/{center-container → containers/center-container}/index.ts +0 -0
- /package/src/components/{content → containers/content}/content.test.tsx +0 -0
- /package/src/components/{content → containers/content}/content.tsx +0 -0
- /package/src/components/{content → containers/content}/content.types.ts +0 -0
- /package/src/components/{content → containers/content}/index.ts +0 -0
- /package/src/components/{bullet → data-display/bullet}/bullet.test.tsx +0 -0
- /package/src/components/{bullet → data-display/bullet}/bullet.tsx +0 -0
- /package/src/components/{bullet → data-display/bullet}/index.ts +0 -0
- /package/src/components/{header → data-display/header}/header.dummy.ts +0 -0
- /package/src/components/{header → data-display/header}/header.types.ts +0 -0
- /package/src/components/{header → data-display/header}/index.ts +0 -0
- /package/src/components/{label → data-display/label}/index.ts +0 -0
- /package/src/components/{label → data-display/label}/label.test.tsx +0 -0
- /package/src/components/{label → data-display/label}/label.tsx +0 -0
- /package/src/components/{drawer → drawers/drawer}/__snapshots__/drawer.test.tsx.snap +0 -0
- /package/src/components/{drawer → drawers/drawer}/drawer.context.ts +0 -0
- /package/src/components/{drawer → drawers/drawer}/drawer.mixins.ts +0 -0
- /package/src/components/{drawer → drawers/drawer}/drawer.provider.tsx +0 -0
- /package/src/components/{drawer → drawers/drawer}/drawer.test.tsx +0 -0
- /package/src/components/{drawer → drawers/drawer}/drawer.tsx +0 -0
- /package/src/components/{drawer → drawers/drawer}/index.ts +0 -0
- /package/src/components/{drawer → drawers/drawer}/mini-drawer/index.ts +0 -0
- /package/src/components/{drawer-content → drawers/drawer-content}/index.ts +0 -0
- /package/src/components/{drawer-item → drawers/drawer-item}/drawer-item.test.tsx +0 -0
- /package/src/components/{drawer-item → drawers/drawer-item}/index.ts +0 -0
- /package/src/components/{drawer-section → drawers/drawer-section}/drawer-section.mock.tsx +0 -0
- /package/src/components/{drawer-section → drawers/drawer-section}/drawer-section.test.tsx +0 -0
- /package/src/components/{drawer-section → drawers/drawer-section}/index.ts +0 -0
- /package/src/components/{loading-area → feedback/loading-area}/index.ts +0 -0
- /package/src/components/{loading-area → feedback/loading-area}/loading-area.test.tsx +0 -0
- /package/src/components/{loading-area → feedback/loading-area}/loading-area.tsx +0 -0
- /package/src/components/{query-container → feedback/query-container}/index.ts +0 -0
- /package/src/components/{query-container → feedback/query-container}/query-container.test.tsx +0 -0
- /package/src/components/{query-container → feedback/query-container}/query-container.tsx +0 -0
- /package/src/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.test.tsx +0 -0
- /package/src/components/{enhanced-select → inputs/enhanced-select}/index.ts +0 -0
- /package/src/components/{sign-in → inputs/sign-in}/index.ts +0 -0
- /package/src/components/{sign-in → inputs/sign-in}/sign-in.test.tsx +0 -0
- /package/src/components/{sign-in → inputs/sign-in}/sign-in.tsx +0 -0
- /package/src/components/{link → navigation/link}/index.ts +0 -0
- /package/src/components/{link → navigation/link}/link.tsx +0 -0
- /package/src/components/{tab → navigation/tab}/index.ts +0 -0
- /package/src/components/{tab → navigation/tab}/tab-card/index.ts +0 -0
- /package/src/components/{tab → navigation/tab}/tab-card/tab-card.test.tsx +0 -0
- /package/src/components/{tab → navigation/tab}/tab-card/tab-card.tsx +0 -0
- /package/src/components/{tab → navigation/tab}/tab-panel/index.ts +0 -0
- /package/src/components/{tab → navigation/tab}/tab-panel/tab-panel.tsx +0 -0
- /package/src/components/{placeholder → placeholders/placeholder}/index.ts +0 -0
- /package/src/components/{placeholder → placeholders/placeholder}/placeholder.mock.ts +0 -0
- /package/src/components/{placeholder → placeholders/placeholder}/placeholder.test.tsx +0 -0
- /package/src/components/{placeholder → placeholders/placeholder}/placeholder.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.mock.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.test.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-remote-table/index.ts +0 -0
- /package/src/components/{table → tables}/enhanced-table/enhanced-table-head.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-table/enhanced-table.mock.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-table/enhanced-table.test.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-table/enhanced-table.tsx +0 -0
- /package/src/components/{table → tables}/enhanced-table/index.ts +0 -0
- /package/src/components/{table → tables}/index.ts +0 -0
- /package/src/{components → generators}/table-list/index.ts +0 -0
package/src/tests/components.tsx
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from "react";
|
|
2
|
-
import { Typography, Container, Skeleton, Grid, Box } from "@mui/material";
|
|
3
|
-
import { loremIpsum } from "lorem-ipsum";
|
|
4
|
-
import { newArrayWithSize } from "../utils";
|
|
5
|
-
import { useDemoData } from "@mui/x-data-grid-generator";
|
|
6
|
-
import { DataGrid } from "@mui/x-data-grid";
|
|
7
|
-
|
|
8
|
-
export const Placeholder = () => {
|
|
9
|
-
return (
|
|
10
|
-
<Typography variant="body1">
|
|
11
|
-
{loremIpsum({
|
|
12
|
-
count: 3,
|
|
13
|
-
units: "paragraph",
|
|
14
|
-
})}
|
|
15
|
-
</Typography>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export interface SkeletonCardProps {
|
|
20
|
-
width?: number | string;
|
|
21
|
-
animation?: "pulse" | "wave" | false;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const SkeletonCard = ({ width = "100%", animation = false }: SkeletonCardProps) => {
|
|
25
|
-
return (
|
|
26
|
-
<Box width={width}>
|
|
27
|
-
<Skeleton animation={animation} variant="rectangular" height={118} />
|
|
28
|
-
<Skeleton animation={animation} variant="rectangular" height={16} sx={{ my: 1 }} />
|
|
29
|
-
<Skeleton animation={animation} variant="rectangular" width="80%" height={16} />
|
|
30
|
-
</Box>
|
|
31
|
-
);
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
interface SkeletonGridProps {
|
|
35
|
-
size?: number;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export const SkeletonGrid = ({ size = 20 }: SkeletonGridProps) => {
|
|
39
|
-
return (
|
|
40
|
-
<Grid container spacing={2}>
|
|
41
|
-
{newArrayWithSize(size, 0).map((_, i) => (
|
|
42
|
-
<Grid item key={i} xs={4}>
|
|
43
|
-
<SkeletonCard width={1} />
|
|
44
|
-
</Grid>
|
|
45
|
-
))}
|
|
46
|
-
</Grid>
|
|
47
|
-
);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
type ContentPlaceholderProps = PropsWithChildren<{
|
|
51
|
-
size?: number;
|
|
52
|
-
p?: number;
|
|
53
|
-
}>;
|
|
54
|
-
|
|
55
|
-
export const ContentPlaceholder = ({ size = 20, children, p }: ContentPlaceholderProps) => {
|
|
56
|
-
return (
|
|
57
|
-
<Container component="main" sx={{ p }} data-testid="content-placeholder-test">
|
|
58
|
-
{children}
|
|
59
|
-
<SkeletonGrid size={size} />
|
|
60
|
-
</Container>
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export interface DatatablePlaceholderProps {
|
|
65
|
-
rowLength?: number;
|
|
66
|
-
maxColumns?: number;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export const DatatablePlaceholder = ({
|
|
70
|
-
rowLength = 1000,
|
|
71
|
-
maxColumns = 10,
|
|
72
|
-
}: DatatablePlaceholderProps) => {
|
|
73
|
-
const {
|
|
74
|
-
data: { rows, columns },
|
|
75
|
-
} = useDemoData({
|
|
76
|
-
dataSet: "Commodity",
|
|
77
|
-
rowLength,
|
|
78
|
-
maxColumns,
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
return (
|
|
82
|
-
<Box sx={{ height: 400, width: 1 }}>
|
|
83
|
-
<DataGrid
|
|
84
|
-
rows={rows}
|
|
85
|
-
columns={columns}
|
|
86
|
-
pageSize={5}
|
|
87
|
-
rowsPerPageOptions={[5]}
|
|
88
|
-
checkboxSelection
|
|
89
|
-
disableSelectionOnClick
|
|
90
|
-
experimentalFeatures={{ newEditingApi: true }}
|
|
91
|
-
/>
|
|
92
|
-
</Box>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/mini-app-bar.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/cjs/types/components/{center-container → containers/center-container}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/types/components/{drawer-content → drawers/drawer-content}/drawer-content.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/types/components/{query-container → feedback/query-container}/query-container.d.ts
RENAMED
|
File without changes
|
/package/dist/cjs/types/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/types/components/{placeholder → placeholders/placeholder}/placeholder.d.ts
RENAMED
|
File without changes
|
/package/dist/cjs/types/components/{placeholder → placeholders/placeholder}/placeholder.mock.d.ts
RENAMED
|
File without changes
|
/package/dist/cjs/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/types/components/{app-bar → app-bars/app-bar}/mini-app-bar/mini-app-bar.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/types/components/{center-container → containers/center-container}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/types/components/{drawer-content → drawers/drawer-content}/drawer-content.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/types/components/{query-container → feedback/query-container}/query-container.d.ts
RENAMED
|
File without changes
|
/package/dist/esm/types/components/{enhanced-select → inputs/enhanced-select}/enhanced-select.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/types/components/{placeholder → placeholders/placeholder}/placeholder.d.ts
RENAMED
|
File without changes
|
/package/dist/esm/types/components/{placeholder → placeholders/placeholder}/placeholder.mock.d.ts
RENAMED
|
File without changes
|
/package/dist/esm/types/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/{center-container → containers/center-container}/center-container.test.tsx
RENAMED
|
File without changes
|
/package/src/components/{center-container → containers/center-container}/center-container.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/{query-container → feedback/query-container}/query-container.test.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.mock.tsx
RENAMED
|
File without changes
|
/package/src/components/{table → tables}/enhanced-remote-table/enhanced-remote-table.test.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|