@bookjane2/bookjane-design-library 7.0.17 → 7.0.18
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 +47 -47
- package/lib/assets/SadJaneIcon.d.ts +2 -2
- package/lib/assets/SadJaneIcon.js +59 -59
- package/lib/assets/SadJaneIcon.tsx +80 -80
- package/lib/common.types.d.ts +43 -43
- package/lib/common.types.js +33 -33
- package/lib/components/BKJAddressInput/BKJAddressInput.context.d.ts +9 -9
- package/lib/components/BKJAddressInput/BKJAddressInput.context.js +112 -112
- package/lib/components/BKJAddressInput/BKJAddressInput.d.ts +3 -3
- package/lib/components/BKJAddressInput/BKJAddressInput.js +2 -2
- package/lib/components/BKJAddressInput/BKJAddressInput.stories.d.ts +10 -10
- package/lib/components/BKJAddressInput/BKJAddressInput.stories.js +10 -10
- package/lib/components/BKJAddressInput/BKJAddressInput.types.d.ts +73 -73
- package/lib/components/BKJAddressInput/BKJAddressInput.types.js +1 -1
- package/lib/components/BKJAddressInput/index.d.ts +1 -1
- package/lib/components/BKJAddressInput/index.js +1 -1
- package/lib/components/BKJAddressInput/normalizedPlaceChangeHandler.d.ts +2 -2
- package/lib/components/BKJAddressInput/normalizedPlaceChangeHandler.js +47 -47
- package/lib/components/BKJAlert/BKJAlert.d.ts +3 -3
- package/lib/components/BKJAlert/BKJAlert.js +13 -13
- package/lib/components/BKJAlert/BKJAlert.stories.d.ts +15 -15
- package/lib/components/BKJAlert/BKJAlert.stories.js +18 -18
- package/lib/components/BKJAlert/BKJAlert.styled.d.ts +7 -7
- package/lib/components/BKJAlert/BKJAlert.styled.js +32 -32
- package/lib/components/BKJAlert/BKJAlert.types.d.ts +6 -6
- package/lib/components/BKJAlert/BKJAlert.types.js +1 -1
- package/lib/components/BKJAlert/index.d.ts +2 -2
- package/lib/components/BKJAlert/index.js +2 -2
- package/lib/components/BKJAvatar/BKJAvatar.d.ts +3 -3
- package/lib/components/BKJAvatar/BKJAvatar.js +10 -10
- package/lib/components/BKJAvatar/BKJAvatar.stories.d.ts +41 -41
- package/lib/components/BKJAvatar/BKJAvatar.stories.js +46 -46
- package/lib/components/BKJAvatar/BKJAvatar.styled.d.ts +9 -9
- package/lib/components/BKJAvatar/BKJAvatar.styled.js +23 -23
- package/lib/components/BKJAvatar/BKJAvatar.types.d.ts +9 -9
- package/lib/components/BKJAvatar/BKJAvatar.types.js +1 -1
- package/lib/components/BKJAvatar/index.d.ts +2 -2
- package/lib/components/BKJAvatar/index.js +2 -2
- package/lib/components/BKJBadge/BKJBadge.d.ts +3 -3
- package/lib/components/BKJBadge/BKJBadge.js +3 -3
- package/lib/components/BKJBadge/BKJBadge.stories.d.ts +22 -22
- package/lib/components/BKJBadge/BKJBadge.stories.js +39 -39
- package/lib/components/BKJBadge/BKJBadge.styled.d.ts +4 -4
- package/lib/components/BKJBadge/BKJBadge.styled.js +17 -17
- package/lib/components/BKJBadge/BKJBadge.theme.d.ts +2 -2
- package/lib/components/BKJBadge/BKJBadge.theme.js +71 -71
- package/lib/components/BKJBadge/BKJBadge.types.d.ts +23 -23
- package/lib/components/BKJBadge/BKJBadge.types.js +1 -1
- package/lib/components/BKJBadge/index.d.ts +2 -2
- package/lib/components/BKJBadge/index.js +2 -2
- package/lib/components/BKJButton/BKJButton.d.ts +3 -3
- package/lib/components/BKJButton/BKJButton.js +8 -8
- package/lib/components/BKJButton/BKJButton.stories.d.ts +48 -48
- package/lib/components/BKJButton/BKJButton.stories.js +65 -65
- package/lib/components/BKJButton/BKJButton.styled.d.ts +10 -10
- package/lib/components/BKJButton/BKJButton.styled.js +44 -44
- package/lib/components/BKJButton/BKJButton.theme.d.ts +2 -2
- package/lib/components/BKJButton/BKJButton.theme.js +416 -416
- package/lib/components/BKJButton/BKJButton.types.d.ts +28 -28
- package/lib/components/BKJButton/BKJButton.types.js +1 -1
- package/lib/components/BKJButton/index.d.ts +2 -2
- package/lib/components/BKJButton/index.js +2 -2
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.d.ts +3 -3
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.js +16 -16
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.d.ts +46 -46
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.js +53 -53
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.d.ts +15 -15
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.js +81 -81
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.d.ts +21 -21
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.js +1 -1
- package/lib/components/BKJButtonIconTextInput/index.d.ts +1 -1
- package/lib/components/BKJButtonIconTextInput/index.js +1 -1
- package/lib/components/BKJCheckbox/BKJCheckbox.d.ts +3 -3
- package/lib/components/BKJCheckbox/BKJCheckbox.js +26 -26
- package/lib/components/BKJCheckbox/BKJCheckbox.stories.d.ts +51 -51
- package/lib/components/BKJCheckbox/BKJCheckbox.stories.js +49 -49
- package/lib/components/BKJCheckbox/BKJCheckbox.styled.d.ts +11 -11
- package/lib/components/BKJCheckbox/BKJCheckbox.styled.js +58 -58
- package/lib/components/BKJCheckbox/BKJCheckbox.theme.d.ts +2 -2
- package/lib/components/BKJCheckbox/BKJCheckbox.theme.js +42 -42
- package/lib/components/BKJCheckbox/BKJCheckbox.types.d.ts +38 -38
- package/lib/components/BKJCheckbox/BKJCheckbox.types.js +1 -1
- package/lib/components/BKJCheckbox/index.d.ts +2 -2
- package/lib/components/BKJCheckbox/index.js +2 -2
- package/lib/components/BKJCheckbox/src/BKJCheck.d.ts +4 -4
- package/lib/components/BKJCheckbox/src/BKJCheck.js +13 -13
- package/lib/components/BKJCheckbox/src/BKJCheck.theme.d.ts +2 -2
- package/lib/components/BKJCheckbox/src/BKJCheck.theme.js +16 -16
- package/lib/components/BKJCheckbox/src/BKJCheck.types.d.ts +20 -20
- package/lib/components/BKJCheckbox/src/BKJCheck.types.js +1 -1
- package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.d.ts +7 -7
- package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.js +24 -24
- package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.d.ts +12 -12
- package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.js +19 -19
- package/lib/components/BKJCheckboxListItem/index.d.ts +2 -2
- package/lib/components/BKJCheckboxListItem/index.js +2 -2
- package/lib/components/BKJChip/BKJChip.d.ts +3 -3
- package/lib/components/BKJChip/BKJChip.js +5 -5
- package/lib/components/BKJChip/BKJChip.stories.d.ts +23 -23
- package/lib/components/BKJChip/BKJChip.stories.js +26 -26
- package/lib/components/BKJChip/BKJChip.styled.d.ts +6 -6
- package/lib/components/BKJChip/BKJChip.styled.js +26 -26
- package/lib/components/BKJChip/BKJChip.theme.d.ts +2 -2
- package/lib/components/BKJChip/BKJChip.theme.js +9 -9
- package/lib/components/BKJChip/BKJChip.types.d.ts +11 -11
- package/lib/components/BKJChip/BKJChip.types.js +1 -1
- package/lib/components/BKJChip/index.d.ts +2 -2
- package/lib/components/BKJChip/index.js +2 -2
- package/lib/components/BKJComboBox/BKJComboBox.d.ts +7 -7
- package/lib/components/BKJComboBox/BKJComboBox.js +18 -18
- package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +10 -10
- package/lib/components/BKJComboBox/BKJComboBox.stories.js +48 -48
- package/lib/components/BKJComboBox/BKJComboBox.types.d.ts +116 -116
- package/lib/components/BKJComboBox/BKJComboBox.types.js +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.utils.d.ts +23 -23
- package/lib/components/BKJComboBox/BKJComboBox.utils.js +167 -167
- package/lib/components/BKJComboBox/fortune-500-company-list.json +3002 -3002
- package/lib/components/BKJComboBox/index.d.ts +1 -1
- package/lib/components/BKJComboBox/index.js +1 -1
- package/lib/components/BKJComboBox/opts.d.ts +6 -6
- package/lib/components/BKJComboBox/opts.js +482 -482
- package/lib/components/BKJComboBox/src/BKJComboBox.context.d.ts +5 -5
- package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.d.ts +13 -13
- package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.js +9 -9
- package/lib/components/BKJComboBox/src/BKJComboBox.context.js +178 -178
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +7 -7
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +22 -22
- package/lib/components/BKJComboBox/src/BKJComboBoxItem.d.ts +3 -3
- package/lib/components/BKJComboBox/src/BKJComboBoxItem.js +26 -26
- package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts +6 -6
- package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +21 -21
- package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts +5 -5
- package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js +19 -19
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +7 -7
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +18 -18
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +10 -10
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +92 -92
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +122 -122
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.js +1 -1
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +11 -11
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +80 -80
- package/lib/components/BKJComboBoxAsync/fortune-500-company-list.json +3509 -3509
- package/lib/components/BKJComboBoxAsync/index.d.ts +1 -1
- package/lib/components/BKJComboBoxAsync/index.js +1 -1
- package/lib/components/BKJComboBoxAsync/opts.d.ts +6 -6
- package/lib/components/BKJComboBoxAsync/opts.js +482 -482
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts +5 -5
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +11 -11
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +8 -8
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +185 -185
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts +8 -8
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +30 -30
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts +3 -3
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +21 -21
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts +5 -5
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -25
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts +5 -5
- package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +59 -59
- package/lib/components/BKJDialog/BKJDialog.d.ts +3 -3
- package/lib/components/BKJDialog/BKJDialog.js +30 -30
- package/lib/components/BKJDialog/BKJDialog.stories.d.ts +34 -34
- package/lib/components/BKJDialog/BKJDialog.stories.js +42 -42
- package/lib/components/BKJDialog/BKJDialog.styled.d.ts +8 -8
- package/lib/components/BKJDialog/BKJDialog.styled.js +66 -66
- package/lib/components/BKJDialog/BKJDialog.theme.d.ts +2 -2
- package/lib/components/BKJDialog/BKJDialog.theme.js +5 -5
- package/lib/components/BKJDialog/BKJDialog.types.d.ts +18 -18
- package/lib/components/BKJDialog/BKJDialog.types.js +1 -1
- package/lib/components/BKJDialog/index.d.ts +1 -1
- package/lib/components/BKJDialog/index.js +1 -1
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.d.ts +3 -3
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.js +36 -36
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.d.ts +37 -37
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.js +51 -51
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.d.ts +13 -13
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.js +36 -36
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.d.ts +14 -14
- package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.js +1 -1
- package/lib/components/BKJDollarTextInput/index.d.ts +2 -2
- package/lib/components/BKJDollarTextInput/index.js +2 -2
- package/lib/components/BKJDropdown/BKJDropdown.d.ts +12 -12
- package/lib/components/BKJDropdown/BKJDropdown.js +71 -71
- package/lib/components/BKJDropdown/BKJDropdown.theme.d.ts +2 -2
- package/lib/components/BKJDropdown/BKJDropdown.theme.js +28 -28
- package/lib/components/BKJDropdown/BKJDropdown.types.d.ts +5 -5
- package/lib/components/BKJDropdown/BKJDropdown.types.js +1 -1
- package/lib/components/BKJDropdown/index.d.ts +1 -1
- package/lib/components/BKJDropdown/index.js +1 -1
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts +6 -6
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js +82 -82
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts +9 -9
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js +15 -15
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.d.ts +1 -1
- package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.js +8 -8
- package/lib/components/BKJDropdownMenu/index.d.ts +1 -1
- package/lib/components/BKJDropdownMenu/index.js +1 -1
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.d.ts +8 -8
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.js +33 -33
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.d.ts +3 -3
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.js +16 -16
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.d.ts +10 -10
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.js +15 -15
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.d.ts +3 -3
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.js +13 -13
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.d.ts +12 -12
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.js +1 -1
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.d.ts +3 -3
- package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.js +27 -27
- package/lib/components/BKJEllipsisMenu/index.d.ts +2 -2
- package/lib/components/BKJEllipsisMenu/index.js +2 -2
- package/lib/components/BKJFileInput/BKJFileInput.d.ts +3 -3
- package/lib/components/BKJFileInput/BKJFileInput.js +26 -26
- package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +14 -14
- package/lib/components/BKJFileInput/BKJFileInput.stories.js +23 -23
- package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +16 -16
- package/lib/components/BKJFileInput/BKJFileInput.styled.js +57 -57
- package/lib/components/BKJFileInput/BKJFileInput.types.d.ts +14 -14
- package/lib/components/BKJFileInput/BKJFileInput.types.js +1 -1
- package/lib/components/BKJFileInput/index.d.ts +1 -1
- package/lib/components/BKJFileInput/index.js +1 -1
- package/lib/components/BKJHorizontalRule/BKJHorizontalRule.d.ts +2 -2
- package/lib/components/BKJHorizontalRule/BKJHorizontalRule.js +8 -8
- package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.d.ts +12 -12
- package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.js +15 -15
- package/lib/components/BKJHorizontalRule/index.d.ts +1 -1
- package/lib/components/BKJHorizontalRule/index.js +1 -1
- package/lib/components/BKJIcon/BKJIcon.d.ts +3 -3
- package/lib/components/BKJIcon/BKJIcon.js +12 -12
- package/lib/components/BKJIcon/BKJIcon.stories.d.ts +34 -34
- package/lib/components/BKJIcon/BKJIcon.stories.js +47 -47
- package/lib/components/BKJIcon/BKJIcon.stories.styled.d.ts +6 -6
- package/lib/components/BKJIcon/BKJIcon.stories.styled.js +31 -31
- package/lib/components/BKJIcon/BKJIcon.types.d.ts +28 -28
- package/lib/components/BKJIcon/BKJIcon.types.js +113 -113
- package/lib/components/BKJIcon/index.d.ts +2 -2
- package/lib/components/BKJIcon/index.js +2 -2
- package/lib/components/BKJIcon/src/avatars/Avatar.d.ts +3 -3
- package/lib/components/BKJIcon/src/avatars/Avatar.js +13 -13
- package/lib/components/BKJIcon/src/avatars/AvatarFill.d.ts +3 -3
- package/lib/components/BKJIcon/src/avatars/AvatarFill.js +12 -12
- package/lib/components/BKJIcon/src/functions/Add.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Add.js +11 -11
- package/lib/components/BKJIcon/src/functions/Delete.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Delete.js +11 -11
- package/lib/components/BKJIcon/src/functions/Download.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Download.js +10 -10
- package/lib/components/BKJIcon/src/functions/Filters.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Filters.js +9 -9
- package/lib/components/BKJIcon/src/functions/HamburgerExpand.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/HamburgerExpand.js +17 -17
- package/lib/components/BKJIcon/src/functions/HamburgerTablet.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/HamburgerTablet.js +9 -9
- package/lib/components/BKJIcon/src/functions/Minus.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Minus.js +12 -12
- package/lib/components/BKJIcon/src/functions/Plus.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Plus.js +9 -9
- package/lib/components/BKJIcon/src/functions/Sort.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Sort.js +9 -9
- package/lib/components/BKJIcon/src/functions/Templates.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Templates.js +9 -9
- package/lib/components/BKJIcon/src/functions/Trash.d.ts +3 -3
- package/lib/components/BKJIcon/src/functions/Trash.js +9 -9
- package/lib/components/BKJIcon/src/general/Client.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Client.js +12 -12
- package/lib/components/BKJIcon/src/general/ClientPreferences.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/ClientPreferences.js +9 -9
- package/lib/components/BKJIcon/src/general/Copy.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Copy.js +9 -9
- package/lib/components/BKJIcon/src/general/DevNotes.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/DevNotes.js +13 -13
- package/lib/components/BKJIcon/src/general/Document.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Document.js +9 -9
- package/lib/components/BKJIcon/src/general/Edit.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Edit.js +9 -9
- package/lib/components/BKJIcon/src/general/Ellipsis.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Ellipsis.js +11 -11
- package/lib/components/BKJIcon/src/general/EllipsisInCircle.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/EllipsisInCircle.js +13 -13
- package/lib/components/BKJIcon/src/general/Eye.d.ts +7 -7
- package/lib/components/BKJIcon/src/general/Eye.js +10 -10
- package/lib/components/BKJIcon/src/general/Group.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Group.js +10 -10
- package/lib/components/BKJIcon/src/general/Info.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Info.js +11 -11
- package/lib/components/BKJIcon/src/general/Location.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Location.js +12 -12
- package/lib/components/BKJIcon/src/general/Location1.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Location1.js +12 -12
- package/lib/components/BKJIcon/src/general/Notes1.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Notes1.js +12 -12
- package/lib/components/BKJIcon/src/general/Paste.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Paste.js +9 -9
- package/lib/components/BKJIcon/src/general/Payment.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Payment.js +10 -10
- package/lib/components/BKJIcon/src/general/PendingSignup.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/PendingSignup.js +12 -12
- package/lib/components/BKJIcon/src/general/Phone.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Phone.js +9 -9
- package/lib/components/BKJIcon/src/general/Position.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Position.js +10 -10
- package/lib/components/BKJIcon/src/general/Reply.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Reply.js +9 -9
- package/lib/components/BKJIcon/src/general/RoomType.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/RoomType.js +12 -12
- package/lib/components/BKJIcon/src/general/Search.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Search.js +9 -9
- package/lib/components/BKJIcon/src/general/Time.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Time.js +12 -12
- package/lib/components/BKJIcon/src/general/Video.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Video.js +9 -9
- package/lib/components/BKJIcon/src/general/Warning.d.ts +3 -3
- package/lib/components/BKJIcon/src/general/Warning.js +10 -10
- package/lib/components/BKJIcon/src/index.d.ts +98 -98
- package/lib/components/BKJIcon/src/index.js +98 -98
- package/lib/components/BKJIcon/src/indicators/Checkmark.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Checkmark.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Dedicated.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Dedicated.js +9 -9
- package/lib/components/BKJIcon/src/indicators/DefaultOutline.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/DefaultOutline.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Error.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Error.js +11 -11
- package/lib/components/BKJIcon/src/indicators/ErrorDot.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/ErrorDot.js +9 -9
- package/lib/components/BKJIcon/src/indicators/ErrorLarge.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/ErrorLarge.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Locked.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Locked.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Pause.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Pause.js +12 -12
- package/lib/components/BKJIcon/src/indicators/Recurring.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Recurring.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Star.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Star.js +9 -9
- package/lib/components/BKJIcon/src/indicators/StepCheck.d.ts +4 -4
- package/lib/components/BKJIcon/src/indicators/StepCheck.js +11 -11
- package/lib/components/BKJIcon/src/indicators/StepcountNumber.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/StepcountNumber.js +11 -11
- package/lib/components/BKJIcon/src/indicators/SuccessDot.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/SuccessDot.js +9 -9
- package/lib/components/BKJIcon/src/indicators/Warning.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/Warning.js +11 -11
- package/lib/components/BKJIcon/src/indicators/WarningDot.d.ts +3 -3
- package/lib/components/BKJIcon/src/indicators/WarningDot.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ArrowDown.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ArrowDown.js +10 -10
- package/lib/components/BKJIcon/src/navigation/ArrowLeft.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ArrowLeft.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ArrowRight.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ArrowRight.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ArrowUp.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ArrowUp.js +9 -9
- package/lib/components/BKJIcon/src/navigation/BackArrow.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/BackArrow.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.js +10 -10
- package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.js +10 -10
- package/lib/components/BKJIcon/src/navigation/ChevronDown.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronDown.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ChevronLeft.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronLeft.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.js +18 -18
- package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.js +11 -11
- package/lib/components/BKJIcon/src/navigation/ChevronRight.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronRight.js +9 -9
- package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.js +18 -18
- package/lib/components/BKJIcon/src/navigation/ChevronUp.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/ChevronUp.js +9 -9
- package/lib/components/BKJIcon/src/navigation/CloseBold.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/CloseBold.js +9 -9
- package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.js +9 -9
- package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.js +10 -10
- package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.js +10 -10
- package/lib/components/BKJIcon/src/navigation/MouseIndicator.d.ts +3 -3
- package/lib/components/BKJIcon/src/navigation/MouseIndicator.js +11 -11
- package/lib/components/BKJIcon/src/shifts/Client.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Client.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Date.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Date.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Deal.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Deal.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Location.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Location.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Notes.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Notes.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Price.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Price.js +12 -12
- package/lib/components/BKJIcon/src/shifts/Quantity.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Quantity.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Tasks.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Tasks.js +10 -10
- package/lib/components/BKJIcon/src/shifts/Time.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/Time.js +10 -10
- package/lib/components/BKJIcon/src/shifts/TrainingOutline.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/TrainingOutline.js +10 -10
- package/lib/components/BKJIcon/src/shifts/UnpaidBreak.d.ts +3 -3
- package/lib/components/BKJIcon/src/shifts/UnpaidBreak.js +10 -10
- package/lib/components/BKJIcon/src/sidenav/AgencyMembers.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/AgencyMembers.js +15 -15
- package/lib/components/BKJIcon/src/sidenav/Analytics.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Analytics.js +10 -10
- package/lib/components/BKJIcon/src/sidenav/Clients.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Clients.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/Communications.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Communications.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/Dashboard.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Dashboard.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/Explore.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Explore.js +11 -11
- package/lib/components/BKJIcon/src/sidenav/Logout.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Logout.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/NewBooking.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/NewBooking.js +10 -10
- package/lib/components/BKJIcon/src/sidenav/Question.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Question.js +10 -10
- package/lib/components/BKJIcon/src/sidenav/Schedule.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Schedule.js +12 -12
- package/lib/components/BKJIcon/src/sidenav/Settings.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Settings.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/Shifts.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Shifts.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/TeamMembers.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/TeamMembers.js +9 -9
- package/lib/components/BKJIcon/src/sidenav/Timesheets.d.ts +3 -3
- package/lib/components/BKJIcon/src/sidenav/Timesheets.js +9 -9
- package/lib/components/BKJIconTooltip/BKJIconTooltip.d.ts +3 -3
- package/lib/components/BKJIconTooltip/BKJIconTooltip.js +7 -7
- package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.d.ts +25 -25
- package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.js +39 -39
- package/lib/components/BKJIconTooltip/BKJIconTooltip.types.d.ts +8 -8
- package/lib/components/BKJIconTooltip/BKJIconTooltip.types.js +1 -1
- package/lib/components/BKJIconTooltip/index.d.ts +1 -1
- package/lib/components/BKJIconTooltip/index.js +1 -1
- package/lib/components/BKJImage/BKJImage.d.ts +3 -3
- package/lib/components/BKJImage/BKJImage.js +18 -18
- package/lib/components/BKJImage/BKJImage.styled.d.ts +10 -10
- package/lib/components/BKJImage/BKJImage.styled.js +29 -29
- package/lib/components/BKJImage/BKJImage.types.d.ts +10 -10
- package/lib/components/BKJImage/BKJImage.types.js +1 -1
- package/lib/components/BKJImage/index.d.ts +1 -1
- package/lib/components/BKJImage/index.js +1 -1
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.d.ts +4 -4
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.js +100 -100
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.d.ts +3 -3
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.js +50 -50
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.d.ts +38 -38
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.js +116 -116
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.d.ts +85 -85
- package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.js +10 -10
- package/lib/components/BKJInteractiveMap/index.d.ts +1 -1
- package/lib/components/BKJInteractiveMap/index.js +1 -1
- package/lib/components/BKJListItem/BKJListItem.d.ts +3 -3
- package/lib/components/BKJListItem/BKJListItem.js +17 -17
- package/lib/components/BKJListItem/BKJListItem.stories.d.ts +9 -9
- package/lib/components/BKJListItem/BKJListItem.stories.js +8 -8
- package/lib/components/BKJListItem/BKJListItem.styled.d.ts +3 -3
- package/lib/components/BKJListItem/BKJListItem.styled.js +54 -54
- package/lib/components/BKJListItem/BKJListItem.theme.d.ts +2 -2
- package/lib/components/BKJListItem/BKJListItem.theme.js +46 -46
- package/lib/components/BKJListItem/BKJListItem.types.d.ts +57 -57
- package/lib/components/BKJListItem/BKJListItem.types.js +1 -1
- package/lib/components/BKJListItem/index.d.ts +2 -2
- package/lib/components/BKJListItem/index.js +2 -2
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.d.ts +3 -3
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.js +9 -9
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.d.ts +18 -18
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.js +19 -19
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.d.ts +1 -1
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.js +6 -6
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.d.ts +2 -2
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.js +14 -14
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.d.ts +14 -14
- package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.js +1 -1
- package/lib/components/BKJLoadingSpinner/index.d.ts +2 -2
- package/lib/components/BKJLoadingSpinner/index.js +2 -2
- package/lib/components/BKJLogo/BKJLogo.d.ts +3 -3
- package/lib/components/BKJLogo/BKJLogo.js +7 -7
- package/lib/components/BKJLogo/BKJLogo.stories.d.ts +31 -31
- package/lib/components/BKJLogo/BKJLogo.stories.js +34 -34
- package/lib/components/BKJLogo/BKJLogo.types.d.ts +10 -10
- package/lib/components/BKJLogo/BKJLogo.types.js +6 -6
- package/lib/components/BKJLogo/index.d.ts +2 -2
- package/lib/components/BKJLogo/index.js +2 -2
- package/lib/components/BKJLogo/src/Agency.d.ts +3 -3
- package/lib/components/BKJLogo/src/Agency.js +10 -10
- package/lib/components/BKJLogo/src/General.d.ts +3 -3
- package/lib/components/BKJLogo/src/General.js +9 -9
- package/lib/components/BKJLogo/src/Premium.d.ts +3 -3
- package/lib/components/BKJLogo/src/Premium.js +10 -10
- package/lib/components/BKJLogo/src/index.d.ts +4 -4
- package/lib/components/BKJLogo/src/index.js +4 -4
- package/lib/components/BKJMenu/BKJMenu.d.ts +3 -3
- package/lib/components/BKJMenu/BKJMenu.js +19 -19
- package/lib/components/BKJMenu/BKJMenu.stories.d.ts +20 -20
- package/lib/components/BKJMenu/BKJMenu.stories.js +30 -30
- package/lib/components/BKJMenu/BKJMenu.styled.d.ts +6 -6
- package/lib/components/BKJMenu/BKJMenu.styled.js +44 -44
- package/lib/components/BKJMenu/BKJMenu.types.d.ts +10 -10
- package/lib/components/BKJMenu/BKJMenu.types.js +1 -1
- package/lib/components/BKJMenu/index.d.ts +2 -2
- package/lib/components/BKJMenu/index.js +2 -2
- package/lib/components/BKJMenuItem/BKJMenuItem.d.ts +3 -3
- package/lib/components/BKJMenuItem/BKJMenuItem.js +5 -5
- package/lib/components/BKJMenuItem/BKJMenuItem.stories.d.ts +9 -9
- package/lib/components/BKJMenuItem/BKJMenuItem.stories.js +14 -14
- package/lib/components/BKJMenuItem/BKJMenuItem.styled.d.ts +3 -3
- package/lib/components/BKJMenuItem/BKJMenuItem.styled.js +44 -44
- package/lib/components/BKJMenuItem/BKJMenuItem.types.d.ts +7 -7
- package/lib/components/BKJMenuItem/BKJMenuItem.types.js +1 -1
- package/lib/components/BKJMenuItem/index.d.ts +2 -2
- package/lib/components/BKJMenuItem/index.js +2 -2
- package/lib/components/BKJPagination/BKJPagination.d.ts +3 -3
- package/lib/components/BKJPagination/BKJPagination.js +10 -10
- package/lib/components/BKJPagination/BKJPagination.stories.d.ts +16 -16
- package/lib/components/BKJPagination/BKJPagination.stories.js +21 -21
- package/lib/components/BKJPagination/BKJPagination.styled.d.ts +6 -6
- package/lib/components/BKJPagination/BKJPagination.styled.js +47 -47
- package/lib/components/BKJPagination/BKJPagination.types.d.ts +9 -9
- package/lib/components/BKJPagination/BKJPagination.types.js +1 -1
- package/lib/components/BKJPagination/index.d.ts +2 -2
- package/lib/components/BKJPagination/index.js +2 -2
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +3 -3
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js +20 -20
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +34 -34
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js +48 -48
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.d.ts +13 -13
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.js +35 -35
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.d.ts +13 -13
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.js +1 -1
- package/lib/components/BKJPhoneNumberInput/index.d.ts +2 -2
- package/lib/components/BKJPhoneNumberInput/index.js +2 -2
- package/lib/components/BKJPillDropdown/BKJPillDropdown.context.d.ts +4 -4
- package/lib/components/BKJPillDropdown/BKJPillDropdown.context.js +74 -74
- package/lib/components/BKJPillDropdown/BKJPillDropdown.d.ts +3 -3
- package/lib/components/BKJPillDropdown/BKJPillDropdown.js +28 -28
- package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts +35 -35
- package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js +71 -71
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +17 -17
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +91 -91
- package/lib/components/BKJPillDropdown/BKJPillDropdown.types.d.ts +47 -47
- package/lib/components/BKJPillDropdown/BKJPillDropdown.types.js +1 -1
- package/lib/components/BKJPillDropdown/index.d.ts +1 -1
- package/lib/components/BKJPillDropdown/index.js +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts +4 -4
- package/lib/components/BKJPillSelect/BKJPillSelect.context.js +74 -74
- package/lib/components/BKJPillSelect/BKJPillSelect.d.ts +3 -3
- package/lib/components/BKJPillSelect/BKJPillSelect.js +35 -35
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +35 -35
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +76 -76
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +16 -16
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +80 -80
- package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +47 -47
- package/lib/components/BKJPillSelect/BKJPillSelect.types.js +1 -1
- package/lib/components/BKJPillSelect/index.d.ts +1 -1
- package/lib/components/BKJPillSelect/index.js +1 -1
- package/lib/components/BKJPillTextArea/BKJPillTextArea.context.d.ts +4 -4
- package/lib/components/BKJPillTextArea/BKJPillTextArea.context.js +195 -195
- package/lib/components/BKJPillTextArea/BKJPillTextArea.d.ts +3 -3
- package/lib/components/BKJPillTextArea/BKJPillTextArea.js +37 -37
- package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.d.ts +35 -35
- package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.js +74 -74
- package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.d.ts +18 -18
- package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.js +69 -69
- package/lib/components/BKJPillTextArea/BKJPillTextArea.types.d.ts +51 -51
- package/lib/components/BKJPillTextArea/BKJPillTextArea.types.js +1 -1
- package/lib/components/BKJPillTextArea/index.d.ts +1 -1
- package/lib/components/BKJPillTextArea/index.js +1 -1
- package/lib/components/BKJSelect/BKJSelect.constants.d.ts +1 -1
- package/lib/components/BKJSelect/BKJSelect.constants.js +1 -1
- package/lib/components/BKJSelect/BKJSelect.d.ts +7 -7
- package/lib/components/BKJSelect/BKJSelect.js +171 -171
- package/lib/components/BKJSelect/BKJSelect.stories.d.ts +10 -10
- package/lib/components/BKJSelect/BKJSelect.stories.js +125 -125
- package/lib/components/BKJSelect/BKJSelect.styled.d.ts +25 -25
- package/lib/components/BKJSelect/BKJSelect.styled.js +95 -95
- package/lib/components/BKJSelect/BKJSelect.theme.d.ts +2 -2
- package/lib/components/BKJSelect/BKJSelect.theme.js +232 -232
- package/lib/components/BKJSelect/BKJSelect.types.d.ts +134 -134
- package/lib/components/BKJSelect/BKJSelect.types.js +1 -1
- package/lib/components/BKJSelect/BKJSelect.utils.d.ts +26 -26
- package/lib/components/BKJSelect/BKJSelect.utils.js +40 -40
- package/lib/components/BKJSelect/index.d.ts +2 -2
- package/lib/components/BKJSelect/index.js +2 -2
- package/lib/components/BKJSelect/utils/deepEquals.d.ts +1 -1
- package/lib/components/BKJSelect/utils/deepEquals.js +2 -2
- package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.d.ts +2 -2
- package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.js +1 -1
- package/lib/components/BKJSelect/utils/mergeRefs.d.ts +1 -1
- package/lib/components/BKJSelect/utils/mergeRefs.js +12 -12
- package/lib/components/BKJSelectSearch/BKJSelectSearch.d.ts +9 -9
- package/lib/components/BKJSelectSearch/BKJSelectSearch.js +7 -7
- package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.d.ts +3 -3
- package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.js +38 -38
- package/lib/components/BKJSelectSearch/BKJSelectSearchControls.d.ts +9 -9
- package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js +22 -22
- package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.d.ts +3 -3
- package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.js +35 -35
- package/lib/components/BKJSelectSearch/index.d.ts +2 -2
- package/lib/components/BKJSelectSearch/index.js +2 -2
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.d.ts +5 -5
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.js +3 -3
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.d.ts +9 -9
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.js +12 -12
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.d.ts +2 -2
- package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.js +12 -12
- package/lib/components/BKJTableMainHeader/index.d.ts +2 -2
- package/lib/components/BKJTableMainHeader/index.js +2 -2
- package/lib/components/BKJTextArea/BKJTextArea.d.ts +3 -3
- package/lib/components/BKJTextArea/BKJTextArea.js +19 -19
- package/lib/components/BKJTextArea/BKJTextArea.stories.d.ts +37 -37
- package/lib/components/BKJTextArea/BKJTextArea.stories.js +43 -43
- package/lib/components/BKJTextArea/BKJTextArea.styled.d.ts +12 -12
- package/lib/components/BKJTextArea/BKJTextArea.styled.js +38 -38
- package/lib/components/BKJTextArea/BKJTextArea.types.d.ts +14 -14
- package/lib/components/BKJTextArea/BKJTextArea.types.js +1 -1
- package/lib/components/BKJTextArea/index.d.ts +2 -2
- package/lib/components/BKJTextArea/index.js +2 -2
- package/lib/components/BKJTextInput/BKJTextInput.css.styled.d.ts +1 -1
- package/lib/components/BKJTextInput/BKJTextInput.css.styled.js +21 -21
- package/lib/components/BKJTextInput/BKJTextInput.d.ts +3 -3
- package/lib/components/BKJTextInput/BKJTextInput.js +82 -82
- package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +73 -73
- package/lib/components/BKJTextInput/BKJTextInput.stories.js +123 -123
- package/lib/components/BKJTextInput/BKJTextInput.styled.d.ts +14 -14
- package/lib/components/BKJTextInput/BKJTextInput.styled.js +71 -71
- package/lib/components/BKJTextInput/BKJTextInput.theme.d.ts +9 -9
- package/lib/components/BKJTextInput/BKJTextInput.theme.js +44 -44
- package/lib/components/BKJTextInput/BKJTextInput.types.d.ts +86 -86
- package/lib/components/BKJTextInput/BKJTextInput.types.js +1 -1
- package/lib/components/BKJTextInput/BKJTextInput.utils.d.ts +2 -2
- package/lib/components/BKJTextInput/BKJTextInput.utils.js +124 -124
- package/lib/components/BKJTextInput/index.d.ts +1 -1
- package/lib/components/BKJTextInput/index.js +1 -1
- package/lib/components/BKJToastMessage/BKJToastContainer.d.ts +2 -2
- package/lib/components/BKJToastMessage/BKJToastContainer.js +4 -4
- package/lib/components/BKJToastMessage/BKJToastMessage.d.ts +3 -3
- package/lib/components/BKJToastMessage/BKJToastMessage.js +13 -13
- package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts +27 -27
- package/lib/components/BKJToastMessage/BKJToastMessage.stories.js +35 -35
- package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts +15 -15
- package/lib/components/BKJToastMessage/BKJToastMessage.styled.js +117 -117
- package/lib/components/BKJToastMessage/BKJToastMessage.theme.d.ts +2 -2
- package/lib/components/BKJToastMessage/BKJToastMessage.theme.js +12 -12
- package/lib/components/BKJToastMessage/BKJToastMessage.types.d.ts +12 -12
- package/lib/components/BKJToastMessage/BKJToastMessage.types.js +1 -1
- package/lib/components/BKJToastMessage/BKJToastMessage.utils.d.ts +6 -6
- package/lib/components/BKJToastMessage/BKJToastMessage.utils.js +16 -16
- package/lib/components/BKJToastMessage/ToastErrorIcon.d.ts +3 -3
- package/lib/components/BKJToastMessage/ToastErrorIcon.js +11 -11
- package/lib/components/BKJToastMessage/ToastSuccessIcon.d.ts +3 -3
- package/lib/components/BKJToastMessage/ToastSuccessIcon.js +6 -6
- package/lib/components/BKJToastMessage/ToastWarnIcon.d.ts +3 -3
- package/lib/components/BKJToastMessage/ToastWarnIcon.js +7 -7
- package/lib/components/BKJToastMessage/index.d.ts +2 -2
- package/lib/components/BKJToastMessage/index.js +2 -2
- package/lib/components/BKJToggleInput/BKJToggleInput.constants.d.ts +3 -3
- package/lib/components/BKJToggleInput/BKJToggleInput.constants.js +58 -58
- package/lib/components/BKJToggleInput/BKJToggleInput.d.ts +3 -3
- package/lib/components/BKJToggleInput/BKJToggleInput.js +6 -6
- package/lib/components/BKJToggleInput/BKJToggleInput.stories.d.ts +58 -58
- package/lib/components/BKJToggleInput/BKJToggleInput.stories.js +74 -74
- package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +22 -22
- package/lib/components/BKJToggleInput/BKJToggleInput.styled.js +101 -101
- package/lib/components/BKJToggleInput/BKJToggleInput.theme.d.ts +2 -2
- package/lib/components/BKJToggleInput/BKJToggleInput.theme.js +8 -8
- package/lib/components/BKJToggleInput/BKJToggleInput.types.d.ts +22 -22
- package/lib/components/BKJToggleInput/BKJToggleInput.types.js +1 -1
- package/lib/components/BKJToggleInput/index.d.ts +2 -2
- package/lib/components/BKJToggleInput/index.js +2 -2
- package/lib/components/BKJTooltipWrapper/BKJTooltip.d.ts +6 -6
- package/lib/components/BKJTooltipWrapper/BKJTooltip.js +32 -32
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.d.ts +4 -4
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.js +21 -21
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.d.ts +3 -3
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.js +15 -15
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.d.ts +18 -18
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.js +31 -31
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.d.ts +10 -10
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.js +57 -57
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.d.ts +12 -12
- package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.js +1 -1
- package/lib/components/BKJTooltipWrapper/index.d.ts +1 -1
- package/lib/components/BKJTooltipWrapper/index.js +1 -1
- package/lib/components/BKJTypography/BKJTypography.d.ts +3 -3
- package/lib/components/BKJTypography/BKJTypography.js +6 -6
- package/lib/components/BKJTypography/BKJTypography.stories.d.ts +23 -23
- package/lib/components/BKJTypography/BKJTypography.stories.js +37 -37
- package/lib/components/BKJTypography/BKJTypography.styled.d.ts +10 -10
- package/lib/components/BKJTypography/BKJTypography.styled.js +24 -24
- package/lib/components/BKJTypography/BKJTypography.theme.d.ts +2 -2
- package/lib/components/BKJTypography/BKJTypography.theme.js +58 -58
- package/lib/components/BKJTypography/BKJTypography.types.d.ts +25 -25
- package/lib/components/BKJTypography/BKJTypography.types.js +1 -1
- package/lib/components/BKJTypography/index.d.ts +2 -2
- package/lib/components/BKJTypography/index.js +2 -2
- package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +26 -26
- package/lib/components/ErrorBoundary/ErrorBoundary.js +25 -25
- package/lib/components/ErrorBoundary/index.d.ts +1 -1
- package/lib/components/ErrorBoundary/index.js +1 -1
- package/lib/components/Flex/Flex.d.ts +3 -3
- package/lib/components/Flex/Flex.js +7 -7
- package/lib/components/Flex/Flex.styled.d.ts +2 -2
- package/lib/components/Flex/Flex.styled.js +228 -228
- package/lib/components/Flex/Flex.types.d.ts +76 -76
- package/lib/components/Flex/Flex.types.js +1 -1
- package/lib/components/Flex/index.d.ts +2 -2
- package/lib/components/Flex/index.js +2 -2
- package/lib/components/GenericErrorMessage/GenericErrorMessage.d.ts +14 -14
- package/lib/components/GenericErrorMessage/GenericErrorMessage.js +26 -26
- package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.d.ts +14 -14
- package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.js +139 -139
- package/lib/components/GenericErrorMessage/index.d.ts +1 -1
- package/lib/components/GenericErrorMessage/index.js +1 -1
- package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.d.ts +7 -7
- package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.js +11 -11
- package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.d.ts +1 -1
- package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.js +2 -2
- package/lib/components/InfiniteScrollLoading/index.d.ts +1 -1
- package/lib/components/InfiniteScrollLoading/index.js +1 -1
- package/lib/components/Portal/Portal.d.ts +9 -9
- package/lib/components/Portal/Portal.js +27 -27
- package/lib/components/Portal/Portal.types.d.ts +3 -3
- package/lib/components/Portal/Portal.types.js +1 -1
- package/lib/components/common/InputBaseCSS/index.d.ts +11 -11
- package/lib/components/common/InputBaseCSS/index.js +82 -82
- package/lib/components/common/ListItemBaseCSS/index.d.ts +4 -4
- package/lib/components/common/ListItemBaseCSS/index.js +75 -75
- package/lib/components/common/index.d.ts +1 -1
- package/lib/components/common/index.js +1 -1
- package/lib/components/index.d.ts +43 -43
- package/lib/components/index.js +43 -43
- package/lib/hooks/index.d.ts +5 -5
- package/lib/hooks/index.js +5 -5
- package/lib/hooks/useClickOutside.d.ts +1 -1
- package/lib/hooks/useClickOutside.js +20 -20
- package/lib/hooks/useDebouncedCallback/index.d.ts +1 -1
- package/lib/hooks/useDebouncedCallback/index.js +1 -1
- package/lib/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +2 -2
- package/lib/hooks/useDebouncedCallback/useDebouncedCallback.js +9 -9
- package/lib/hooks/useDimensionsRef/index.d.ts +1 -1
- package/lib/hooks/useDimensionsRef/index.js +1 -1
- package/lib/hooks/useDimensionsRef/useDimensionRef.types.d.ts +8 -8
- package/lib/hooks/useDimensionsRef/useDimensionRef.types.js +1 -1
- package/lib/hooks/useDimensionsRef/useDimensionsRef.d.ts +2 -2
- package/lib/hooks/useDimensionsRef/useDimensionsRef.js +26 -26
- package/lib/hooks/useFormBehaviors/index.d.ts +2 -2
- package/lib/hooks/useFormBehaviors/index.js +2 -2
- package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.d.ts +1 -1
- package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.js +1 -1
- package/lib/hooks/useFormBehaviors/useFormBehaviors.d.ts +6 -6
- package/lib/hooks/useFormBehaviors/useFormBehaviors.js +198 -198
- package/lib/hooks/useFormBehaviors/useFormBehaviors.types.d.ts +45 -45
- package/lib/hooks/useFormBehaviors/useFormBehaviors.types.js +8 -8
- package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.d.ts +5 -5
- package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.js +19 -19
- package/lib/hooks/useIntersectionObserver/index.d.ts +1 -1
- package/lib/hooks/useIntersectionObserver/index.js +1 -1
- package/lib/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +2 -2
- package/lib/hooks/useIntersectionObserver/useIntersectionObserver.js +26 -26
- package/lib/hooks/useMouseOutside.d.ts +1 -1
- package/lib/hooks/useMouseOutside.js +20 -20
- package/lib/hooks/usePersistentState/index.d.ts +1 -1
- package/lib/hooks/usePersistentState/index.js +1 -1
- package/lib/hooks/usePersistentState/usePersistentState.d.ts +2 -2
- package/lib/hooks/usePersistentState/usePersistentState.js +29 -29
- package/lib/hooks/usePortalTargetElement.d.ts +2 -2
- package/lib/hooks/usePortalTargetElement.js +14 -14
- package/lib/hooks/useScrollIntoView.d.ts +2 -2
- package/lib/hooks/useScrollIntoView.js +9 -9
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/providers/BKJThemeProvider/BKJColors.d.ts +55 -42
- package/lib/providers/BKJThemeProvider/BKJColors.d.ts.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJColors.js +55 -42
- package/lib/providers/BKJThemeProvider/BKJColors.js.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.d.ts +3 -3
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.js +6 -6
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts +2 -2
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +148 -148
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts +10 -10
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js +219 -206
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts +221 -195
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.js +9 -9
- package/lib/providers/BKJThemeProvider/index.d.ts +3 -3
- package/lib/providers/BKJThemeProvider/index.js +3 -3
- package/lib/providers/index.d.ts +1 -1
- package/lib/providers/index.js +1 -1
- package/lib/utils/deepEquals.d.ts +1 -1
- package/lib/utils/deepEquals.js +2 -2
- package/lib/utils/findValueByKey.d.ts +1 -1
- package/lib/utils/findValueByKey.js +8 -8
- package/lib/utils/isEmpty.d.ts +1 -1
- package/lib/utils/isEmpty.js +8 -8
- package/lib/utils/maskFloat.d.ts +1 -1
- package/lib/utils/maskFloat.js +8 -8
- package/lib/utils/serialize.d.ts +2 -2
- package/lib/utils/serialize.js +2 -2
- package/lib/utils/withMemo.d.ts +1 -1
- package/lib/utils/withMemo.js +5 -5
- package/package.json +191 -191
package/README.md
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
# Bookjane Design Library
|
|
2
|
-
|
|
3
|
-
## Scripts
|
|
4
|
-
|
|
5
|
-
- To run storybook, use this command `npm start`
|
|
6
|
-
- To only run a build use this command `npm run build`
|
|
7
|
-
- To build and link locally use this command `npm run build:link`
|
|
8
|
-
|
|
9
|
-
## Commit Message Format
|
|
10
|
-
|
|
11
|
-
This library uses semantic-release to automatically increment versions when merging development -> main.
|
|
12
|
-
|
|
13
|
-
See the below table to understand which commit messages will increment patch, minor or major version number.
|
|
14
|
-
|
|
15
|
-
You should still include the ticket number somewhere into your commit message (WEB-XXX) so that work can be tracked
|
|
16
|
-
on JIRA.
|
|
17
|
-
|
|
18
|
-
Commit messages to trigger semantic-release:
|
|
19
|
-
| Release Type | Commit Message |
|
|
20
|
-
| ------------------------- | ----------------------------------------------------------------------------- |
|
|
21
|
-
| Patch Release | fix(pencil): stop graphite breaking when too much pressure applied |
|
|
22
|
-
| Minor/Feature Release | feat(pencil): add 'graphiteWidth' option |
|
|
23
|
-
| Breaking Release | Commit subject line <br> BREAKING CHANGE: The graphiteWidth option has been removed. <br> The default graphite width of 10mm is always used for performance reasons. |
|
|
24
|
-
|
|
25
|
-
Example commit messages:
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
"fix(WEB-XXX): fixed this bug"
|
|
29
|
-
"feat(WEB-XXX): created new component"
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
The commit messages will be displayed in the release on github.
|
|
33
|
-
They will be grouped into the version of the 'most major' release type and shown something like this:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
2.3.0 (2021-04-13)
|
|
37
|
-
|
|
38
|
-
Bug Fixes
|
|
39
|
-
- WEB-XXX: fixed this bug (56dc877)
|
|
40
|
-
Features
|
|
41
|
-
- WEB-XXX: created new component (7145565)
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Release version is incremented automatically so people can continue to work and push changes without worrying about handling versions.
|
|
45
|
-
Other repo's using bookjane-design-library can reference exact version numbers referring to the library at a point in time.
|
|
46
|
-
|
|
47
|
-
---
|
|
1
|
+
# Bookjane Design Library
|
|
2
|
+
|
|
3
|
+
## Scripts
|
|
4
|
+
|
|
5
|
+
- To run storybook, use this command `npm start`
|
|
6
|
+
- To only run a build use this command `npm run build`
|
|
7
|
+
- To build and link locally use this command `npm run build:link`
|
|
8
|
+
|
|
9
|
+
## Commit Message Format
|
|
10
|
+
|
|
11
|
+
This library uses semantic-release to automatically increment versions when merging development -> main.
|
|
12
|
+
|
|
13
|
+
See the below table to understand which commit messages will increment patch, minor or major version number.
|
|
14
|
+
|
|
15
|
+
You should still include the ticket number somewhere into your commit message (WEB-XXX) so that work can be tracked
|
|
16
|
+
on JIRA.
|
|
17
|
+
|
|
18
|
+
Commit messages to trigger semantic-release:
|
|
19
|
+
| Release Type | Commit Message |
|
|
20
|
+
| ------------------------- | ----------------------------------------------------------------------------- |
|
|
21
|
+
| Patch Release | fix(pencil): stop graphite breaking when too much pressure applied |
|
|
22
|
+
| Minor/Feature Release | feat(pencil): add 'graphiteWidth' option |
|
|
23
|
+
| Breaking Release | Commit subject line <br> BREAKING CHANGE: The graphiteWidth option has been removed. <br> The default graphite width of 10mm is always used for performance reasons. |
|
|
24
|
+
|
|
25
|
+
Example commit messages:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
"fix(WEB-XXX): fixed this bug"
|
|
29
|
+
"feat(WEB-XXX): created new component"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The commit messages will be displayed in the release on github.
|
|
33
|
+
They will be grouped into the version of the 'most major' release type and shown something like this:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
2.3.0 (2021-04-13)
|
|
37
|
+
|
|
38
|
+
Bug Fixes
|
|
39
|
+
- WEB-XXX: fixed this bug (56dc877)
|
|
40
|
+
Features
|
|
41
|
+
- WEB-XXX: created new component (7145565)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Release version is incremented automatically so people can continue to work and push changes without worrying about handling versions.
|
|
45
|
+
Other repo's using bookjane-design-library can reference exact version numbers referring to the library at a point in time.
|
|
46
|
+
|
|
47
|
+
---
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare function SadJaneIcon(props: React.SVGProps<SVGSVGElement> | any): JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare function SadJaneIcon(props: React.SVGProps<SVGSVGElement> | any): JSX.Element;
|
|
3
3
|
//# sourceMappingURL=SadJaneIcon.d.ts.map
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
const StyledSVG = styled.svg `
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
box-sizing: content-box;
|
|
6
|
-
${({ size, direction }) => {
|
|
7
|
-
if (direction === 'row') {
|
|
8
|
-
switch (size) {
|
|
9
|
-
case 'Small':
|
|
10
|
-
return css `
|
|
11
|
-
width: auto;
|
|
12
|
-
height: 25px;
|
|
13
|
-
margin-right: 4px;
|
|
14
|
-
`;
|
|
15
|
-
case 'Medium':
|
|
16
|
-
return css `
|
|
17
|
-
width: auto;
|
|
18
|
-
height: 40px;
|
|
19
|
-
margin-right: 3px;
|
|
20
|
-
`;
|
|
21
|
-
case 'Large':
|
|
22
|
-
default:
|
|
23
|
-
return css `
|
|
24
|
-
width: auto;
|
|
25
|
-
height: 70px;
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
else if (direction === 'column') {
|
|
30
|
-
switch (size) {
|
|
31
|
-
case 'Small':
|
|
32
|
-
return css `
|
|
33
|
-
width: auto;
|
|
34
|
-
padding: 5px 20px 8px;
|
|
35
|
-
height: 45px;
|
|
36
|
-
`;
|
|
37
|
-
case 'Medium':
|
|
38
|
-
return css `
|
|
39
|
-
width: auto;
|
|
40
|
-
padding: 5px 20px 8px;
|
|
41
|
-
height: 60px;
|
|
42
|
-
`;
|
|
43
|
-
case 'Large':
|
|
44
|
-
default:
|
|
45
|
-
return css `
|
|
46
|
-
width: auto;
|
|
47
|
-
padding: 15px 25px 15px;
|
|
48
|
-
height: 80px;
|
|
49
|
-
`;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return '';
|
|
53
|
-
}};
|
|
54
|
-
`;
|
|
55
|
-
export function SadJaneIcon(props) {
|
|
56
|
-
return (_jsxs(StyledSVG, Object.assign({ width: 80, height: 80, viewBox: "0 0 80 80", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("path", { d: "M63.935 15.667a24.758 24.758 0 00-4.341-5.874C55.003 5.493 50.568 3 39.862 3c-11.422 0-16.013 4.176-19.28 7.167C15.524 14.747 10 27.01 10 42.045c0 13.695 1.198 22.56 3.781 27.92 1.759 4.456 6.194 7.26 10.971 6.903a48.758 48.758 0 006.91-.717c2.77-.499 5.57-.78 8.371-.857 2.755.062 5.493.327 8.2.779 2.257.39 4.545.623 6.832.685 4.778.359 9.244-2.399 11.064-6.84 2.63-5.36 3.86-14.193 3.86-27.889a55.582 55.582 0 00-6.054-26.362z", fill: "#4E4785" }, void 0),
|
|
57
|
-
_jsx("path", { d: "M39.953 68.422c-2.427 0-7.593-2.633-12.417-7.556-3.16-3.225-8.45-9.66-8.45-18.105 0-8.444 1.292-12.854 7.75-16.188 6.457-3.334 7.375-6.575 8.06-6.575.685 0 5.182 5.329 10.146 9.052 4.964 3.724 10.053 5.282 14.908 6.793.264.094.435.982.591 1.995.187 1.651.28 3.303.28 4.97 0 14.07-15.763 25.614-20.867 25.614z", fill: "#fff" }, void 0),
|
|
58
|
-
_jsx("path", { d: "M36.96 59.434c.637 0 1.96-.328 2.956-.328s2.319.328 2.957.328c1.213 0 1.711-.437 1.851-.826.125-.39 0-1.028-.824-1.854a8.459 8.459 0 00-3.968-1.496 8.521 8.521 0 00-3.969 1.496c-.855.763-.933 1.386-.809 1.854.11.452.591.826 1.805.826zM29.156 44.135c1.307 0 2.583-.124 3.812-.53 1.23-.405 1.868-1.526 1.54-2.695-.326-1.168-1.524-1.87-2.691-1.542-.872.28-1.712.53-2.677.53a9.42 9.42 0 01-2.676-.39c-1.167-.327-2.381.374-2.708 1.542-.327 1.169.405 2.493 1.54 2.711 1.152.203 2.553.374 3.86.374zM50.819 44.135c-1.307 0-2.583-.125-3.813-.53-1.229-.405-1.867-1.527-1.54-2.695.327-1.169 1.525-1.87 2.692-1.543.871.28 1.712.53 2.676.53a9.42 9.42 0 002.677-.39c1.167-.327 2.38.374 2.708 1.543.326 1.168-.405 2.493-1.541 2.71a21.61 21.61 0 01-3.86.375z", fill: "#4E4785" }, void 0)] }), void 0));
|
|
59
|
-
}
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled, { css } from 'styled-components';
|
|
3
|
+
const StyledSVG = styled.svg `
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
box-sizing: content-box;
|
|
6
|
+
${({ size, direction }) => {
|
|
7
|
+
if (direction === 'row') {
|
|
8
|
+
switch (size) {
|
|
9
|
+
case 'Small':
|
|
10
|
+
return css `
|
|
11
|
+
width: auto;
|
|
12
|
+
height: 25px;
|
|
13
|
+
margin-right: 4px;
|
|
14
|
+
`;
|
|
15
|
+
case 'Medium':
|
|
16
|
+
return css `
|
|
17
|
+
width: auto;
|
|
18
|
+
height: 40px;
|
|
19
|
+
margin-right: 3px;
|
|
20
|
+
`;
|
|
21
|
+
case 'Large':
|
|
22
|
+
default:
|
|
23
|
+
return css `
|
|
24
|
+
width: auto;
|
|
25
|
+
height: 70px;
|
|
26
|
+
`;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
else if (direction === 'column') {
|
|
30
|
+
switch (size) {
|
|
31
|
+
case 'Small':
|
|
32
|
+
return css `
|
|
33
|
+
width: auto;
|
|
34
|
+
padding: 5px 20px 8px;
|
|
35
|
+
height: 45px;
|
|
36
|
+
`;
|
|
37
|
+
case 'Medium':
|
|
38
|
+
return css `
|
|
39
|
+
width: auto;
|
|
40
|
+
padding: 5px 20px 8px;
|
|
41
|
+
height: 60px;
|
|
42
|
+
`;
|
|
43
|
+
case 'Large':
|
|
44
|
+
default:
|
|
45
|
+
return css `
|
|
46
|
+
width: auto;
|
|
47
|
+
padding: 15px 25px 15px;
|
|
48
|
+
height: 80px;
|
|
49
|
+
`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return '';
|
|
53
|
+
}};
|
|
54
|
+
`;
|
|
55
|
+
export function SadJaneIcon(props) {
|
|
56
|
+
return (_jsxs(StyledSVG, Object.assign({ width: 80, height: 80, viewBox: "0 0 80 80", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("path", { d: "M63.935 15.667a24.758 24.758 0 00-4.341-5.874C55.003 5.493 50.568 3 39.862 3c-11.422 0-16.013 4.176-19.28 7.167C15.524 14.747 10 27.01 10 42.045c0 13.695 1.198 22.56 3.781 27.92 1.759 4.456 6.194 7.26 10.971 6.903a48.758 48.758 0 006.91-.717c2.77-.499 5.57-.78 8.371-.857 2.755.062 5.493.327 8.2.779 2.257.39 4.545.623 6.832.685 4.778.359 9.244-2.399 11.064-6.84 2.63-5.36 3.86-14.193 3.86-27.889a55.582 55.582 0 00-6.054-26.362z", fill: "#4E4785" }, void 0),
|
|
57
|
+
_jsx("path", { d: "M39.953 68.422c-2.427 0-7.593-2.633-12.417-7.556-3.16-3.225-8.45-9.66-8.45-18.105 0-8.444 1.292-12.854 7.75-16.188 6.457-3.334 7.375-6.575 8.06-6.575.685 0 5.182 5.329 10.146 9.052 4.964 3.724 10.053 5.282 14.908 6.793.264.094.435.982.591 1.995.187 1.651.28 3.303.28 4.97 0 14.07-15.763 25.614-20.867 25.614z", fill: "#fff" }, void 0),
|
|
58
|
+
_jsx("path", { d: "M36.96 59.434c.637 0 1.96-.328 2.956-.328s2.319.328 2.957.328c1.213 0 1.711-.437 1.851-.826.125-.39 0-1.028-.824-1.854a8.459 8.459 0 00-3.968-1.496 8.521 8.521 0 00-3.969 1.496c-.855.763-.933 1.386-.809 1.854.11.452.591.826 1.805.826zM29.156 44.135c1.307 0 2.583-.124 3.812-.53 1.23-.405 1.868-1.526 1.54-2.695-.326-1.168-1.524-1.87-2.691-1.542-.872.28-1.712.53-2.677.53a9.42 9.42 0 01-2.676-.39c-1.167-.327-2.381.374-2.708 1.542-.327 1.169.405 2.493 1.54 2.711 1.152.203 2.553.374 3.86.374zM50.819 44.135c-1.307 0-2.583-.125-3.813-.53-1.229-.405-1.867-1.527-1.54-2.695.327-1.169 1.525-1.87 2.692-1.543.871.28 1.712.53 2.676.53a9.42 9.42 0 002.677-.39c1.167-.327 2.38.374 2.708 1.543.326 1.168-.405 2.493-1.541 2.71a21.61 21.61 0 01-3.86.375z", fill: "#4E4785" }, void 0)] }), void 0));
|
|
59
|
+
}
|
|
60
60
|
//# sourceMappingURL=SadJaneIcon.js.map
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
|
|
4
|
-
const StyledSVG = styled.svg<{ size: 'Small' | 'Medium' | 'Large' }>`
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
box-sizing: content-box;
|
|
7
|
-
${({ size, direction }) => {
|
|
8
|
-
if (direction === 'row') {
|
|
9
|
-
switch (size) {
|
|
10
|
-
case 'Small':
|
|
11
|
-
return css`
|
|
12
|
-
width: auto;
|
|
13
|
-
height: 25px;
|
|
14
|
-
margin-right: 4px;
|
|
15
|
-
`;
|
|
16
|
-
case 'Medium':
|
|
17
|
-
return css`
|
|
18
|
-
width: auto;
|
|
19
|
-
height: 40px;
|
|
20
|
-
margin-right: 3px;
|
|
21
|
-
`;
|
|
22
|
-
case 'Large':
|
|
23
|
-
default:
|
|
24
|
-
return css`
|
|
25
|
-
width: auto;
|
|
26
|
-
height: 70px;
|
|
27
|
-
`;
|
|
28
|
-
}
|
|
29
|
-
} else if (direction === 'column') {
|
|
30
|
-
switch (size) {
|
|
31
|
-
case 'Small':
|
|
32
|
-
return css`
|
|
33
|
-
width: auto;
|
|
34
|
-
padding: 5px 20px 8px;
|
|
35
|
-
height: 45px;
|
|
36
|
-
`;
|
|
37
|
-
case 'Medium':
|
|
38
|
-
return css`
|
|
39
|
-
width: auto;
|
|
40
|
-
padding: 5px 20px 8px;
|
|
41
|
-
height: 60px;
|
|
42
|
-
`;
|
|
43
|
-
case 'Large':
|
|
44
|
-
default:
|
|
45
|
-
return css`
|
|
46
|
-
width: auto;
|
|
47
|
-
padding: 15px 25px 15px;
|
|
48
|
-
height: 80px;
|
|
49
|
-
`;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return '';
|
|
53
|
-
}};
|
|
54
|
-
`;
|
|
55
|
-
|
|
56
|
-
export function SadJaneIcon(props: React.SVGProps<SVGSVGElement> | any) {
|
|
57
|
-
return (
|
|
58
|
-
<StyledSVG
|
|
59
|
-
width={80}
|
|
60
|
-
height={80}
|
|
61
|
-
viewBox="0 0 80 80"
|
|
62
|
-
fill="none"
|
|
63
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
64
|
-
{...props}
|
|
65
|
-
>
|
|
66
|
-
<path
|
|
67
|
-
d="M63.935 15.667a24.758 24.758 0 00-4.341-5.874C55.003 5.493 50.568 3 39.862 3c-11.422 0-16.013 4.176-19.28 7.167C15.524 14.747 10 27.01 10 42.045c0 13.695 1.198 22.56 3.781 27.92 1.759 4.456 6.194 7.26 10.971 6.903a48.758 48.758 0 006.91-.717c2.77-.499 5.57-.78 8.371-.857 2.755.062 5.493.327 8.2.779 2.257.39 4.545.623 6.832.685 4.778.359 9.244-2.399 11.064-6.84 2.63-5.36 3.86-14.193 3.86-27.889a55.582 55.582 0 00-6.054-26.362z"
|
|
68
|
-
fill="#4E4785"
|
|
69
|
-
/>
|
|
70
|
-
<path
|
|
71
|
-
d="M39.953 68.422c-2.427 0-7.593-2.633-12.417-7.556-3.16-3.225-8.45-9.66-8.45-18.105 0-8.444 1.292-12.854 7.75-16.188 6.457-3.334 7.375-6.575 8.06-6.575.685 0 5.182 5.329 10.146 9.052 4.964 3.724 10.053 5.282 14.908 6.793.264.094.435.982.591 1.995.187 1.651.28 3.303.28 4.97 0 14.07-15.763 25.614-20.867 25.614z"
|
|
72
|
-
fill="#fff"
|
|
73
|
-
/>
|
|
74
|
-
<path
|
|
75
|
-
d="M36.96 59.434c.637 0 1.96-.328 2.956-.328s2.319.328 2.957.328c1.213 0 1.711-.437 1.851-.826.125-.39 0-1.028-.824-1.854a8.459 8.459 0 00-3.968-1.496 8.521 8.521 0 00-3.969 1.496c-.855.763-.933 1.386-.809 1.854.11.452.591.826 1.805.826zM29.156 44.135c1.307 0 2.583-.124 3.812-.53 1.23-.405 1.868-1.526 1.54-2.695-.326-1.168-1.524-1.87-2.691-1.542-.872.28-1.712.53-2.677.53a9.42 9.42 0 01-2.676-.39c-1.167-.327-2.381.374-2.708 1.542-.327 1.169.405 2.493 1.54 2.711 1.152.203 2.553.374 3.86.374zM50.819 44.135c-1.307 0-2.583-.125-3.813-.53-1.229-.405-1.867-1.527-1.54-2.695.327-1.169 1.525-1.87 2.692-1.543.871.28 1.712.53 2.676.53a9.42 9.42 0 002.677-.39c1.167-.327 2.38.374 2.708 1.543.326 1.168-.405 2.493-1.541 2.71a21.61 21.61 0 01-3.86.375z"
|
|
76
|
-
fill="#4E4785"
|
|
77
|
-
/>
|
|
78
|
-
</StyledSVG>
|
|
79
|
-
);
|
|
80
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import styled, { css } from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const StyledSVG = styled.svg<{ size: 'Small' | 'Medium' | 'Large' }>`
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
box-sizing: content-box;
|
|
7
|
+
${({ size, direction }) => {
|
|
8
|
+
if (direction === 'row') {
|
|
9
|
+
switch (size) {
|
|
10
|
+
case 'Small':
|
|
11
|
+
return css`
|
|
12
|
+
width: auto;
|
|
13
|
+
height: 25px;
|
|
14
|
+
margin-right: 4px;
|
|
15
|
+
`;
|
|
16
|
+
case 'Medium':
|
|
17
|
+
return css`
|
|
18
|
+
width: auto;
|
|
19
|
+
height: 40px;
|
|
20
|
+
margin-right: 3px;
|
|
21
|
+
`;
|
|
22
|
+
case 'Large':
|
|
23
|
+
default:
|
|
24
|
+
return css`
|
|
25
|
+
width: auto;
|
|
26
|
+
height: 70px;
|
|
27
|
+
`;
|
|
28
|
+
}
|
|
29
|
+
} else if (direction === 'column') {
|
|
30
|
+
switch (size) {
|
|
31
|
+
case 'Small':
|
|
32
|
+
return css`
|
|
33
|
+
width: auto;
|
|
34
|
+
padding: 5px 20px 8px;
|
|
35
|
+
height: 45px;
|
|
36
|
+
`;
|
|
37
|
+
case 'Medium':
|
|
38
|
+
return css`
|
|
39
|
+
width: auto;
|
|
40
|
+
padding: 5px 20px 8px;
|
|
41
|
+
height: 60px;
|
|
42
|
+
`;
|
|
43
|
+
case 'Large':
|
|
44
|
+
default:
|
|
45
|
+
return css`
|
|
46
|
+
width: auto;
|
|
47
|
+
padding: 15px 25px 15px;
|
|
48
|
+
height: 80px;
|
|
49
|
+
`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return '';
|
|
53
|
+
}};
|
|
54
|
+
`;
|
|
55
|
+
|
|
56
|
+
export function SadJaneIcon(props: React.SVGProps<SVGSVGElement> | any) {
|
|
57
|
+
return (
|
|
58
|
+
<StyledSVG
|
|
59
|
+
width={80}
|
|
60
|
+
height={80}
|
|
61
|
+
viewBox="0 0 80 80"
|
|
62
|
+
fill="none"
|
|
63
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
64
|
+
{...props}
|
|
65
|
+
>
|
|
66
|
+
<path
|
|
67
|
+
d="M63.935 15.667a24.758 24.758 0 00-4.341-5.874C55.003 5.493 50.568 3 39.862 3c-11.422 0-16.013 4.176-19.28 7.167C15.524 14.747 10 27.01 10 42.045c0 13.695 1.198 22.56 3.781 27.92 1.759 4.456 6.194 7.26 10.971 6.903a48.758 48.758 0 006.91-.717c2.77-.499 5.57-.78 8.371-.857 2.755.062 5.493.327 8.2.779 2.257.39 4.545.623 6.832.685 4.778.359 9.244-2.399 11.064-6.84 2.63-5.36 3.86-14.193 3.86-27.889a55.582 55.582 0 00-6.054-26.362z"
|
|
68
|
+
fill="#4E4785"
|
|
69
|
+
/>
|
|
70
|
+
<path
|
|
71
|
+
d="M39.953 68.422c-2.427 0-7.593-2.633-12.417-7.556-3.16-3.225-8.45-9.66-8.45-18.105 0-8.444 1.292-12.854 7.75-16.188 6.457-3.334 7.375-6.575 8.06-6.575.685 0 5.182 5.329 10.146 9.052 4.964 3.724 10.053 5.282 14.908 6.793.264.094.435.982.591 1.995.187 1.651.28 3.303.28 4.97 0 14.07-15.763 25.614-20.867 25.614z"
|
|
72
|
+
fill="#fff"
|
|
73
|
+
/>
|
|
74
|
+
<path
|
|
75
|
+
d="M36.96 59.434c.637 0 1.96-.328 2.956-.328s2.319.328 2.957.328c1.213 0 1.711-.437 1.851-.826.125-.39 0-1.028-.824-1.854a8.459 8.459 0 00-3.968-1.496 8.521 8.521 0 00-3.969 1.496c-.855.763-.933 1.386-.809 1.854.11.452.591.826 1.805.826zM29.156 44.135c1.307 0 2.583-.124 3.812-.53 1.23-.405 1.868-1.526 1.54-2.695-.326-1.168-1.524-1.87-2.691-1.542-.872.28-1.712.53-2.677.53a9.42 9.42 0 01-2.676-.39c-1.167-.327-2.381.374-2.708 1.542-.327 1.169.405 2.493 1.54 2.711 1.152.203 2.553.374 3.86.374zM50.819 44.135c-1.307 0-2.583-.125-3.813-.53-1.229-.405-1.867-1.527-1.54-2.695.327-1.169 1.525-1.87 2.692-1.543.871.28 1.712.53 2.676.53a9.42 9.42 0 002.677-.39c1.167-.327 2.38.374 2.708 1.543.326 1.168-.405 2.493-1.541 2.71a21.61 21.61 0 01-3.86.375z"
|
|
76
|
+
fill="#4E4785"
|
|
77
|
+
/>
|
|
78
|
+
</StyledSVG>
|
|
79
|
+
);
|
|
80
|
+
}
|
package/lib/common.types.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
export declare type FormValidationErrorMessageType = string | string[] | boolean;
|
|
2
|
-
export declare type BKJTextInputValueType = string;
|
|
3
|
-
export declare type BKJSelectInputValueType = {
|
|
4
|
-
name?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type ChangeFunctionType = (event: ChangeEventType | ChangeEventType[], opts?: any | undefined) => void;
|
|
9
|
-
export declare function isBKJChangeEventType(event: ChangeEventType): event is ChangeEventType;
|
|
10
|
-
export declare type ChangeEventType = {
|
|
11
|
-
target: EventTarget;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
} & Record<string, any> & any;
|
|
14
|
-
export declare type EventTarget = {
|
|
15
|
-
name: any;
|
|
16
|
-
value: any;
|
|
17
|
-
label?: string;
|
|
18
|
-
checked?: boolean;
|
|
19
|
-
dataset?: Record<string, any>;
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
} & Record<string, any> & any;
|
|
22
|
-
export declare function isArray(value?: any): value is any[];
|
|
23
|
-
export declare function isNumber(arg: unknown): arg is number;
|
|
24
|
-
export declare function isString(value?: any): value is string;
|
|
25
|
-
export declare function isBoolean(value?: any): value is boolean;
|
|
26
|
-
export declare function isFormValidationErrorDisplayed(error?: FormValidationErrorMessageType): boolean;
|
|
27
|
-
export declare type RenderingStateType = 'LOADING' | 'ERROR' | 'READY';
|
|
28
|
-
export declare type GQLAPIContextType<T = any> = {
|
|
29
|
-
data: T;
|
|
30
|
-
fetch: (arg?: any) => void;
|
|
31
|
-
values: Record<string, any>;
|
|
32
|
-
status: RenderingStateType;
|
|
33
|
-
loadMore: Function;
|
|
34
|
-
Context?: any;
|
|
35
|
-
Provider?: any;
|
|
36
|
-
__typename: 'GraphQLAPI';
|
|
37
|
-
};
|
|
38
|
-
export interface IBKJChangeEvent<TName = unknown, TValue = unknown> {
|
|
39
|
-
target: {
|
|
40
|
-
name: TName;
|
|
41
|
-
value: TValue;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
1
|
+
export declare type FormValidationErrorMessageType = string | string[] | boolean;
|
|
2
|
+
export declare type BKJTextInputValueType = string;
|
|
3
|
+
export declare type BKJSelectInputValueType = {
|
|
4
|
+
name?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare type ChangeFunctionType = (event: ChangeEventType | ChangeEventType[], opts?: any | undefined) => void;
|
|
9
|
+
export declare function isBKJChangeEventType(event: ChangeEventType): event is ChangeEventType;
|
|
10
|
+
export declare type ChangeEventType = {
|
|
11
|
+
target: EventTarget;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
} & Record<string, any> & any;
|
|
14
|
+
export declare type EventTarget = {
|
|
15
|
+
name: any;
|
|
16
|
+
value: any;
|
|
17
|
+
label?: string;
|
|
18
|
+
checked?: boolean;
|
|
19
|
+
dataset?: Record<string, any>;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
} & Record<string, any> & any;
|
|
22
|
+
export declare function isArray(value?: any): value is any[];
|
|
23
|
+
export declare function isNumber(arg: unknown): arg is number;
|
|
24
|
+
export declare function isString(value?: any): value is string;
|
|
25
|
+
export declare function isBoolean(value?: any): value is boolean;
|
|
26
|
+
export declare function isFormValidationErrorDisplayed(error?: FormValidationErrorMessageType): boolean;
|
|
27
|
+
export declare type RenderingStateType = 'LOADING' | 'ERROR' | 'READY';
|
|
28
|
+
export declare type GQLAPIContextType<T = any> = {
|
|
29
|
+
data: T;
|
|
30
|
+
fetch: (arg?: any) => void;
|
|
31
|
+
values: Record<string, any>;
|
|
32
|
+
status: RenderingStateType;
|
|
33
|
+
loadMore: Function;
|
|
34
|
+
Context?: any;
|
|
35
|
+
Provider?: any;
|
|
36
|
+
__typename: 'GraphQLAPI';
|
|
37
|
+
};
|
|
38
|
+
export interface IBKJChangeEvent<TName = unknown, TValue = unknown> {
|
|
39
|
+
target: {
|
|
40
|
+
name: TName;
|
|
41
|
+
value: TValue;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
44
|
//# sourceMappingURL=common.types.d.ts.map
|
package/lib/common.types.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export function isBKJChangeEventType(event) {
|
|
2
|
-
if (typeof event !== 'undefined' &&
|
|
3
|
-
typeof event.target !== 'undefined' &&
|
|
4
|
-
typeof event.target.name !== 'undefined' &&
|
|
5
|
-
typeof event.target.value !== 'undefined')
|
|
6
|
-
return true;
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
export function isArray(value) {
|
|
10
|
-
return Array.isArray(value);
|
|
11
|
-
}
|
|
12
|
-
export function isNumber(arg) {
|
|
13
|
-
return typeof arg === 'number' && Number.isInteger(arg);
|
|
14
|
-
}
|
|
15
|
-
export function isString(value) {
|
|
16
|
-
return typeof value === 'string';
|
|
17
|
-
}
|
|
18
|
-
export function isBoolean(value) {
|
|
19
|
-
return typeof value === 'boolean';
|
|
20
|
-
}
|
|
21
|
-
export function isFormValidationErrorDisplayed(error) {
|
|
22
|
-
if (isArray(error) && error.length === 0)
|
|
23
|
-
return false;
|
|
24
|
-
if (isArray(error) && error.length >= 1 && error.every((msg) => isString(msg) && msg !== ''))
|
|
25
|
-
return true;
|
|
26
|
-
if (isBoolean(error))
|
|
27
|
-
return error;
|
|
28
|
-
if (isString(error) && error !== '')
|
|
29
|
-
return true;
|
|
30
|
-
if (isString(error) && error === '')
|
|
31
|
-
return false;
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
1
|
+
export function isBKJChangeEventType(event) {
|
|
2
|
+
if (typeof event !== 'undefined' &&
|
|
3
|
+
typeof event.target !== 'undefined' &&
|
|
4
|
+
typeof event.target.name !== 'undefined' &&
|
|
5
|
+
typeof event.target.value !== 'undefined')
|
|
6
|
+
return true;
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
export function isArray(value) {
|
|
10
|
+
return Array.isArray(value);
|
|
11
|
+
}
|
|
12
|
+
export function isNumber(arg) {
|
|
13
|
+
return typeof arg === 'number' && Number.isInteger(arg);
|
|
14
|
+
}
|
|
15
|
+
export function isString(value) {
|
|
16
|
+
return typeof value === 'string';
|
|
17
|
+
}
|
|
18
|
+
export function isBoolean(value) {
|
|
19
|
+
return typeof value === 'boolean';
|
|
20
|
+
}
|
|
21
|
+
export function isFormValidationErrorDisplayed(error) {
|
|
22
|
+
if (isArray(error) && error.length === 0)
|
|
23
|
+
return false;
|
|
24
|
+
if (isArray(error) && error.length >= 1 && error.every((msg) => isString(msg) && msg !== ''))
|
|
25
|
+
return true;
|
|
26
|
+
if (isBoolean(error))
|
|
27
|
+
return error;
|
|
28
|
+
if (isString(error) && error !== '')
|
|
29
|
+
return true;
|
|
30
|
+
if (isString(error) && error === '')
|
|
31
|
+
return false;
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
34
|
//# sourceMappingURL=common.types.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { GQLAPIContextType } from '../../common.types.js';
|
|
3
|
-
import { IBKJAddressInputProps } from './BKJAddressInput.types.js';
|
|
4
|
-
export declare const BKJAddressInputDataContext: GQLAPIContextType<{
|
|
5
|
-
pageInfo: {
|
|
6
|
-
hasNextPage: boolean;
|
|
7
|
-
};
|
|
8
|
-
}>;
|
|
9
|
-
export declare const BKJAddressInputDataProvider: FC<IBKJAddressInputProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { GQLAPIContextType } from '../../common.types.js';
|
|
3
|
+
import { IBKJAddressInputProps } from './BKJAddressInput.types.js';
|
|
4
|
+
export declare const BKJAddressInputDataContext: GQLAPIContextType<{
|
|
5
|
+
pageInfo: {
|
|
6
|
+
hasNextPage: boolean;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
export declare const BKJAddressInputDataProvider: FC<IBKJAddressInputProps>;
|
|
10
10
|
//# sourceMappingURL=BKJAddressInput.context.d.ts.map
|