@bikdotai/bik-component-library 0.0.744-beta.15 → 0.0.744-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/cjs/components/QueryBuilder/helpers/MetaCustomProcessor.d.ts +1 -1
  2. package/dist/cjs/components/bik-layout/MockMenus.d.ts +1 -0
  3. package/dist/cjs/components/feature-announcements/FeatureAnnouncementProvider.js +1 -1
  4. package/dist/cjs/components/feature-announcements/MajorUpdatePopup.js +1 -1
  5. package/dist/cjs/components/feature-announcements/constants/dimensions.d.ts +99 -25
  6. package/dist/cjs/components/feature-announcements/constants/dimensions.js +1 -1
  7. package/dist/cjs/components/feature-announcements/styles/joyride.styles.d.ts +2 -2
  8. package/dist/cjs/components/feature-announcements/styles/majorPopup.styles.d.ts +18 -2
  9. package/dist/cjs/components/feature-announcements/styles/majorPopup.styles.js +1 -1
  10. package/dist/cjs/components/feature-announcements/types/feature.types.d.ts +31 -0
  11. package/dist/cjs/components/feature-announcements/types/props.types.d.ts +25 -3
  12. package/dist/cjs/index.d.ts +0 -4
  13. package/dist/cjs/index.js +1 -1
  14. package/dist/esm/components/QueryBuilder/helpers/MetaCustomProcessor.d.ts +1 -1
  15. package/dist/esm/components/bik-layout/MockMenus.d.ts +1 -0
  16. package/dist/esm/components/feature-announcements/FeatureAnnouncementProvider.js +1 -1
  17. package/dist/esm/components/feature-announcements/MajorUpdatePopup.js +1 -1
  18. package/dist/esm/components/feature-announcements/constants/dimensions.d.ts +99 -25
  19. package/dist/esm/components/feature-announcements/constants/dimensions.js +1 -1
  20. package/dist/esm/components/feature-announcements/styles/joyride.styles.d.ts +2 -2
  21. package/dist/esm/components/feature-announcements/styles/majorPopup.styles.d.ts +18 -2
  22. package/dist/esm/components/feature-announcements/styles/majorPopup.styles.js +1 -1
  23. package/dist/esm/components/feature-announcements/types/feature.types.d.ts +31 -0
  24. package/dist/esm/components/feature-announcements/types/props.types.d.ts +25 -3
  25. package/dist/esm/index.d.ts +0 -4
  26. package/dist/esm/index.js +1 -1
  27. package/package.json +1 -1
  28. package/dist/cjs/assets/icons/ActiveChecklistIcon.d.ts +0 -3
  29. package/dist/cjs/assets/icons/ActiveChecklistIcon.js +0 -1
  30. package/dist/cjs/assets/icons/CheckIndicatorIcon.d.ts +0 -1
  31. package/dist/cjs/assets/icons/CheckIndicatorIcon.js +0 -1
  32. package/dist/cjs/assets/icons/CompletedChecklistIcon.d.ts +0 -3
  33. package/dist/cjs/assets/icons/CompletedChecklistIcon.js +0 -1
  34. package/dist/cjs/assets/icons/CustomiseIcon.d.ts +0 -7
  35. package/dist/cjs/assets/icons/EnableIcon.d.ts +0 -7
  36. package/dist/cjs/assets/icons/GoLiveIcon.d.ts +0 -7
  37. package/dist/cjs/assets/icons/InactiveChecklistIcon.d.ts +0 -3
  38. package/dist/cjs/assets/icons/InactiveChecklistIcon.js +0 -1
  39. package/dist/cjs/assets/icons/NudgesIcon.d.ts +0 -7
  40. package/dist/cjs/assets/icons/OrderTrackingIcon.d.ts +0 -7
  41. package/dist/cjs/assets/icons/ProgressBadgeIcon.d.ts +0 -3
  42. package/dist/cjs/assets/icons/ShoppingIcon.d.ts +0 -7
  43. package/dist/cjs/assets/icons/SmallCheckIcon.d.ts +0 -3
  44. package/dist/cjs/assets/icons/SmallCheckIcon.js +0 -1
  45. package/dist/cjs/assets/icons/SupportIcon.d.ts +0 -7
  46. package/dist/cjs/assets/icons/TrainingIcon.d.ts +0 -7
  47. package/dist/cjs/components/BikGiftedChat/Bubble/Bubble.d.ts +0 -5
  48. package/dist/cjs/components/BikGiftedChat/Bubble/Bubble.js +0 -1
  49. package/dist/cjs/components/BikGiftedChat/Bubble/types.d.ts +0 -25
  50. package/dist/cjs/components/BikGiftedChat/GiftedChat/Day.d.ts +0 -15
  51. package/dist/cjs/components/BikGiftedChat/GiftedChat/Day.js +0 -1
  52. package/dist/cjs/components/BikGiftedChat/GiftedChat/GiftedChat.d.ts +0 -5
  53. package/dist/cjs/components/BikGiftedChat/GiftedChat/GiftedChat.js +0 -1
  54. package/dist/cjs/components/BikGiftedChat/GiftedChat/messageHelpers.d.ts +0 -6
  55. package/dist/cjs/components/BikGiftedChat/GiftedChat/messageHelpers.js +0 -1
  56. package/dist/cjs/components/BikGiftedChat/GiftedChat/scrollHooks.d.ts +0 -10
  57. package/dist/cjs/components/BikGiftedChat/GiftedChat/scrollHooks.js +0 -1
  58. package/dist/cjs/components/BikGiftedChat/GiftedChat/types.d.ts +0 -153
  59. package/dist/cjs/components/BikGiftedChat/GiftedChat/types.js +0 -1
  60. package/dist/cjs/components/BikGiftedChat/GiftedChat/utils.d.ts +0 -22
  61. package/dist/cjs/components/BikGiftedChat/GiftedChat/utils.js +0 -1
  62. package/dist/cjs/components/BikGiftedChat/index.d.ts +0 -5
  63. package/dist/cjs/components/BikGiftedChat/types.d.ts +0 -24
  64. package/dist/cjs/components/ProgressChecklist/MultiChecklistItem.d.ts +0 -10
  65. package/dist/cjs/components/ProgressChecklist/MultiChecklistItem.js +0 -1
  66. package/dist/cjs/components/ProgressChecklist/ProgressChecklist.d.ts +0 -70
  67. package/dist/cjs/components/ProgressChecklist/ProgressChecklist.js +0 -1
  68. package/dist/cjs/components/ProgressChecklist/ProgressChecklist.style.d.ts +0 -30
  69. package/dist/cjs/components/ProgressChecklist/ProgressChecklist.style.js +0 -133
  70. package/dist/cjs/components/ProgressChecklist/ProgressStepper.d.ts +0 -15
  71. package/dist/cjs/components/ProgressChecklist/ProgressStepper.js +0 -1
  72. package/dist/cjs/components/ProgressChecklist/SimpleChecklistItem.d.ts +0 -19
  73. package/dist/cjs/components/ProgressChecklist/SimpleChecklistItem.js +0 -1
  74. package/dist/cjs/components/ProgressChecklist/index.d.ts +0 -2
  75. package/dist/cjs/components/post-live-checklist/PostLiveChecklist.d.ts +0 -23
  76. package/dist/cjs/components/post-live-checklist/PostLiveChecklist.js +0 -1
  77. package/dist/cjs/components/post-live-checklist/PostLiveChecklist.stories.d.ts +0 -12
  78. package/dist/cjs/components/post-live-checklist/index.d.ts +0 -2
  79. package/dist/cjs/components/post-live-checklist-item/PostLiveChecklistItem.d.ts +0 -10
  80. package/dist/cjs/components/post-live-checklist-item/PostLiveChecklistItem.js +0 -1
  81. package/dist/cjs/components/post-live-checklist-item/index.d.ts +0 -1
  82. package/dist/cjs/hooks/useWindowSize.d.ts +0 -2
  83. package/dist/cjs/hooks/useWindowSize.js +0 -1
  84. package/dist/esm/assets/icons/ActiveChecklistIcon.d.ts +0 -3
  85. package/dist/esm/assets/icons/ActiveChecklistIcon.js +0 -1
  86. package/dist/esm/assets/icons/CheckIndicatorIcon.d.ts +0 -1
  87. package/dist/esm/assets/icons/CheckIndicatorIcon.js +0 -1
  88. package/dist/esm/assets/icons/CompletedChecklistIcon.d.ts +0 -3
  89. package/dist/esm/assets/icons/CompletedChecklistIcon.js +0 -1
  90. package/dist/esm/assets/icons/CustomiseIcon.d.ts +0 -7
  91. package/dist/esm/assets/icons/EnableIcon.d.ts +0 -7
  92. package/dist/esm/assets/icons/GoLiveIcon.d.ts +0 -7
  93. package/dist/esm/assets/icons/InactiveChecklistIcon.d.ts +0 -3
  94. package/dist/esm/assets/icons/InactiveChecklistIcon.js +0 -1
  95. package/dist/esm/assets/icons/NudgesIcon.d.ts +0 -7
  96. package/dist/esm/assets/icons/OrderTrackingIcon.d.ts +0 -7
  97. package/dist/esm/assets/icons/ProgressBadgeIcon.d.ts +0 -3
  98. package/dist/esm/assets/icons/ShoppingIcon.d.ts +0 -7
  99. package/dist/esm/assets/icons/SmallCheckIcon.d.ts +0 -3
  100. package/dist/esm/assets/icons/SmallCheckIcon.js +0 -1
  101. package/dist/esm/assets/icons/SupportIcon.d.ts +0 -7
  102. package/dist/esm/assets/icons/TrainingIcon.d.ts +0 -7
  103. package/dist/esm/components/BikGiftedChat/Bubble/Bubble.d.ts +0 -5
  104. package/dist/esm/components/BikGiftedChat/Bubble/Bubble.js +0 -1
  105. package/dist/esm/components/BikGiftedChat/Bubble/types.d.ts +0 -25
  106. package/dist/esm/components/BikGiftedChat/GiftedChat/Day.d.ts +0 -15
  107. package/dist/esm/components/BikGiftedChat/GiftedChat/Day.js +0 -1
  108. package/dist/esm/components/BikGiftedChat/GiftedChat/GiftedChat.d.ts +0 -5
  109. package/dist/esm/components/BikGiftedChat/GiftedChat/GiftedChat.js +0 -1
  110. package/dist/esm/components/BikGiftedChat/GiftedChat/messageHelpers.d.ts +0 -6
  111. package/dist/esm/components/BikGiftedChat/GiftedChat/messageHelpers.js +0 -1
  112. package/dist/esm/components/BikGiftedChat/GiftedChat/scrollHooks.d.ts +0 -10
  113. package/dist/esm/components/BikGiftedChat/GiftedChat/scrollHooks.js +0 -1
  114. package/dist/esm/components/BikGiftedChat/GiftedChat/types.d.ts +0 -153
  115. package/dist/esm/components/BikGiftedChat/GiftedChat/types.js +0 -1
  116. package/dist/esm/components/BikGiftedChat/GiftedChat/utils.d.ts +0 -22
  117. package/dist/esm/components/BikGiftedChat/GiftedChat/utils.js +0 -1
  118. package/dist/esm/components/BikGiftedChat/index.d.ts +0 -5
  119. package/dist/esm/components/BikGiftedChat/types.d.ts +0 -24
  120. package/dist/esm/components/ProgressChecklist/MultiChecklistItem.d.ts +0 -10
  121. package/dist/esm/components/ProgressChecklist/MultiChecklistItem.js +0 -1
  122. package/dist/esm/components/ProgressChecklist/ProgressChecklist.d.ts +0 -70
  123. package/dist/esm/components/ProgressChecklist/ProgressChecklist.js +0 -1
  124. package/dist/esm/components/ProgressChecklist/ProgressChecklist.style.d.ts +0 -30
  125. package/dist/esm/components/ProgressChecklist/ProgressChecklist.style.js +0 -133
  126. package/dist/esm/components/ProgressChecklist/ProgressStepper.d.ts +0 -15
  127. package/dist/esm/components/ProgressChecklist/ProgressStepper.js +0 -1
  128. package/dist/esm/components/ProgressChecklist/SimpleChecklistItem.d.ts +0 -19
  129. package/dist/esm/components/ProgressChecklist/SimpleChecklistItem.js +0 -1
  130. package/dist/esm/components/ProgressChecklist/index.d.ts +0 -2
  131. package/dist/esm/components/post-live-checklist/PostLiveChecklist.d.ts +0 -23
  132. package/dist/esm/components/post-live-checklist/PostLiveChecklist.js +0 -1
  133. package/dist/esm/components/post-live-checklist/PostLiveChecklist.stories.d.ts +0 -12
  134. package/dist/esm/components/post-live-checklist/index.d.ts +0 -2
  135. package/dist/esm/components/post-live-checklist-item/PostLiveChecklistItem.d.ts +0 -10
  136. package/dist/esm/components/post-live-checklist-item/PostLiveChecklistItem.js +0 -1
  137. package/dist/esm/components/post-live-checklist-item/index.d.ts +0 -1
  138. package/dist/esm/hooks/useWindowSize.d.ts +0 -2
  139. package/dist/esm/hooks/useWindowSize.js +0 -1
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { ComponentMeta, ComponentStory } from '@storybook/react';
3
- declare const _default: ComponentMeta<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
4
- export default _default;
5
- export declare const Default: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
6
- export declare const WithBothChecklists: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
7
- export declare const SupportFirstOrdering: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
8
- export declare const ListModeSupport: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
9
- export declare const ListModeMarketing: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
10
- export declare const AllCompleted: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
11
- export declare const CustomTitles: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
12
- export declare const WithSomeCompleted: ComponentStory<import("react").FC<import("./PostLiveChecklist").PostLiveChecklistProps>>;
@@ -1,2 +0,0 @@
1
- export { PostLiveChecklist } from './PostLiveChecklist';
2
- export type { PostLiveChecklistProps, ChecklistItem, } from './PostLiveChecklist';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export interface PostLiveChecklistItemProps {
3
- isCompleted: boolean;
4
- header: string;
5
- subHeader?: string;
6
- isOpen?: boolean;
7
- onSetup?: () => void;
8
- image?: string;
9
- }
10
- export declare const PostLiveChecklistItem: React.FC<PostLiveChecklistItemProps>;
@@ -1 +0,0 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{CheckIndicatorIcon as i}from"../../assets/icons/CheckIndicatorIcon.js";import s from"../../assets/icons/chevronDownOutline.svg.js";import n from"../../assets/icons/chevronUpOutline.svg.js";import{useState as r,useEffect as o}from"react";import{Button as c}from"../button/Button.js";import{TitleSmall as l,BodyCaption as d}from"../TypographyStyle.js";import{COLORS as a}from"../../constants/Theme.js";const p=p=>{const{isCompleted:m,header:f,subHeader:g,isOpen:h=!1}=p,{onSetup:u}=p,[y,b]=r(h);return o((()=>{b(h)}),[h]),e("div",Object.assign({style:{backgroundColor:y?a.surface.subdued:a.surface.standard,borderRadius:8}},{children:[e("div",Object.assign({style:{color:a.surface.standard,padding:16,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",cursor:m?"default":"pointer"},onClick:()=>!m&&b(!y)},{children:[t(l,Object.assign({color:y?"#4B1583":a.content.primary},{children:f})),m?t(i,{}):t(y?n:s,{width:24,height:24,color:a.content.secondary})]})),t("div",{children:y&&t("div",Object.assign({style:{display:"flex",flexDirection:"column",gap:"16px"}},{children:e("div",Object.assign({style:{padding:16,paddingTop:0,gap:16,display:"flex",flexDirection:"column"}},{children:[t("div",Object.assign({style:{height:200,backgroundColor:"#EFE6F9",borderRadius:8,overflow:"hidden"}},{children:t("img",{src:p.image,alt:"checklist item",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})),e("div",Object.assign({style:{display:"flex",flexDirection:"row",alignItems:"center",gap:16}},{children:[t("div",Object.assign({style:{flex:2}},{children:t(d,Object.assign({color:a.content.secondary,numberOfLines:3},{children:g}))})),t("div",Object.assign({style:{flex:1,display:"flex",justifyContent:"flex-end"}},{children:t(c,{buttonType:"primary",size:"small",buttonText:"Setup",onClick:()=>{u&&u()}})}))]}))]}))}))})]}))};export{p as PostLiveChecklistItem};
@@ -1 +0,0 @@
1
- export * from './PostLiveChecklistItem';
@@ -1,2 +0,0 @@
1
- export declare const useWindowSize: () => boolean;
2
- export declare const useWindowWidth: () => number;
@@ -1 +0,0 @@
1
- import{useState as n,useEffect as e,useLayoutEffect as o}from"react";const d=()=>{var d;const[i,t]=n("undefined"!=typeof window&&(null===(d=null===window||void 0===window?void 0:window.document)||void 0===d?void 0:d.body.clientWidth)<767||!1);let w;return w="undefined"==typeof window?e:o,w((()=>{function n(){t(window.document.body.clientWidth<767)}return window.addEventListener("resize",n),n(),()=>window.removeEventListener("resize",n)}),[]),i};export{d as useWindowSize};