@newtonschool/grauity 0.0.13 → 0.1.10
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/README.md +138 -9
- package/dist/fonts/grauity-icons.eot +0 -0
- package/dist/fonts/grauity-icons.ttf +0 -0
- package/dist/fonts/grauity-icons.woff +0 -0
- package/dist/fonts/grauity-icons.woff2 +0 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useClickAway.d.ts +15 -0
- package/dist/hooks/useClickAway.d.ts.map +1 -0
- package/dist/hooks/useDisableBodyScroll.d.ts +7 -0
- package/dist/hooks/useDisableBodyScroll.d.ts.map +1 -0
- package/dist/hooks/useKeyboardEvent.d.ts +17 -0
- package/dist/hooks/useKeyboardEvent.d.ts.map +1 -0
- package/dist/index.d.ts +830 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +10 -1
- package/dist/main.css.map +1 -1
- package/dist/module.css +10 -1
- package/dist/module.css.map +1 -1
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/stories/atoms/Colors/FoundationColors.stories.d.ts +7 -0
- package/dist/stories/atoms/Colors/FoundationColors.stories.d.ts.map +1 -0
- package/dist/stories/atoms/Colors/index.stories.d.ts +18 -0
- package/dist/stories/atoms/Colors/index.stories.d.ts.map +1 -0
- package/dist/stories/atoms/CornerRadius/index.stories.d.ts +7 -0
- package/dist/stories/atoms/CornerRadius/index.stories.d.ts.map +1 -0
- package/dist/stories/atoms/Spacing/index.stories.d.ts +7 -0
- package/dist/stories/atoms/Spacing/index.stories.d.ts.map +1 -0
- package/dist/stories/decorators/withEnableBodyScroll.d.ts +8 -0
- package/dist/stories/decorators/withEnableBodyScroll.d.ts.map +1 -0
- package/dist/stories/decorators/withInlineContainer.d.ts +15 -0
- package/dist/stories/decorators/withInlineContainer.d.ts.map +1 -0
- package/dist/stories/elements/Alert/Gallery.stories.d.ts +30 -0
- package/dist/stories/elements/Alert/Gallery.stories.d.ts.map +1 -0
- package/dist/stories/elements/Alert/index.stories.d.ts +30 -0
- package/dist/stories/elements/Alert/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/AlertBanner/Gallery.stories.d.ts +33 -0
- package/dist/stories/elements/AlertBanner/Gallery.stories.d.ts.map +1 -0
- package/dist/stories/elements/AlertBanner/index.stories.d.ts +30 -0
- package/dist/stories/elements/AlertBanner/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Button/Gallery.stories.d.ts +10 -0
- package/dist/stories/elements/Button/Gallery.stories.d.ts.map +1 -0
- package/dist/stories/elements/Button/index.stories.d.ts +9 -0
- package/dist/stories/elements/Button/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Icon/index.stories.d.ts +14 -0
- package/dist/stories/elements/Icon/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/IconButton/Gallery.stories.d.ts +10 -0
- package/dist/stories/elements/IconButton/Gallery.stories.d.ts.map +1 -0
- package/dist/stories/elements/IconButton/index.stories.d.ts +9 -0
- package/dist/stories/elements/IconButton/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/ConfirmationDialog.source.d.ts +3 -0
- package/dist/stories/elements/Modal/ConfirmationDialog.source.d.ts.map +1 -0
- package/dist/stories/elements/Modal/ConfirmationDialog.stories.d.ts +43 -0
- package/dist/stories/elements/Modal/ConfirmationDialog.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/ConfirmationDialogWithTrigger.stories.d.ts +42 -0
- package/dist/stories/elements/Modal/ConfirmationDialogWithTrigger.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/MultiStepModal.stories.d.ts +46 -0
- package/dist/stories/elements/Modal/MultiStepModal.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/index.stories.d.ts +32 -0
- package/dist/stories/elements/Modal/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/multiStepArgs.d.ts +4 -0
- package/dist/stories/elements/Modal/multiStepArgs.d.ts.map +1 -0
- package/dist/stories/elements/Modal/singleStepArgs.d.ts +4 -0
- package/dist/stories/elements/Modal/singleStepArgs.d.ts.map +1 -0
- package/dist/stories/elements/Table/Manual.source.d.ts +3 -0
- package/dist/stories/elements/Table/Manual.source.d.ts.map +1 -0
- package/dist/stories/elements/Table/Manual.stories.d.ts +54 -0
- package/dist/stories/elements/Table/Manual.stories.d.ts.map +1 -0
- package/dist/stories/elements/Table/ManualColumnNesting.source.d.ts +3 -0
- package/dist/stories/elements/Table/ManualColumnNesting.source.d.ts.map +1 -0
- package/dist/stories/elements/Table/ManualColumnNesting.stories.d.ts +53 -0
- package/dist/stories/elements/Table/ManualColumnNesting.stories.d.ts.map +1 -0
- package/dist/stories/elements/Table/index.stories.d.ts +46 -0
- package/dist/stories/elements/Table/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Table/simpleArgs.d.ts +4 -0
- package/dist/stories/elements/Table/simpleArgs.d.ts.map +1 -0
- package/dist/stories/elements/Typography/TypographyGallery.stories.d.ts +29 -0
- package/dist/stories/elements/Typography/TypographyGallery.stories.d.ts.map +1 -0
- package/dist/stories/elements/Typography/index.stories.d.ts +28 -0
- package/dist/stories/elements/Typography/index.stories.d.ts.map +1 -0
- package/dist/stories/helper-components/ColorRenderer/index.d.ts +15 -0
- package/dist/stories/helper-components/ColorRenderer/index.d.ts.map +1 -0
- package/dist/stories/helper-components/DocPageWithPlayground.d.ts +12 -0
- package/dist/stories/helper-components/DocPageWithPlayground.d.ts.map +1 -0
- package/dist/stories/helper-components/TokenBlock/index.d.ts +21 -0
- package/dist/stories/helper-components/TokenBlock/index.d.ts.map +1 -0
- package/dist/stories/helper-components/TokenBlock/index.styles.d.ts +4 -0
- package/dist/stories/helper-components/TokenBlock/index.styles.d.ts.map +1 -0
- package/dist/stories/utils/index.d.ts +82 -0
- package/dist/stories/utils/index.d.ts.map +1 -0
- package/dist/ui/core/colors/colorTypes.d.ts +1 -0
- package/dist/ui/core/colors/colorTypes.d.ts.map +1 -0
- package/dist/ui/core/colors/index.d.ts +1 -0
- package/dist/ui/core/colors/index.d.ts.map +1 -0
- package/dist/ui/core/icons/iconTags.d.ts.map +1 -0
- package/dist/ui/core/icons/iconTypes.d.ts.map +1 -0
- package/dist/{core → ui/core}/icons/index.d.ts +1 -1
- package/dist/ui/core/icons/index.d.ts.map +1 -0
- package/dist/ui/core/index.d.ts +7 -0
- package/dist/ui/core/index.d.ts.map +1 -0
- package/dist/ui/core/miscellaneous-choices/index.d.ts.map +1 -0
- package/dist/ui/core/miscellaneous-choices/miscellaneousTypes.d.ts.map +1 -0
- package/dist/ui/core/sizes/index.d.ts.map +1 -0
- package/dist/ui/core/sizes/sizeTypes.d.ts +3 -0
- package/dist/ui/core/sizes/sizeTypes.d.ts.map +1 -0
- package/dist/ui/elements/Alert/Alert.d.ts +8 -0
- package/dist/ui/elements/Alert/Alert.d.ts.map +1 -0
- package/dist/ui/elements/Alert/Alert.styles.d.ts +7 -0
- package/dist/ui/elements/Alert/Alert.styles.d.ts.map +1 -0
- package/dist/ui/elements/Alert/Alert.test.d.ts +2 -0
- package/dist/ui/elements/Alert/Alert.test.d.ts.map +1 -0
- package/dist/ui/elements/Alert/constants.d.ts +140 -0
- package/dist/ui/elements/Alert/constants.d.ts.map +1 -0
- package/dist/ui/elements/Alert/index.d.ts +7 -0
- package/dist/ui/elements/Alert/index.d.ts.map +1 -0
- package/dist/ui/elements/Alert/types.d.ts +125 -0
- package/dist/ui/elements/Alert/types.d.ts.map +1 -0
- package/dist/ui/elements/Alert/utils.d.ts +1 -0
- package/dist/ui/elements/Alert/utils.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.d.ts +9 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.styles.d.ts +4 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.styles.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.test.d.ts +2 -0
- package/dist/ui/elements/AlertBanner/AlertBanner.test.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/constants.d.ts +140 -0
- package/dist/ui/elements/AlertBanner/constants.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/index.d.ts +7 -0
- package/dist/ui/elements/AlertBanner/index.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/types.d.ts +111 -0
- package/dist/ui/elements/AlertBanner/types.d.ts.map +1 -0
- package/dist/ui/elements/AlertBanner/utils.d.ts +105 -0
- package/dist/ui/elements/AlertBanner/utils.d.ts.map +1 -0
- package/dist/ui/elements/Button/Button.d.ts +11 -0
- package/dist/ui/elements/Button/Button.d.ts.map +1 -0
- package/dist/ui/elements/Button/Button.styles.d.ts +4 -0
- package/dist/ui/elements/Button/Button.styles.d.ts.map +1 -0
- package/dist/ui/elements/Button/Button.test.d.ts +2 -0
- package/dist/ui/elements/Button/Button.test.d.ts.map +1 -0
- package/dist/ui/elements/Button/ButtonGroup.d.ts +11 -0
- package/dist/ui/elements/Button/ButtonGroup.d.ts.map +1 -0
- package/dist/ui/elements/Button/ButtonGroup.styles.d.ts +2 -0
- package/dist/ui/elements/Button/ButtonGroup.styles.d.ts.map +1 -0
- package/dist/ui/elements/Button/IconButton.d.ts +8 -0
- package/dist/ui/elements/Button/IconButton.d.ts.map +1 -0
- package/dist/ui/elements/Button/IconButton.test.d.ts +2 -0
- package/dist/ui/elements/Button/IconButton.test.d.ts.map +1 -0
- package/dist/ui/elements/Button/constants.d.ts +54 -0
- package/dist/ui/elements/Button/constants.d.ts.map +1 -0
- package/dist/ui/elements/Button/index.d.ts +9 -0
- package/dist/ui/elements/Button/index.d.ts.map +1 -0
- package/dist/ui/elements/Button/types.d.ts +226 -0
- package/dist/ui/elements/Button/types.d.ts.map +1 -0
- package/dist/ui/elements/Button/utils.d.ts +1 -0
- package/dist/ui/elements/Button/utils.d.ts.map +1 -0
- package/dist/ui/elements/Icon/Icon.d.ts +48 -0
- package/dist/ui/elements/Icon/Icon.d.ts.map +1 -0
- package/dist/ui/elements/Icon/Icon.styles.d.ts +5 -0
- package/dist/ui/elements/Icon/Icon.styles.d.ts.map +1 -0
- package/dist/ui/elements/Icon/index.d.ts +3 -0
- package/dist/ui/elements/Icon/index.d.ts.map +1 -0
- package/dist/ui/elements/Icon/types.d.ts +74 -0
- package/dist/ui/elements/Icon/types.d.ts.map +1 -0
- package/dist/ui/elements/Modal/ConfirmationDialog/index.d.ts +43 -0
- package/dist/ui/elements/Modal/ConfirmationDialog/index.d.ts.map +1 -0
- package/dist/ui/elements/Modal/ConfirmationDialog/index.test.d.ts +2 -0
- package/dist/ui/elements/Modal/ConfirmationDialog/index.test.d.ts.map +1 -0
- package/dist/ui/elements/Modal/Modal.d.ts +21 -0
- package/dist/ui/elements/Modal/Modal.d.ts.map +1 -0
- package/dist/ui/elements/Modal/Modal.styles.d.ts +18 -0
- package/dist/ui/elements/Modal/Modal.styles.d.ts.map +1 -0
- package/dist/ui/elements/Modal/Modal.test.d.ts +2 -0
- package/dist/ui/elements/Modal/Modal.test.d.ts.map +1 -0
- package/dist/ui/elements/Modal/MultiStepModal/index.d.ts +46 -0
- package/dist/ui/elements/Modal/MultiStepModal/index.d.ts.map +1 -0
- package/dist/ui/elements/Modal/MultiStepModal/index.test.d.ts +2 -0
- package/dist/ui/elements/Modal/MultiStepModal/index.test.d.ts.map +1 -0
- package/dist/ui/elements/Modal/constants.d.ts +1 -0
- package/dist/ui/elements/Modal/constants.d.ts.map +1 -0
- package/dist/ui/elements/Modal/index.d.ts +5 -0
- package/dist/ui/elements/Modal/index.d.ts.map +1 -0
- package/dist/ui/elements/Modal/types.d.ts +312 -0
- package/dist/ui/elements/Modal/types.d.ts.map +1 -0
- package/dist/ui/elements/Modal/utils.d.ts +1 -0
- package/dist/ui/elements/Modal/utils.d.ts.map +1 -0
- package/dist/ui/elements/Table/Table.d.ts +47 -0
- package/dist/ui/elements/Table/Table.d.ts.map +1 -0
- package/dist/ui/elements/Table/Table.styles.d.ts +8 -0
- package/dist/ui/elements/Table/Table.styles.d.ts.map +1 -0
- package/dist/ui/elements/Table/Table.test.d.ts +2 -0
- package/dist/ui/elements/Table/Table.test.d.ts.map +1 -0
- package/dist/ui/elements/Table/constants.d.ts +1 -0
- package/dist/ui/elements/Table/constants.d.ts.map +1 -0
- package/dist/ui/elements/Table/index.d.ts +3 -0
- package/dist/ui/elements/Table/index.d.ts.map +1 -0
- package/dist/ui/elements/Table/types.d.ts +223 -0
- package/dist/ui/elements/Table/types.d.ts.map +1 -0
- package/dist/ui/elements/Table/utils.d.ts +1 -0
- package/dist/ui/elements/Table/utils.d.ts.map +1 -0
- package/dist/ui/elements/Typography/Typography.d.ts +36 -0
- package/dist/ui/elements/Typography/Typography.d.ts.map +1 -0
- package/dist/ui/elements/Typography/Typography.styles.d.ts +6 -0
- package/dist/ui/elements/Typography/Typography.styles.d.ts.map +1 -0
- package/dist/ui/elements/Typography/constants.d.ts +22 -0
- package/dist/ui/elements/Typography/constants.d.ts.map +1 -0
- package/dist/ui/elements/Typography/index.d.ts +5 -0
- package/dist/ui/elements/Typography/index.d.ts.map +1 -0
- package/dist/ui/elements/Typography/types.d.ts +50 -0
- package/dist/ui/elements/Typography/types.d.ts.map +1 -0
- package/dist/ui/elements/Typography/utils.d.ts +2 -0
- package/dist/ui/elements/Typography/utils.d.ts.map +1 -0
- package/dist/ui/helpers/classNameBuilders.d.ts.map +1 -0
- package/dist/ui/helpers/index.d.ts +3 -0
- package/dist/ui/helpers/index.d.ts.map +1 -0
- package/dist/ui/index.d.ts +11 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/{init → ui/init}/GrauityInit.d.ts +15 -3
- package/dist/ui/init/GrauityInit.d.ts.map +1 -0
- package/dist/ui/init/index.d.ts.map +1 -0
- package/dist/ui/themes/GlobalStyle.d.ts +5 -0
- package/dist/ui/themes/GlobalStyle.d.ts.map +1 -0
- package/dist/ui/themes/ThemeContext.d.ts +24 -0
- package/dist/ui/themes/ThemeContext.d.ts.map +1 -0
- package/dist/ui/themes/constants.d.ts +6 -0
- package/dist/ui/themes/constants.d.ts.map +1 -0
- package/dist/ui/themes/darkThemeConstants.d.ts +70 -0
- package/dist/ui/themes/darkThemeConstants.d.ts.map +1 -0
- package/dist/ui/themes/lightThemeConstants.d.ts +70 -0
- package/dist/ui/themes/lightThemeConstants.d.ts.map +1 -0
- package/dist/ui/themes/tokens.d.ts +1 -0
- package/dist/ui/themes/tokens.d.ts.map +1 -0
- package/dist/ui/themes/types.d.ts +73 -0
- package/dist/ui/themes/types.d.ts.map +1 -0
- package/package.json +53 -28
- package/ui/core/colors/colorTypes.ts +2 -20
- package/ui/core/colors/index.ts +23 -23
- package/ui/core/icons/index.ts +1 -3
- package/ui/core/index.ts +7 -10
- package/ui/core/sizes/sizeTypes.ts +1 -0
- package/ui/css/fonts.scss +0 -8
- package/ui/css/index.scss +0 -8
- package/ui/css/reset.scss +2 -5
- package/ui/elements/Alert/Alert.styles.ts +66 -0
- package/ui/elements/Alert/Alert.test.tsx +81 -0
- package/ui/elements/Alert/Alert.tsx +153 -0
- package/ui/elements/Alert/constants.ts +169 -0
- package/ui/elements/Alert/index.ts +6 -0
- package/ui/elements/Alert/types.ts +150 -0
- package/ui/elements/AlertBanner/AlertBanner.styles.ts +35 -0
- package/ui/elements/AlertBanner/AlertBanner.test.tsx +70 -0
- package/ui/elements/AlertBanner/AlertBanner.tsx +137 -0
- package/ui/elements/AlertBanner/constants.ts +179 -0
- package/ui/elements/AlertBanner/index.ts +6 -0
- package/ui/elements/AlertBanner/types.ts +133 -0
- package/ui/elements/AlertBanner/utils.ts +52 -0
- package/ui/elements/Button/Button.styles.ts +88 -0
- package/ui/elements/Button/Button.test.tsx +78 -0
- package/ui/elements/Button/Button.tsx +134 -0
- package/ui/elements/Button/ButtonGroup.styles.ts +7 -0
- package/ui/elements/Button/ButtonGroup.tsx +21 -0
- package/ui/elements/Button/IconButton.test.tsx +39 -0
- package/ui/elements/Button/IconButton.tsx +118 -0
- package/ui/elements/Button/constants.ts +304 -0
- package/ui/elements/Button/index.ts +8 -0
- package/ui/elements/Button/types.ts +282 -0
- package/ui/elements/Button/utils.ts +0 -0
- package/ui/elements/Icon/Icon.styles.ts +98 -0
- package/ui/elements/Icon/Icon.tsx +17 -107
- package/ui/elements/Icon/index.ts +1 -2
- package/ui/elements/Icon/types.ts +96 -0
- package/ui/elements/Modal/ConfirmationDialog/index.test.tsx +116 -0
- package/ui/elements/Modal/ConfirmationDialog/index.tsx +151 -0
- package/ui/elements/Modal/Modal.styles.ts +230 -0
- package/ui/elements/Modal/Modal.test.tsx +117 -0
- package/ui/elements/Modal/Modal.tsx +179 -0
- package/ui/elements/Modal/MultiStepModal/index.test.tsx +116 -0
- package/ui/elements/Modal/MultiStepModal/index.tsx +184 -0
- package/ui/elements/Modal/constants.ts +0 -0
- package/ui/elements/Modal/index.ts +4 -0
- package/ui/elements/Modal/types.ts +379 -0
- package/ui/elements/Modal/utils.tsx +0 -0
- package/ui/elements/Table/Table.styles.ts +178 -0
- package/ui/elements/Table/Table.test.tsx +72 -0
- package/ui/elements/Table/Table.tsx +118 -0
- package/ui/elements/Table/constants.ts +0 -0
- package/ui/elements/Table/index.ts +2 -0
- package/ui/elements/Table/types.ts +270 -0
- package/ui/elements/Table/utils.ts +0 -0
- package/ui/elements/Typography/Typography.styles.ts +29 -0
- package/ui/elements/Typography/Typography.tsx +70 -0
- package/ui/elements/Typography/constants.ts +292 -0
- package/ui/elements/Typography/index.ts +9 -0
- package/ui/elements/Typography/types.ts +116 -0
- package/ui/elements/Typography/utils.ts +11 -0
- package/ui/fonts/grauity-icons.eot +0 -0
- package/ui/fonts/grauity-icons.ttf +0 -0
- package/ui/fonts/grauity-icons.woff +0 -0
- package/ui/fonts/grauity-icons.woff2 +0 -0
- package/ui/helpers/index.ts +1 -7
- package/ui/index.ts +42 -3
- package/ui/init/GrauityInit.tsx +30 -7
- package/ui/init/index.ts +0 -1
- package/ui/themes/GlobalStyle.ts +273 -0
- package/ui/themes/ThemeContext.tsx +140 -0
- package/ui/themes/constants.ts +8 -0
- package/ui/themes/darkThemeConstants.ts +73 -0
- package/ui/themes/lightThemeConstants.ts +73 -0
- package/ui/themes/tokens.ts +0 -0
- package/ui/themes/types.ts +77 -0
- package/dist/core/colors/colorTypes.d.ts +0 -3
- package/dist/core/colors/colorTypes.d.ts.map +0 -1
- package/dist/core/colors/index.d.ts +0 -14
- package/dist/core/colors/index.d.ts.map +0 -1
- package/dist/core/icons/iconTags.d.ts.map +0 -1
- package/dist/core/icons/iconTypes.d.ts.map +0 -1
- package/dist/core/icons/index.d.ts.map +0 -1
- package/dist/core/index.d.ts +0 -9
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/miscellaneous-choices/index.d.ts.map +0 -1
- package/dist/core/miscellaneous-choices/miscellaneousTypes.d.ts.map +0 -1
- package/dist/core/sizes/index.d.ts.map +0 -1
- package/dist/core/sizes/sizeTypes.d.ts +0 -3
- package/dist/core/sizes/sizeTypes.d.ts.map +0 -1
- package/dist/elements/Icon/Icon.d.ts +0 -115
- package/dist/elements/Icon/Icon.d.ts.map +0 -1
- package/dist/elements/Icon/index.d.ts +0 -3
- package/dist/elements/Icon/index.d.ts.map +0 -1
- package/dist/elements/index.d.ts +0 -3
- package/dist/elements/index.d.ts.map +0 -1
- package/dist/helpers/classNameBuilders.d.ts.map +0 -1
- package/dist/helpers/getElementTypeFromProps.d.ts +0 -14
- package/dist/helpers/getElementTypeFromProps.d.ts.map +0 -1
- package/dist/helpers/index.d.ts +0 -4
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/init/GrauityInit.d.ts.map +0 -1
- package/dist/init/index.d.ts.map +0 -1
- package/ui/css/colors.scss +0 -131
- package/ui/css/icons.scss +0 -92
- package/ui/elements/index.ts +0 -2
- package/ui/helpers/getElementTypeFromProps.ts +0 -32
- /package/dist/{core → ui/core}/icons/iconTags.d.ts +0 -0
- /package/dist/{core → ui/core}/icons/iconTypes.d.ts +0 -0
- /package/dist/{core → ui/core}/miscellaneous-choices/index.d.ts +0 -0
- /package/dist/{core → ui/core}/miscellaneous-choices/miscellaneousTypes.d.ts +0 -0
- /package/dist/{core → ui/core}/sizes/index.d.ts +0 -0
- /package/dist/{helpers → ui/helpers}/classNameBuilders.d.ts +0 -0
- /package/dist/{init → ui/init}/index.d.ts +0 -0
- /package/ui/{css/sizes.scss → elements/Alert/utils.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FoundationColors.stories.d.ts","sourceRoot":"","sources":["../../../../stories/atoms/Colors/FoundationColors.stories.tsx"],"names":[],"mappings":";;;;AAOA,wBAGE;AAEF,eAAO,MAAM,gBAAgB,mBA4B5B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Text: {
|
|
7
|
+
render: (args: any, { globals }: any) => JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export declare const Background: {
|
|
10
|
+
render: (args: any, { globals }: any) => JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
export declare const Border: {
|
|
13
|
+
render: (args: any, { globals }: any) => JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
export declare const Alpha: {
|
|
16
|
+
render: (args: any, { globals }: any) => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/atoms/Colors/index.stories.tsx"],"names":[],"mappings":";;;;AAMA,wBAGE;AAEF,eAAO,MAAM,IAAI;mBACE,GAAG,eAAe,GAAG;CA4BvC,CAAC;AAEF,eAAO,MAAM,UAAU;mBACJ,GAAG,eAAe,GAAG;CA4BvC,CAAC;AAEF,eAAO,MAAM,MAAM;mBACA,GAAG,eAAe,GAAG;CA4BvC,CAAC;AAEF,eAAO,MAAM,KAAK;mBACC,GAAG,eAAe,GAAG;CA4BvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/atoms/CornerRadius/index.stories.tsx"],"names":[],"mappings":";;;;AAMA,wBAGE;AAEF,eAAO,MAAM,kBAAkB,mBA+D9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/atoms/Spacing/index.stories.tsx"],"names":[],"mappings":";;;;AAMA,wBAGE;AAEF,eAAO,MAAM,aAAa,mBA2CzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StoryFn } from '@storybook/react';
|
|
2
|
+
/**
|
|
3
|
+
* This decorator is used to wrap stories with a container which enables body scroll.
|
|
4
|
+
* This is useful for components using hook `useDisableBodyScroll` that disables body scroll.
|
|
5
|
+
*/
|
|
6
|
+
declare const withEnableBodyScroll: (Story: StoryFn) => JSX.Element;
|
|
7
|
+
export default withEnableBodyScroll;
|
|
8
|
+
//# sourceMappingURL=withEnableBodyScroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withEnableBodyScroll.d.ts","sourceRoot":"","sources":["../../../stories/decorators/withEnableBodyScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C;;;GAGG;AACH,QAAA,MAAM,oBAAoB,UAAW,OAAO,gBAQ3C,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryFn } from '@storybook/react';
|
|
2
|
+
/**
|
|
3
|
+
* This decorator is used to wrap stories with a container which forces the
|
|
4
|
+
* component to be rendered inline.
|
|
5
|
+
*
|
|
6
|
+
* This is useful for components like Modal whose position is fixed or absolute
|
|
7
|
+
* that need to be rendered inline with a specific height and width
|
|
8
|
+
* in the Storybook UI.
|
|
9
|
+
*
|
|
10
|
+
* It makes the use of `transform: translateZ(0)` to create a new stacking context
|
|
11
|
+
* and prevent the component from being clipped by its parent container.
|
|
12
|
+
*/
|
|
13
|
+
declare const withInlineContainer: (Story: StoryFn) => JSX.Element;
|
|
14
|
+
export default withInlineContainer;
|
|
15
|
+
//# sourceMappingURL=withInlineContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withInlineContainer.d.ts","sourceRoot":"","sources":["../../../stories/decorators/withInlineContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C;;;;;;;;;;GAUG;AACH,QAAA,MAAM,mBAAmB,UAAW,OAAO,gBAU1C,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertProps } from 'ui/elements/Alert';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
title: {
|
|
9
|
+
options: string[];
|
|
10
|
+
mapping: {
|
|
11
|
+
'Simple example using Typography': JSX.Element;
|
|
12
|
+
'Simple example with text only': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
actionButtons: {
|
|
16
|
+
options: string[];
|
|
17
|
+
mapping: {
|
|
18
|
+
'With action buttons': {
|
|
19
|
+
children: string;
|
|
20
|
+
variant: string;
|
|
21
|
+
size: string;
|
|
22
|
+
}[];
|
|
23
|
+
'Without action buttons': any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const Gallery: any;
|
|
30
|
+
//# sourceMappingURL=Gallery.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Alert/Gallery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAc,EAGV,UAAU,EACb,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAM3B,wBA0CE;AAiDF,eAAO,MAAM,OAAO,KAAoB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertProps } from 'ui/elements/Alert';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
title: {
|
|
8
|
+
options: string[];
|
|
9
|
+
mapping: {
|
|
10
|
+
'Simple example using Typography': JSX.Element;
|
|
11
|
+
'Simple example with text only': string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
actionButtons: {
|
|
15
|
+
options: string[];
|
|
16
|
+
mapping: {
|
|
17
|
+
'With action buttons': {
|
|
18
|
+
children: string;
|
|
19
|
+
variant: string;
|
|
20
|
+
size: string;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}[];
|
|
23
|
+
'Without action buttons': any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const Component: any;
|
|
30
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Alert/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtD,wBA+CE;AA0CF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StoryFn } from '@storybook/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { AlertBannerProps } from 'ui/elements/AlertBanner';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<AlertBannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {
|
|
9
|
+
children: {
|
|
10
|
+
options: string[];
|
|
11
|
+
mapping: {
|
|
12
|
+
'Simple example using Typography': JSX.Element;
|
|
13
|
+
'Simple example with text only': string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
actionButtons: {
|
|
17
|
+
options: string[];
|
|
18
|
+
mapping: {
|
|
19
|
+
'With action buttons': {
|
|
20
|
+
children: string;
|
|
21
|
+
variant: string;
|
|
22
|
+
size: string;
|
|
23
|
+
onClick: () => void;
|
|
24
|
+
}[];
|
|
25
|
+
'Without action buttons': any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
decorators: ((Story: StoryFn, context: any) => JSX.Element)[];
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export declare const Gallery: any;
|
|
33
|
+
//# sourceMappingURL=Gallery.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/AlertBanner/Gallery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAoB,EAGhB,gBAAgB,EACnB,MAAM,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;yBAqHjB,OAAO,WAAW,GAAG;;AAhDrC,wBAsDE;AAIF,eAAO,MAAM,OAAO,KAAoB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertBannerProps } from 'ui/elements/AlertBanner';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<AlertBannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
children: {
|
|
8
|
+
options: string[];
|
|
9
|
+
mapping: {
|
|
10
|
+
'Simple example using Typography': JSX.Element;
|
|
11
|
+
'Simple example with text only': string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
actionButtons: {
|
|
15
|
+
options: string[];
|
|
16
|
+
mapping: {
|
|
17
|
+
'With action buttons': {
|
|
18
|
+
children: string;
|
|
19
|
+
variant: string;
|
|
20
|
+
size: string;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}[][];
|
|
23
|
+
'Without action buttons': any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const Component: any;
|
|
30
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/AlertBanner/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAGxE,wBAiDE;AAyCF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from 'ui/elements/Button';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Gallery: any;
|
|
10
|
+
//# sourceMappingURL=Gallery.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Button/Gallery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAe,EAAmB,WAAW,EAAE,MAAM,oBAAoB,CAAC;;;;;;AAK1E,wBAIE;AAuCF,eAAO,MAAM,OAAO,KAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from 'ui/elements/Button';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Component: any;
|
|
9
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Button/index.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;;;;;AAEzD,wBAGE;AA+BF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").R, import("../../../ui/elements/Icon/types").IconProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Default: any;
|
|
4
|
+
export declare const NormalIcon: any;
|
|
5
|
+
export declare const DisabledIcon: any;
|
|
6
|
+
export declare const LoadingIcon: any;
|
|
7
|
+
export declare const IconsSize: any;
|
|
8
|
+
export declare const FlippedIcon: any;
|
|
9
|
+
export declare const RotatedIcon: any;
|
|
10
|
+
export declare const BorderIcon: any;
|
|
11
|
+
export declare const CircularIcon: any;
|
|
12
|
+
export declare const InvertedBorderedIcon: any;
|
|
13
|
+
export declare const InvertedCircularIcon: any;
|
|
14
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Icon/index.stories.tsx"],"names":[],"mappings":";AAKA,wBAeuB;AAUvB,eAAO,MAAM,OAAO,KAAoB,CAAC;AAYzC,eAAO,MAAM,UAAU,KAAoB,CAAC;AAY5C,eAAO,MAAM,YAAY,KAAoB,CAAC;AAa9C,eAAO,MAAM,WAAW,KAAoB,CAAC;AAa7C,eAAO,MAAM,SAAS,KAAoB,CAAC;AAa3C,eAAO,MAAM,WAAW,KAAoB,CAAC;AAa7C,eAAO,MAAM,WAAW,KAAoB,CAAC;AAa7C,eAAO,MAAM,UAAU,KAAoB,CAAC;AAa5C,eAAO,MAAM,YAAY,KAAoB,CAAC;AAa9C,eAAO,MAAM,oBAAoB,KAAoB,CAAC;AActD,eAAO,MAAM,oBAAoB,KAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButtonProps } from 'ui/elements/Button';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Gallery: any;
|
|
10
|
+
//# sourceMappingURL=Gallery.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/IconButton/Gallery.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGH,eAAe,EAClB,MAAM,oBAAoB,CAAC;;;;;;AAK5B,wBAIE;AAoCF,eAAO,MAAM,OAAO,KAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButtonProps } from 'ui/elements/Button';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Component: any;
|
|
9
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/IconButton/index.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAC;;;;;AAEjE,wBAGE;AA6BF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.source.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/ConfirmationDialog.source.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,uBAAuB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,QAAQ,SAAU,uBAAuB,gBAqCrD,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ConfirmationDialogProps } from 'ui/elements/Modal';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
({ cancelText, confirmText, onCancel, onConfirm, banner, title, description, body, cancelButtonVariant, confirmButtonVariant, showCloseButton, hideOnClickAway, blurBackground, mobileBottomFullWidth, }: ConfirmationDialogProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
cancelText: import("prop-types").Requireable<string>;
|
|
8
|
+
confirmText: import("prop-types").Requireable<string>;
|
|
9
|
+
onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
10
|
+
onConfirm: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
11
|
+
banner: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
12
|
+
title: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
13
|
+
description: import("prop-types").Requireable<string>;
|
|
14
|
+
body: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
15
|
+
cancelButtonVariant: import("prop-types").Requireable<string>;
|
|
16
|
+
confirmButtonVariant: import("prop-types").Requireable<string>;
|
|
17
|
+
showCloseButton: import("prop-types").Requireable<boolean>;
|
|
18
|
+
hideOnClickAway: import("prop-types").Requireable<boolean>;
|
|
19
|
+
blurBackground: import("prop-types").Requireable<boolean>;
|
|
20
|
+
mobileBottomFullWidth: import("prop-types").Requireable<boolean>;
|
|
21
|
+
};
|
|
22
|
+
defaultProps: {
|
|
23
|
+
cancelText: string;
|
|
24
|
+
confirmText: string;
|
|
25
|
+
banner: any;
|
|
26
|
+
title: string;
|
|
27
|
+
description: string;
|
|
28
|
+
body: any;
|
|
29
|
+
onCancel: () => void;
|
|
30
|
+
onConfirm: () => void;
|
|
31
|
+
cancelButtonVariant: string;
|
|
32
|
+
confirmButtonVariant: string;
|
|
33
|
+
showCloseButton: boolean;
|
|
34
|
+
hideOnClickAway: boolean;
|
|
35
|
+
blurBackground: boolean;
|
|
36
|
+
mobileBottomFullWidth: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, import("@storybook/csf").Args>) => JSX.Element)[];
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
42
|
+
export declare const Component: any;
|
|
43
|
+
//# sourceMappingURL=ConfirmationDialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/ConfirmationDialog.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKhF,wBAIE;AAsBF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ConfirmationDialogProps } from 'ui/elements/Modal';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
({ cancelText, confirmText, onCancel, onConfirm, banner, title, description, body, cancelButtonVariant, confirmButtonVariant, showCloseButton, hideOnClickAway, blurBackground, mobileBottomFullWidth, }: ConfirmationDialogProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
cancelText: import("prop-types").Requireable<string>;
|
|
8
|
+
confirmText: import("prop-types").Requireable<string>;
|
|
9
|
+
onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
10
|
+
onConfirm: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
11
|
+
banner: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
12
|
+
title: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
13
|
+
description: import("prop-types").Requireable<string>;
|
|
14
|
+
body: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
15
|
+
cancelButtonVariant: import("prop-types").Requireable<string>;
|
|
16
|
+
confirmButtonVariant: import("prop-types").Requireable<string>;
|
|
17
|
+
showCloseButton: import("prop-types").Requireable<boolean>;
|
|
18
|
+
hideOnClickAway: import("prop-types").Requireable<boolean>;
|
|
19
|
+
blurBackground: import("prop-types").Requireable<boolean>;
|
|
20
|
+
mobileBottomFullWidth: import("prop-types").Requireable<boolean>;
|
|
21
|
+
};
|
|
22
|
+
defaultProps: {
|
|
23
|
+
cancelText: string;
|
|
24
|
+
confirmText: string;
|
|
25
|
+
banner: any;
|
|
26
|
+
title: string;
|
|
27
|
+
description: string;
|
|
28
|
+
body: any;
|
|
29
|
+
onCancel: () => void;
|
|
30
|
+
onConfirm: () => void;
|
|
31
|
+
cancelButtonVariant: string;
|
|
32
|
+
confirmButtonVariant: string;
|
|
33
|
+
showCloseButton: boolean;
|
|
34
|
+
hideOnClickAway: boolean;
|
|
35
|
+
blurBackground: boolean;
|
|
36
|
+
mobileBottomFullWidth: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
41
|
+
export declare const Template: (args?: ConfirmationDialogProps) => JSX.Element;
|
|
42
|
+
//# sourceMappingURL=ConfirmationDialogWithTrigger.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialogWithTrigger.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/ConfirmationDialogWithTrigger.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEH,uBAAuB,EAC1B,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3B,wBAGE;AAmBF,eAAO,MAAM,QAAQ,UAAU,uBAAuB,gBAqCrD,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MultiStepModalProps } from 'ui/elements/Modal/MultiStepModal';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
({ modalSteps, showModalStepsPagination, hideOnClickAway, blurBackground, onHide, onFinalStep, mobileBottomFullWidth, onStepChange, modalPadding, modalBodyMargin, width, height, minHeight, showCloseButton, }: MultiStepModalProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
modalSteps: import("prop-types").Requireable<any[]>;
|
|
8
|
+
showModalStepsPagination: import("prop-types").Requireable<boolean>;
|
|
9
|
+
hideOnClickAway: import("prop-types").Requireable<boolean>;
|
|
10
|
+
blurBackground: import("prop-types").Requireable<boolean>;
|
|
11
|
+
onHide: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
12
|
+
onFinalStep: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
13
|
+
mobileBottomFullWidth: import("prop-types").Requireable<boolean>;
|
|
14
|
+
onStepChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
15
|
+
modalPadding: import("prop-types").Requireable<string>;
|
|
16
|
+
modalBodyMargin: import("prop-types").Requireable<string>;
|
|
17
|
+
width: import("prop-types").Requireable<string>;
|
|
18
|
+
height: import("prop-types").Requireable<string>;
|
|
19
|
+
minHeight: import("prop-types").Requireable<string>;
|
|
20
|
+
showCloseButton: import("prop-types").Requireable<boolean>;
|
|
21
|
+
};
|
|
22
|
+
defaultProps: {
|
|
23
|
+
modalSteps: any[];
|
|
24
|
+
showModalStepsPagination: boolean;
|
|
25
|
+
hideOnClickAway: boolean;
|
|
26
|
+
blurBackground: boolean;
|
|
27
|
+
onHide: () => void;
|
|
28
|
+
onFinalStep: () => void;
|
|
29
|
+
mobileBottomFullWidth: boolean;
|
|
30
|
+
onStepChange: () => void;
|
|
31
|
+
modalPadding: string;
|
|
32
|
+
modalBodyMargin: string;
|
|
33
|
+
width: any;
|
|
34
|
+
height: any;
|
|
35
|
+
minHeight: any;
|
|
36
|
+
showCloseButton: boolean;
|
|
37
|
+
};
|
|
38
|
+
PaginatedActions: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
39
|
+
Pagination: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
40
|
+
PaginationItem: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalPaginationItemProps, never>;
|
|
41
|
+
};
|
|
42
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, import("@storybook/csf").Args>) => JSX.Element)[];
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
export declare const Component: any;
|
|
46
|
+
//# sourceMappingURL=MultiStepModal.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiStepModal.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/MultiStepModal.stories.tsx"],"names":[],"mappings":"AACA,OAAuB,EACnB,mBAAmB,EACtB,MAAM,kCAAkC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM1C,wBAIE;AAIF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ModalProps } from 'ui/elements/Modal';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & {
|
|
6
|
+
Wrapper: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalWrapperProps, never>;
|
|
7
|
+
Modal: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalContainerProps, never>;
|
|
8
|
+
Main: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalBodyMainProps, never>;
|
|
9
|
+
Banner: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
10
|
+
Title: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalTitleProps, never>;
|
|
11
|
+
Description: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalDescriptionProps, never>;
|
|
12
|
+
Body: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Modal/types").ModalBodyProps, never>;
|
|
13
|
+
Action: import("styled-components").StyledComponent<string, any, {
|
|
14
|
+
justifyContent?: string;
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
}, never>;
|
|
17
|
+
Divider: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
18
|
+
};
|
|
19
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-a5624094").R, import("@storybook/csf").Args>) => JSX.Element)[];
|
|
20
|
+
argTypes: {
|
|
21
|
+
body: {
|
|
22
|
+
options: string[];
|
|
23
|
+
mapping: {
|
|
24
|
+
'Example body with Table': React.ReactNode;
|
|
25
|
+
'Simple example body with text only': string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
export declare const Component: any;
|
|
32
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOtD,wBAiBE;AAIF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multiStepArgs.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/multiStepArgs.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAGvE,QAAA,MAAM,aAAa,EAAE,mBAsFpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleStepArgs.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Modal/singleStepArgs.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,QAAA,MAAM,cAAc,EAAE,UA4CrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Manual.source.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Table/Manual.source.tsx"],"names":[],"mappings":"AACA,OAAc,EACV,UAAU,EACb,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,QAAQ,SAAU,UAAU,gBAgCxC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { TableProps } from 'ui/elements/Table';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
component: {
|
|
6
|
+
({ rows, columns, ...props }: TableProps): JSX.Element;
|
|
7
|
+
propTypes: {
|
|
8
|
+
rows: import("prop-types").Requireable<any[]>;
|
|
9
|
+
columns: import("prop-types").Requireable<any[]>;
|
|
10
|
+
condensed: import("prop-types").Requireable<boolean>;
|
|
11
|
+
striped: import("prop-types").Requireable<boolean>;
|
|
12
|
+
borderAround: import("prop-types").Requireable<boolean>;
|
|
13
|
+
borderWithin: import("prop-types").Requireable<boolean>;
|
|
14
|
+
borderHorizontal: import("prop-types").Requireable<boolean>;
|
|
15
|
+
borderVertical: import("prop-types").Requireable<boolean>;
|
|
16
|
+
className: import("prop-types").Requireable<string>;
|
|
17
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
18
|
+
style: import("prop-types").Requireable<object>;
|
|
19
|
+
capitalizeHeaders: import("prop-types").Requireable<boolean>;
|
|
20
|
+
highlightHeaders: import("prop-types").Requireable<boolean>;
|
|
21
|
+
};
|
|
22
|
+
defaultProps: {
|
|
23
|
+
rows: any[];
|
|
24
|
+
columns: any[];
|
|
25
|
+
condensed: boolean;
|
|
26
|
+
striped: boolean;
|
|
27
|
+
borderAround: boolean;
|
|
28
|
+
borderWithin: boolean;
|
|
29
|
+
borderHorizontal: boolean;
|
|
30
|
+
borderVertical: boolean;
|
|
31
|
+
className: string;
|
|
32
|
+
loading: boolean;
|
|
33
|
+
style: {};
|
|
34
|
+
capitalizeHeaders: boolean;
|
|
35
|
+
highlightHeaders: boolean;
|
|
36
|
+
};
|
|
37
|
+
Table: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableComponentProps, never>;
|
|
38
|
+
TableBody: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableBodyComponentProps, never>;
|
|
39
|
+
TableDataCell: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableDataCellComponentProps, never>;
|
|
40
|
+
TableHead: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableHeadComponentProps, never>;
|
|
41
|
+
TableHeadingCell: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableHeadingCellComponentProps, never>;
|
|
42
|
+
TableRow: import("styled-components").StyledComponent<string, any, import("../../../ui/elements/Table/types").TableRowComponentProps, never>;
|
|
43
|
+
};
|
|
44
|
+
parameters: {
|
|
45
|
+
docs: {
|
|
46
|
+
source: {
|
|
47
|
+
code: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
53
|
+
export declare const Component: any;
|
|
54
|
+
//# sourceMappingURL=Manual.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Manual.stories.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Table/Manual.stories.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOtD,wBAWE;AAeF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManualColumnNesting.source.d.ts","sourceRoot":"","sources":["../../../../stories/elements/Table/ManualColumnNesting.source.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,QAAQ,SAAU,UAAU,gBA4CxC,CAAC"}
|