@papillonarts/components 0.49.0 → 0.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/build/Legacy/Alert/Alert.const.d.ts +4 -0
- package/build/Legacy/Alert/Alert.const.d.ts.map +1 -0
- package/build/Legacy/Alert/Alert.const.js +26 -0
- package/build/Legacy/Alert/Alert.d.ts +2 -2
- package/build/Legacy/Alert/Alert.d.ts.map +1 -1
- package/build/Legacy/Alert/Alert.js +47 -49
- package/build/Legacy/Alert/Alert.type.d.ts +0 -2
- package/build/Legacy/Alert/Alert.type.d.ts.map +1 -1
- package/build/Legacy/Alert/Alert.type.js +1 -24
- package/build/Legacy/Alert/index.d.ts +1 -1
- package/build/Legacy/Alert/index.d.ts.map +1 -1
- package/build/Legacy/Alert/index.js +3 -3
- package/build/Legacy/Blankslate/Blankslate.const.d.ts +4 -0
- package/build/Legacy/Blankslate/Blankslate.const.d.ts.map +1 -0
- package/build/Legacy/Blankslate/Blankslate.const.js +18 -0
- package/build/Legacy/Blankslate/Blankslate.d.ts +1 -1
- package/build/Legacy/Blankslate/Blankslate.d.ts.map +1 -1
- package/build/Legacy/Blankslate/Blankslate.js +17 -14
- package/build/Legacy/Blankslate/Blankslate.type.d.ts +0 -2
- package/build/Legacy/Blankslate/Blankslate.type.d.ts.map +1 -1
- package/build/Legacy/Blankslate/Blankslate.type.js +1 -14
- package/build/Legacy/Blankslate/index.d.ts +1 -1
- package/build/Legacy/Blankslate/index.d.ts.map +1 -1
- package/build/Legacy/Blankslate/index.js +3 -3
- package/build/Legacy/Breadcrumb/Breadcrumb.const.d.ts +4 -0
- package/build/Legacy/Breadcrumb/Breadcrumb.const.d.ts.map +1 -0
- package/build/Legacy/Breadcrumb/Breadcrumb.const.js +14 -0
- package/build/Legacy/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/build/Legacy/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/build/Legacy/Breadcrumb/Breadcrumb.js +50 -46
- package/build/Legacy/Breadcrumb/Breadcrumb.type.d.ts +0 -2
- package/build/Legacy/Breadcrumb/Breadcrumb.type.d.ts.map +1 -1
- package/build/Legacy/Breadcrumb/Breadcrumb.type.js +1 -10
- package/build/Legacy/Breadcrumb/index.d.ts +1 -1
- package/build/Legacy/Breadcrumb/index.d.ts.map +1 -1
- package/build/Legacy/Breadcrumb/index.js +3 -3
- package/build/Legacy/Button/Button.const.d.ts +9 -0
- package/build/Legacy/Button/Button.const.d.ts.map +1 -0
- package/build/Legacy/Button/Button.const.js +48 -0
- package/build/Legacy/Button/Button.d.ts +1 -1
- package/build/Legacy/Button/Button.d.ts.map +1 -1
- package/build/Legacy/Button/Button.js +60 -66
- package/build/Legacy/Button/Button.type.d.ts +0 -7
- package/build/Legacy/Button/Button.type.d.ts.map +1 -1
- package/build/Legacy/Button/Button.type.js +1 -44
- package/build/Legacy/Button/index.d.ts +1 -1
- package/build/Legacy/Button/index.d.ts.map +1 -1
- package/build/Legacy/Button/index.js +8 -8
- package/build/Legacy/Dropdown/Dropdown.const.d.ts +4 -0
- package/build/Legacy/Dropdown/Dropdown.const.d.ts.map +1 -0
- package/build/Legacy/Dropdown/Dropdown.const.js +18 -0
- package/build/Legacy/Dropdown/Dropdown.d.ts +1 -1
- package/build/Legacy/Dropdown/Dropdown.d.ts.map +1 -1
- package/build/Legacy/Dropdown/Dropdown.js +49 -51
- package/build/Legacy/Dropdown/Dropdown.type.d.ts +0 -2
- package/build/Legacy/Dropdown/Dropdown.type.d.ts.map +1 -1
- package/build/Legacy/Dropdown/Dropdown.type.js +1 -14
- package/build/Legacy/Dropdown/index.d.ts +2 -1
- package/build/Legacy/Dropdown/index.d.ts.map +1 -1
- package/build/Legacy/Dropdown/index.js +3 -3
- package/build/Legacy/ErrorBoundary/ErrorBoundary.d.ts +3 -2
- package/build/Legacy/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/build/Legacy/ErrorBoundary/ErrorBoundary.js +31 -45
- package/build/Legacy/ErrorBoundary/index.js +1 -1
- package/build/Legacy/Form/Checkbox/Checkbox.const.d.ts +5 -0
- package/build/Legacy/Form/Checkbox/Checkbox.const.d.ts.map +1 -0
- package/build/Legacy/Form/Checkbox/Checkbox.const.js +22 -0
- package/build/Legacy/Form/Checkbox/Checkbox.d.ts +1 -1
- package/build/Legacy/Form/Checkbox/Checkbox.d.ts.map +1 -1
- package/build/Legacy/Form/Checkbox/Checkbox.js +22 -25
- package/build/Legacy/Form/Checkbox/Checkbox.type.d.ts +0 -3
- package/build/Legacy/Form/Checkbox/Checkbox.type.d.ts.map +1 -1
- package/build/Legacy/Form/Checkbox/Checkbox.type.js +1 -18
- package/build/Legacy/Form/Checkbox/index.d.ts +1 -1
- package/build/Legacy/Form/Checkbox/index.d.ts.map +1 -1
- package/build/Legacy/Form/Checkbox/index.js +3 -3
- package/build/Legacy/Form/Input/Input.const.d.ts +5 -0
- package/build/Legacy/Form/Input/Input.const.d.ts.map +1 -0
- package/build/Legacy/Form/Input/Input.const.js +30 -0
- package/build/Legacy/Form/Input/Input.d.ts +1 -1
- package/build/Legacy/Form/Input/Input.d.ts.map +1 -1
- package/build/Legacy/Form/Input/Input.js +25 -32
- package/build/Legacy/Form/Input/Input.type.d.ts +0 -3
- package/build/Legacy/Form/Input/Input.type.d.ts.map +1 -1
- package/build/Legacy/Form/Input/Input.type.js +1 -26
- package/build/Legacy/Form/Input/index.d.ts +1 -1
- package/build/Legacy/Form/Input/index.d.ts.map +1 -1
- package/build/Legacy/Form/Input/index.js +4 -4
- package/build/Legacy/Form/Radio/Radio.const.d.ts +5 -0
- package/build/Legacy/Form/Radio/Radio.const.d.ts.map +1 -0
- package/build/Legacy/Form/Radio/Radio.const.js +22 -0
- package/build/Legacy/Form/Radio/Radio.d.ts +1 -1
- package/build/Legacy/Form/Radio/Radio.d.ts.map +1 -1
- package/build/Legacy/Form/Radio/Radio.js +19 -24
- package/build/Legacy/Form/Radio/Radio.type.d.ts +0 -3
- package/build/Legacy/Form/Radio/Radio.type.d.ts.map +1 -1
- package/build/Legacy/Form/Radio/Radio.type.js +1 -18
- package/build/Legacy/Form/Radio/index.d.ts +1 -1
- package/build/Legacy/Form/Radio/index.d.ts.map +1 -1
- package/build/Legacy/Form/Radio/index.js +3 -3
- package/build/Legacy/Form/index.js +1 -1
- package/build/Legacy/Grid/DisplayTable/DisplayTable.const.d.ts +3 -0
- package/build/Legacy/Grid/DisplayTable/DisplayTable.const.d.ts.map +1 -0
- package/build/Legacy/Grid/DisplayTable/DisplayTable.const.js +11 -0
- package/build/Legacy/Grid/DisplayTable/DisplayTable.d.ts +1 -1
- package/build/Legacy/Grid/DisplayTable/DisplayTable.d.ts.map +1 -1
- package/build/Legacy/Grid/DisplayTable/DisplayTable.js +26 -31
- package/build/Legacy/Grid/DisplayTable/DisplayTable.type.d.ts +0 -1
- package/build/Legacy/Grid/DisplayTable/DisplayTable.type.d.ts.map +1 -1
- package/build/Legacy/Grid/DisplayTable/DisplayTable.type.js +1 -7
- package/build/Legacy/Grid/DisplayTable/index.js +1 -1
- package/build/Legacy/Grid/FlexGrid/FlexGrid.const.d.ts +5 -0
- package/build/Legacy/Grid/FlexGrid/FlexGrid.const.d.ts.map +1 -0
- package/build/Legacy/Grid/FlexGrid/FlexGrid.const.js +28 -0
- package/build/Legacy/Grid/FlexGrid/FlexGrid.d.ts +1 -1
- package/build/Legacy/Grid/FlexGrid/FlexGrid.d.ts.map +1 -1
- package/build/Legacy/Grid/FlexGrid/FlexGrid.js +148 -167
- package/build/Legacy/Grid/FlexGrid/FlexGrid.type.d.ts +1 -4
- package/build/Legacy/Grid/FlexGrid/FlexGrid.type.d.ts.map +1 -1
- package/build/Legacy/Grid/FlexGrid/FlexGrid.type.js +1 -24
- package/build/Legacy/Grid/FlexGrid/index.d.ts +1 -1
- package/build/Legacy/Grid/FlexGrid/index.d.ts.map +1 -1
- package/build/Legacy/Grid/FlexGrid/index.js +4 -4
- package/build/Legacy/Grid/index.js +1 -1
- package/build/Legacy/Icon/Icon.const.d.ts +656 -0
- package/build/Legacy/Icon/Icon.const.d.ts.map +1 -0
- package/build/Legacy/Icon/Icon.const.js +678 -0
- package/build/Legacy/Icon/Icon.d.ts +1 -1
- package/build/Legacy/Icon/Icon.d.ts.map +1 -1
- package/build/Legacy/Icon/Icon.js +33 -44
- package/build/Legacy/Icon/Icon.part.js +645 -645
- package/build/Legacy/Icon/Icon.type.d.ts +0 -654
- package/build/Legacy/Icon/Icon.type.d.ts.map +1 -1
- package/build/Legacy/Icon/Icon.type.js +1 -674
- package/build/Legacy/Icon/index.d.ts +1 -1
- package/build/Legacy/Icon/index.d.ts.map +1 -1
- package/build/Legacy/Icon/index.js +4 -4
- package/build/Legacy/Label/Label.const.d.ts +6 -0
- package/build/Legacy/Label/Label.const.d.ts.map +1 -0
- package/build/Legacy/Label/Label.const.js +26 -0
- package/build/Legacy/Label/Label.d.ts +1 -1
- package/build/Legacy/Label/Label.d.ts.map +1 -1
- package/build/Legacy/Label/Label.js +16 -15
- package/build/Legacy/Label/Label.type.d.ts +0 -4
- package/build/Legacy/Label/Label.type.d.ts.map +1 -1
- package/build/Legacy/Label/Label.type.js +1 -22
- package/build/Legacy/Label/index.js +1 -1
- package/build/Legacy/Loader/Loader.const.d.ts +4 -0
- package/build/Legacy/Loader/Loader.const.d.ts.map +1 -0
- package/build/Legacy/Loader/Loader.const.js +15 -0
- package/build/Legacy/Loader/Loader.d.ts +1 -1
- package/build/Legacy/Loader/Loader.d.ts.map +1 -1
- package/build/Legacy/Loader/Loader.js +19 -19
- package/build/Legacy/Loader/Loader.type.d.ts +0 -2
- package/build/Legacy/Loader/Loader.type.d.ts.map +1 -1
- package/build/Legacy/Loader/Loader.type.js +1 -11
- package/build/Legacy/Loader/index.d.ts +1 -1
- package/build/Legacy/Loader/index.d.ts.map +1 -1
- package/build/Legacy/Loader/index.js +3 -3
- package/build/Legacy/Markdown/Markdown.const.d.ts +4 -0
- package/build/Legacy/Markdown/Markdown.const.d.ts.map +1 -0
- package/build/Legacy/Markdown/Markdown.const.js +14 -0
- package/build/Legacy/Markdown/Markdown.d.ts +1 -1
- package/build/Legacy/Markdown/Markdown.d.ts.map +1 -1
- package/build/Legacy/Markdown/Markdown.js +20 -16
- package/build/Legacy/Markdown/Markdown.type.d.ts +0 -2
- package/build/Legacy/Markdown/Markdown.type.d.ts.map +1 -1
- package/build/Legacy/Markdown/Markdown.type.js +1 -10
- package/build/Legacy/Markdown/index.js +1 -1
- package/build/Legacy/Navigation/Menu/Menu.const.d.ts +3 -0
- package/build/Legacy/Navigation/Menu/Menu.const.d.ts.map +1 -0
- package/build/Legacy/Navigation/Menu/Menu.const.js +10 -0
- package/build/Legacy/Navigation/Menu/Menu.d.ts +1 -1
- package/build/Legacy/Navigation/Menu/Menu.d.ts.map +1 -1
- package/build/Legacy/Navigation/Menu/Menu.js +40 -42
- package/build/Legacy/Navigation/Menu/Menu.type.d.ts +0 -1
- package/build/Legacy/Navigation/Menu/Menu.type.d.ts.map +1 -1
- package/build/Legacy/Navigation/Menu/Menu.type.js +1 -6
- package/build/Legacy/Navigation/Menu/index.js +1 -1
- package/build/Legacy/Navigation/TabNav/TabNav.const.d.ts +4 -0
- package/build/Legacy/Navigation/TabNav/TabNav.const.d.ts.map +1 -0
- package/build/Legacy/Navigation/TabNav/TabNav.const.js +16 -0
- package/build/Legacy/Navigation/TabNav/TabNav.d.ts +1 -1
- package/build/Legacy/Navigation/TabNav/TabNav.d.ts.map +1 -1
- package/build/Legacy/Navigation/TabNav/TabNav.js +79 -79
- package/build/Legacy/Navigation/TabNav/TabNav.type.d.ts +1 -3
- package/build/Legacy/Navigation/TabNav/TabNav.type.d.ts.map +1 -1
- package/build/Legacy/Navigation/TabNav/TabNav.type.js +1 -12
- package/build/Legacy/Navigation/TabNav/index.d.ts +1 -1
- package/build/Legacy/Navigation/TabNav/index.d.ts.map +1 -1
- package/build/Legacy/Navigation/TabNav/index.js +3 -3
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.d.ts +5 -0
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.d.ts.map +1 -0
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.js +20 -0
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.d.ts +1 -1
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.d.ts.map +1 -1
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.js +64 -63
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.d.ts +0 -3
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.d.ts.map +1 -1
- package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.js +1 -16
- package/build/Legacy/Navigation/UnderlineNav/index.d.ts +1 -1
- package/build/Legacy/Navigation/UnderlineNav/index.d.ts.map +1 -1
- package/build/Legacy/Navigation/UnderlineNav/index.js +4 -4
- package/build/Legacy/Navigation/index.js +1 -1
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.d.ts +4 -0
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.d.ts.map +1 -0
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.js +30 -0
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.d.ts +1 -1
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.d.ts.map +1 -1
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.js +46 -40
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.d.ts +0 -2
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.d.ts.map +1 -1
- package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.js +1 -26
- package/build/Legacy/Pagination/PreviousNext/index.d.ts +1 -1
- package/build/Legacy/Pagination/PreviousNext/index.d.ts.map +1 -1
- package/build/Legacy/Pagination/PreviousNext/index.js +3 -3
- package/build/Legacy/Pagination/index.js +1 -1
- package/build/Legacy/Popover/Popover.const.d.ts +5 -0
- package/build/Legacy/Popover/Popover.const.d.ts.map +1 -0
- package/build/Legacy/Popover/Popover.const.js +29 -0
- package/build/Legacy/Popover/Popover.d.ts +1 -1
- package/build/Legacy/Popover/Popover.d.ts.map +1 -1
- package/build/Legacy/Popover/Popover.js +41 -25
- package/build/Legacy/Popover/Popover.type.d.ts +0 -3
- package/build/Legacy/Popover/Popover.type.d.ts.map +1 -1
- package/build/Legacy/Popover/Popover.type.js +1 -25
- package/build/Legacy/Popover/index.d.ts +1 -1
- package/build/Legacy/Popover/index.d.ts.map +1 -1
- package/build/Legacy/Popover/index.js +4 -4
- package/build/Legacy/Progress/Progress.const.d.ts +4 -0
- package/build/Legacy/Progress/Progress.const.d.ts.map +1 -0
- package/build/Legacy/Progress/Progress.const.js +15 -0
- package/build/Legacy/Progress/Progress.d.ts +1 -1
- package/build/Legacy/Progress/Progress.d.ts.map +1 -1
- package/build/Legacy/Progress/Progress.js +15 -14
- package/build/Legacy/Progress/Progress.type.d.ts +0 -2
- package/build/Legacy/Progress/Progress.type.d.ts.map +1 -1
- package/build/Legacy/Progress/Progress.type.js +1 -11
- package/build/Legacy/Progress/index.d.ts +1 -1
- package/build/Legacy/Progress/index.d.ts.map +1 -1
- package/build/Legacy/Progress/index.js +3 -3
- package/build/Legacy/Select/Select.const.d.ts +4 -0
- package/build/Legacy/Select/Select.const.d.ts.map +1 -0
- package/build/Legacy/Select/Select.const.js +15 -0
- package/build/Legacy/Select/Select.d.ts +1 -1
- package/build/Legacy/Select/Select.d.ts.map +1 -1
- package/build/Legacy/Select/Select.js +31 -35
- package/build/Legacy/Select/Select.type.d.ts +0 -2
- package/build/Legacy/Select/Select.type.d.ts.map +1 -1
- package/build/Legacy/Select/Select.type.js +1 -11
- package/build/Legacy/Select/index.d.ts +1 -1
- package/build/Legacy/Select/index.d.ts.map +1 -1
- package/build/Legacy/Select/index.js +3 -3
- package/build/Legacy/SelectMenu/SelectMenu.const.d.ts +3 -0
- package/build/Legacy/SelectMenu/SelectMenu.const.d.ts.map +1 -0
- package/build/Legacy/SelectMenu/SelectMenu.const.js +10 -0
- package/build/Legacy/SelectMenu/SelectMenu.d.ts +1 -1
- package/build/Legacy/SelectMenu/SelectMenu.d.ts.map +1 -1
- package/build/Legacy/SelectMenu/SelectMenu.js +42 -46
- package/build/Legacy/SelectMenu/SelectMenu.type.d.ts +0 -1
- package/build/Legacy/SelectMenu/SelectMenu.type.d.ts.map +1 -1
- package/build/Legacy/SelectMenu/SelectMenu.type.js +1 -6
- package/build/Legacy/SelectMenu/index.js +1 -1
- package/build/Legacy/Subhead/Subhead.const.d.ts +3 -0
- package/build/Legacy/Subhead/Subhead.const.d.ts.map +1 -0
- package/build/Legacy/Subhead/Subhead.const.js +10 -0
- package/build/Legacy/Subhead/Subhead.d.ts +1 -1
- package/build/Legacy/Subhead/Subhead.d.ts.map +1 -1
- package/build/Legacy/Subhead/Subhead.js +12 -12
- package/build/Legacy/Subhead/Subhead.type.d.ts +0 -1
- package/build/Legacy/Subhead/Subhead.type.d.ts.map +1 -1
- package/build/Legacy/Subhead/Subhead.type.js +1 -6
- package/build/Legacy/Subhead/index.js +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.d.ts +6 -0
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.d.ts.map +1 -0
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.js +25 -0
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts.map +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.js +7 -9
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts +0 -4
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts.map +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.js +1 -21
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts.map +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.js +9 -10
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts.map +1 -1
- package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.js +10 -11
- package/build/Legacy/SyntaxHighlighter/index.d.ts +1 -1
- package/build/Legacy/SyntaxHighlighter/index.d.ts.map +1 -1
- package/build/Legacy/SyntaxHighlighter/index.js +5 -5
- package/build/Legacy/Toast/Toast.const.d.ts +4 -0
- package/build/Legacy/Toast/Toast.const.d.ts.map +1 -0
- package/build/Legacy/Toast/Toast.const.js +18 -0
- package/build/Legacy/Toast/Toast.d.ts +1 -1
- package/build/Legacy/Toast/Toast.d.ts.map +1 -1
- package/build/Legacy/Toast/Toast.js +23 -23
- package/build/Legacy/Toast/Toast.type.d.ts +0 -2
- package/build/Legacy/Toast/Toast.type.d.ts.map +1 -1
- package/build/Legacy/Toast/Toast.type.js +1 -14
- package/build/Legacy/Toast/index.d.ts +1 -1
- package/build/Legacy/Toast/index.d.ts.map +1 -1
- package/build/Legacy/Toast/index.js +3 -3
- package/build/Legacy/index.js +1 -1
- package/build/Modern/Avatar/Avatar.d.ts +1 -1
- package/build/Modern/Avatar/Avatar.d.ts.map +1 -1
- package/build/Modern/Avatar/Avatar.js +23 -30
- package/build/Modern/Avatar/index.js +1 -1
- package/build/Modern/AvatarStack/AvatarStack.d.ts +2 -2
- package/build/Modern/AvatarStack/AvatarStack.d.ts.map +1 -1
- package/build/Modern/AvatarStack/AvatarStack.js +53 -57
- package/build/Modern/AvatarStack/index.js +1 -1
- package/build/Modern/Flash/Flash.d.ts +1 -1
- package/build/Modern/Flash/Flash.d.ts.map +1 -1
- package/build/Modern/Flash/Flash.js +13 -17
- package/build/Modern/Flash/index.js +1 -1
- package/build/Modern/Link/Link.d.ts +3 -3
- package/build/Modern/Link/Link.d.ts.map +1 -1
- package/build/Modern/Link/Link.js +20 -22
- package/build/Modern/Link/index.js +1 -1
- package/build/Modern/Pagination/Pagination.d.ts +2 -2
- package/build/Modern/Pagination/Pagination.d.ts.map +1 -1
- package/build/Modern/Pagination/Pagination.js +68 -79
- package/build/Modern/Pagination/Pagination.model.js +30 -34
- package/build/Modern/Pagination/index.js +1 -1
- package/build/Modern/hooks/index.js +2 -2
- package/build/Modern/hooks/useMedia.d.ts +2 -2
- package/build/Modern/hooks/useMedia.d.ts.map +1 -1
- package/build/Modern/hooks/useMedia.js +29 -38
- package/build/Modern/hooks/useRefObjectAsForwardedRef.js +1 -3
- package/build/Modern/hooks/useResponsiveValue.js +6 -10
- package/build/Modern/index.d.ts +1 -1
- package/build/Modern/index.js +1 -1
- package/build/Modern/utils/environment.js +1 -2
- package/build/Modern/utils/hasInteractiveNodes.js +11 -15
- package/build/Modern/utils/modern-polymorphic.js +1 -1
- package/build/Modern/utils/polymorphic.d.ts +1 -1
- package/build/Modern/utils/polymorphic.d.ts.map +1 -1
- package/build/Modern/utils/testing.js +2 -2
- package/build/Modern/utils/types/index.js +3 -3
- package/build/Modern/utils/warning.js +4 -7
- package/build/index.js +2 -2
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEhE,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,aAU1B,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.AlertVariant = exports.AlertDefault = void 0;
|
|
7
|
+
const AlertVariant = exports.AlertVariant = {
|
|
8
|
+
Default: 'default',
|
|
9
|
+
Info: 'info',
|
|
10
|
+
Warning: 'warning',
|
|
11
|
+
Error: 'error',
|
|
12
|
+
Success: 'success',
|
|
13
|
+
Full: 'full',
|
|
14
|
+
Banner: 'banner'
|
|
15
|
+
};
|
|
16
|
+
const AlertDefault = exports.AlertDefault = {
|
|
17
|
+
DataTestId: {
|
|
18
|
+
default: 'default',
|
|
19
|
+
approve: 'approve',
|
|
20
|
+
cancel: 'cancel',
|
|
21
|
+
input: 'input'
|
|
22
|
+
},
|
|
23
|
+
ClassName: null,
|
|
24
|
+
Variant: AlertVariant.Default,
|
|
25
|
+
Consent: null
|
|
26
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSX } from 'react';
|
|
2
|
-
import { IAlert } from './Alert.type';
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { IAlert } from './Alert.type';
|
|
3
3
|
export declare function Alert({ dataTestId, className, variant, children, consent, }: IAlert): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,GAAG,EAAiB,MAAM,OAAO,CAAA;AAS5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,wBAAgB,KAAK,CAAC,EACpB,UAAoC,EACpC,SAAkC,EAClC,OAA8B,EAC9B,QAAQ,EACR,OAAO,GACR,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAsFtB"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.Alert = Alert;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
8
|
var _margin = _interopRequireDefault(require("@papillonarts/css/utilities/margin.scss"));
|
|
11
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
10
|
var _react = require("react");
|
|
@@ -14,35 +12,37 @@ var _Button = require("../Button");
|
|
|
14
12
|
var _Button2 = _interopRequireDefault(require("../Button/Button.scss"));
|
|
15
13
|
var _Input = require("../Form/Input");
|
|
16
14
|
var _Icon = require("../Icon");
|
|
17
|
-
var _Icon2 = require("../Icon/Icon.
|
|
18
|
-
var _Alert =
|
|
19
|
-
var _Alert2 = require("./Alert.
|
|
15
|
+
var _Icon2 = require("../Icon/Icon.const");
|
|
16
|
+
var _Alert = require("./Alert.const");
|
|
17
|
+
var _Alert2 = _interopRequireDefault(require("./Alert.scss"));
|
|
20
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
function Alert(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
children = _ref.children,
|
|
30
|
-
consent = _ref.consent;
|
|
31
|
-
var _useState = (0, _react.useState)(''),
|
|
32
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
33
|
-
consentValue = _useState2[0],
|
|
34
|
-
setConsentValue = _useState2[1];
|
|
19
|
+
function Alert({
|
|
20
|
+
dataTestId = _Alert.AlertDefault.DataTestId,
|
|
21
|
+
className = _Alert.AlertDefault.ClassName,
|
|
22
|
+
variant = _Alert.AlertDefault.Variant,
|
|
23
|
+
children,
|
|
24
|
+
consent
|
|
25
|
+
}) {
|
|
26
|
+
const [consentValue, setConsentValue] = (0, _react.useState)('');
|
|
35
27
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
36
|
-
"data-testid": dataTestId
|
|
28
|
+
"data-testid": dataTestId?.default,
|
|
37
29
|
className: className,
|
|
38
30
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
39
|
-
className: (0, _classnames
|
|
31
|
+
className: (0, _classnames.default)(_Alert2.default['flash-messages']),
|
|
40
32
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
41
|
-
className: (0, _classnames
|
|
33
|
+
className: (0, _classnames.default)(_Alert2.default.flash, {
|
|
34
|
+
[_Alert2.default.flash]: variant === _Alert.AlertVariant.Default,
|
|
35
|
+
[_Alert2.default['flash-info']]: variant === _Alert.AlertVariant.Info,
|
|
36
|
+
[_Alert2.default['flash-warn']]: variant === _Alert.AlertVariant.Warning,
|
|
37
|
+
[_Alert2.default['flash-error']]: variant === _Alert.AlertVariant.Error,
|
|
38
|
+
[_Alert2.default['flash-success']]: variant === _Alert.AlertVariant.Success,
|
|
39
|
+
[_Alert2.default['flash-full']]: variant === _Alert.AlertVariant.Full,
|
|
40
|
+
[_Alert2.default['flash-banner']]: variant === _Alert.AlertVariant.Banner
|
|
41
|
+
}),
|
|
42
42
|
children: [consent && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
|
|
43
43
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
44
|
-
dataTestId: dataTestId
|
|
45
|
-
className: (0, _classnames
|
|
44
|
+
dataTestId: dataTestId?.cancel,
|
|
45
|
+
className: (0, _classnames.default)(_Button2.default.btn, _Button2.default['btn-sm'], _Button2.default.primary, _Alert2.default['flash-action']),
|
|
46
46
|
text: "Cancel",
|
|
47
47
|
icon: {
|
|
48
48
|
name: _Icon2.IconName.XCircleFill16,
|
|
@@ -50,14 +50,13 @@ function Alert(_ref) {
|
|
|
50
50
|
},
|
|
51
51
|
variant: _Button.ButtonVariant.Default,
|
|
52
52
|
inputType: _Button.ButtonInputType.Submit,
|
|
53
|
-
onClick:
|
|
54
|
-
|
|
55
|
-
consent === null || consent === void 0 || (_consent$action = consent.action) === null || _consent$action === void 0 || _consent$action.cancel();
|
|
53
|
+
onClick: () => {
|
|
54
|
+
consent?.action?.cancel();
|
|
56
55
|
setConsentValue('');
|
|
57
56
|
}
|
|
58
57
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
59
|
-
dataTestId: dataTestId
|
|
60
|
-
className: (0, _classnames
|
|
58
|
+
dataTestId: dataTestId?.approve,
|
|
59
|
+
className: (0, _classnames.default)(_Button2.default.btn, _Button2.default['btn-sm'], _Button2.default.primary, _Alert2.default['flash-action']),
|
|
61
60
|
text: "Approve",
|
|
62
61
|
icon: {
|
|
63
62
|
name: _Icon2.IconName.CheckCircleFill16,
|
|
@@ -65,48 +64,47 @@ function Alert(_ref) {
|
|
|
65
64
|
},
|
|
66
65
|
variant: _Button.ButtonVariant.Primary,
|
|
67
66
|
inputType: _Button.ButtonInputType.Submit,
|
|
68
|
-
autoFocus: consent
|
|
67
|
+
autoFocus: consent?.hasInput ? false : true // eslint-disable-line
|
|
69
68
|
,
|
|
70
|
-
onClick: consent
|
|
69
|
+
onClick: consent?.hasInput ? () => {
|
|
71
70
|
if (consentValue !== '') {
|
|
72
|
-
|
|
73
|
-
consent === null || consent === void 0 || (_consent$action2 = consent.action) === null || _consent$action2 === void 0 || _consent$action2.approve(consentValue);
|
|
71
|
+
consent?.action?.approve(consentValue);
|
|
74
72
|
setConsentValue('');
|
|
75
73
|
}
|
|
76
|
-
} : consent
|
|
74
|
+
} : consent?.action?.approve
|
|
77
75
|
})]
|
|
78
|
-
}), variant ===
|
|
79
|
-
className: (_margin
|
|
76
|
+
}), variant === _Alert.AlertVariant.Info && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
77
|
+
className: (_margin.default['mr-2'], _Alert2.default.octicon),
|
|
80
78
|
icon: _Icon2.IconName.Info16,
|
|
81
79
|
size: _Icon.IconSize.Small
|
|
82
|
-
}), variant ===
|
|
83
|
-
className: (_margin
|
|
80
|
+
}), variant === _Alert.AlertVariant.Warning && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
81
|
+
className: (_margin.default['mr-2'], _Alert2.default.octicon),
|
|
84
82
|
icon: _Icon2.IconName.Alert16,
|
|
85
83
|
size: _Icon.IconSize.Small
|
|
86
|
-
}), variant ===
|
|
87
|
-
className: (_margin
|
|
84
|
+
}), variant === _Alert.AlertVariant.Error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
85
|
+
className: (_margin.default['mr-2'], _Alert2.default.octicon),
|
|
88
86
|
icon: _Icon2.IconName.XCircle16,
|
|
89
87
|
size: _Icon.IconSize.Small
|
|
90
|
-
}), variant ===
|
|
91
|
-
className: _margin
|
|
88
|
+
}), variant === _Alert.AlertVariant.Success && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
89
|
+
className: _margin.default['mr-2'],
|
|
92
90
|
icon: _Icon2.IconName.CheckCircle16,
|
|
93
91
|
size: _Icon.IconSize.Small
|
|
94
92
|
}), consent && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
95
|
-
className: (_margin
|
|
93
|
+
className: (_margin.default['mr-2'], _Alert2.default.octicon),
|
|
96
94
|
icon: _Icon2.IconName.Question16,
|
|
97
95
|
size: _Icon.IconSize.Small
|
|
98
|
-
}), children,
|
|
99
|
-
dataTestId: dataTestId
|
|
100
|
-
className:
|
|
96
|
+
}), children, consent?.hasInput && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.Input, {
|
|
97
|
+
dataTestId: dataTestId?.input,
|
|
98
|
+
className: _Alert2.default['flash-action'],
|
|
101
99
|
value: consentValue,
|
|
102
100
|
placeholder: "",
|
|
103
101
|
ariaAttr: {
|
|
104
102
|
label: ''
|
|
105
103
|
},
|
|
106
|
-
onChange:
|
|
104
|
+
onChange: event => {
|
|
107
105
|
setConsentValue(event.target.value);
|
|
108
106
|
},
|
|
109
|
-
onKeyUp:
|
|
107
|
+
onKeyUp: event => {
|
|
110
108
|
setConsentValue(event.target.value);
|
|
111
109
|
},
|
|
112
110
|
autoFocus: true // eslint-disable-line
|
|
@@ -8,14 +8,12 @@ export interface IAlertVariant {
|
|
|
8
8
|
Full: string;
|
|
9
9
|
Banner: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const AlertVariant: IAlertVariant;
|
|
12
11
|
export interface IAlertDefault {
|
|
13
12
|
DataTestId: IAlertDataTestId;
|
|
14
13
|
ClassName: string | null;
|
|
15
14
|
Variant: string;
|
|
16
15
|
Consent: string | null;
|
|
17
16
|
}
|
|
18
|
-
export declare const AlertDefault: IAlertDefault;
|
|
19
17
|
export interface IAlertConsentAction {
|
|
20
18
|
approve?: (value?: string) => void;
|
|
21
19
|
cancel?: (value?: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACf;
|
|
1
|
+
{"version":3,"file":"Alert.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AACD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AACD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,MAAM;IACrB,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,aAAa,CAAA;CACxB"}
|
|
@@ -2,27 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.AlertVariant = exports.AlertDefault = void 0;
|
|
7
|
-
var AlertVariant = exports.AlertVariant = {
|
|
8
|
-
Default: 'default',
|
|
9
|
-
Info: 'info',
|
|
10
|
-
Warning: 'warning',
|
|
11
|
-
Error: 'error',
|
|
12
|
-
Success: 'success',
|
|
13
|
-
Full: 'full',
|
|
14
|
-
Banner: 'banner'
|
|
15
|
-
};
|
|
16
|
-
var AlertDefault = exports.AlertDefault = {
|
|
17
|
-
DataTestId: {
|
|
18
|
-
"default": 'default',
|
|
19
|
-
approve: 'approve',
|
|
20
|
-
cancel: 'cancel',
|
|
21
|
-
input: 'input'
|
|
22
|
-
},
|
|
23
|
-
ClassName: null,
|
|
24
|
-
Variant: AlertVariant.Default,
|
|
25
|
-
Consent: null
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
// https://react.dev/learn/typescript#typing-children
|
|
5
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "Alert", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _Alert.Alert;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AlertVariant", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _Alert2.AlertVariant;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
var _Alert = require("./Alert");
|
|
19
|
-
var _Alert2 = require("./Alert.
|
|
19
|
+
var _Alert2 = require("./Alert.const");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blankslate.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE/E,eAAO,MAAM,iBAAiB,EAAE,kBAM/B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAI/B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BlankslateVariant = exports.BlankslateDefault = void 0;
|
|
7
|
+
const BlankslateVariant = exports.BlankslateVariant = {
|
|
8
|
+
Default: 'default',
|
|
9
|
+
Narrow: 'narrow',
|
|
10
|
+
Capped: 'capped',
|
|
11
|
+
Spacious: 'spacious',
|
|
12
|
+
Large: 'large'
|
|
13
|
+
};
|
|
14
|
+
const BlankslateDefault = exports.BlankslateDefault = {
|
|
15
|
+
ClassName: null,
|
|
16
|
+
Variant: BlankslateVariant.Default,
|
|
17
|
+
HasCleanBackground: false
|
|
18
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import { IBlankslate } from './Blankslate.type';
|
|
2
|
+
import type { IBlankslate } from './Blankslate.type';
|
|
3
3
|
export declare function Blankslate({ className, heading, text, variant, hasCleanBackground, }: IBlankslate): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Blankslate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blankslate.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Blankslate.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAGhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,OAAO,EACP,IAAI,EACJ,OAAmC,EACnC,kBAAyD,GAC1D,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAe3B"}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.Blankslate = Blankslate;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var _Blankslate =
|
|
11
|
-
var _Blankslate2 = require("./Blankslate.
|
|
9
|
+
var _Blankslate = require("./Blankslate.const");
|
|
10
|
+
var _Blankslate2 = _interopRequireDefault(require("./Blankslate.scss"));
|
|
12
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
function Blankslate(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
_ref$hasCleanBackgrou = _ref.hasCleanBackground,
|
|
21
|
-
hasCleanBackground = _ref$hasCleanBackgrou === void 0 ? _Blankslate2.BlankslateDefault.HasCleanBackground : _ref$hasCleanBackgrou;
|
|
12
|
+
function Blankslate({
|
|
13
|
+
className = _Blankslate.BlankslateDefault.ClassName,
|
|
14
|
+
heading,
|
|
15
|
+
text,
|
|
16
|
+
variant = _Blankslate.BlankslateDefault.Variant,
|
|
17
|
+
hasCleanBackground = _Blankslate.BlankslateDefault.HasCleanBackground
|
|
18
|
+
}) {
|
|
22
19
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
23
|
-
className: (0, _classnames
|
|
20
|
+
className: (0, _classnames.default)(className, _Blankslate2.default.blankslate, {
|
|
21
|
+
[_Blankslate2.default['blankslate-narrow']]: variant === _Blankslate.BlankslateVariant.Narrow,
|
|
22
|
+
[_Blankslate2.default['blankslate-capped']]: variant === _Blankslate.BlankslateVariant.Capped === true,
|
|
23
|
+
[_Blankslate2.default['blankslate-spacious']]: variant === _Blankslate.BlankslateVariant.Spacious,
|
|
24
|
+
[_Blankslate2.default['blankslate-large']]: variant === _Blankslate.BlankslateVariant.Large,
|
|
25
|
+
[_Blankslate2.default['blankslate-clean-background']]: hasCleanBackground === true
|
|
26
|
+
}),
|
|
24
27
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("h3", {
|
|
25
28
|
children: heading
|
|
26
29
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
@@ -5,13 +5,11 @@ export interface IBlankslateVariant {
|
|
|
5
5
|
Spacious: string;
|
|
6
6
|
Large: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const BlankslateVariant: IBlankslateVariant;
|
|
9
8
|
export interface IBlankslateDefault {
|
|
10
9
|
ClassName: string | null;
|
|
11
10
|
Variant: string;
|
|
12
11
|
HasCleanBackground: boolean;
|
|
13
12
|
}
|
|
14
|
-
export declare const BlankslateDefault: IBlankslateDefault;
|
|
15
13
|
export interface IBlankslate {
|
|
16
14
|
className?: string | null;
|
|
17
15
|
heading: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blankslate.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;
|
|
1
|
+
{"version":3,"file":"Blankslate.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AACD,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AACD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
|
|
@@ -2,17 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.BlankslateVariant = exports.BlankslateDefault = void 0;
|
|
7
|
-
var BlankslateVariant = exports.BlankslateVariant = {
|
|
8
|
-
Default: 'default',
|
|
9
|
-
Narrow: 'narrow',
|
|
10
|
-
Capped: 'capped',
|
|
11
|
-
Spacious: 'spacious',
|
|
12
|
-
Large: 'large'
|
|
13
|
-
};
|
|
14
|
-
var BlankslateDefault = exports.BlankslateDefault = {
|
|
15
|
-
ClassName: null,
|
|
16
|
-
Variant: BlankslateVariant.Default,
|
|
17
|
-
HasCleanBackground: false
|
|
18
|
-
};
|
|
5
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "Blankslate", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _Blankslate.Blankslate;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "BlankslateVariant", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _Blankslate2.BlankslateVariant;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
var _Blankslate = require("./Blankslate");
|
|
19
|
-
var _Blankslate2 = require("./Blankslate.
|
|
19
|
+
var _Blankslate2 = require("./Blankslate.const");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breadcrumb.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAE7E,eAAO,MAAM,eAAe,EAAE,gBAG7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAG/B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BreadcrumbState = exports.BreadcrumbDefault = void 0;
|
|
7
|
+
const BreadcrumbState = exports.BreadcrumbState = {
|
|
8
|
+
Active: 'active',
|
|
9
|
+
Inactive: 'inactive'
|
|
10
|
+
};
|
|
11
|
+
const BreadcrumbDefault = exports.BreadcrumbDefault = {
|
|
12
|
+
ClassName: null,
|
|
13
|
+
State: BreadcrumbState.Active
|
|
14
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import { IBreadcrumb } from './Breadcrumb.type';
|
|
2
|
+
import type { IBreadcrumb } from './Breadcrumb.type';
|
|
3
3
|
export declare function Breadcrumb({ className, ariaAttr, items, onClick, state, }: IBreadcrumb): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAIhC,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAA;AAEzE,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,QAAQ,EACR,KAAK,EACL,OAAO,EACP,KAA+B,GAChC,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CA6C3B"}
|