igloo-d2c-components 1.0.10 → 1.0.12
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 +10 -0
- package/dist/cjs/index.js +525 -101
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +517 -102
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/CheckoutFormButton/CheckoutFormButton.d.ts +39 -0
- package/dist/types/components/CheckoutFormButton/index.d.ts +2 -0
- package/dist/types/components/CheckoutFormButton/styled.d.ts +9 -0
- package/dist/types/components/CheckoutHeader/CheckoutHeader.d.ts +41 -0
- package/dist/types/components/CheckoutHeader/index.d.ts +2 -0
- package/dist/types/components/CheckoutHeader/styled.d.ts +15 -0
- package/dist/types/components/CheckoutProgress/CheckoutProgress.d.ts +35 -0
- package/dist/types/components/CheckoutProgress/index.d.ts +2 -0
- package/dist/types/components/CheckoutProgress/styled.d.ts +16 -0
- package/dist/types/components/ChildInformationForm/ChildInformationForm.d.ts +52 -0
- package/dist/types/components/ChildInformationForm/index.d.ts +2 -0
- package/dist/types/components/ChildInformationForm/styled.d.ts +4 -0
- package/dist/types/components/ContactDetailsForm/ContactDetailsForm.d.ts +63 -0
- package/dist/types/components/ContactDetailsForm/index.d.ts +2 -0
- package/dist/types/components/ContactDetailsForm/styled.d.ts +10 -0
- package/dist/types/components/CoverageAmountSlider/CoverageAmountSlider.d.ts +7 -3
- package/dist/types/components/CoverageAmountSlider/styled.d.ts +9 -0
- package/dist/types/components/HealthInformationForm/HealthInformationForm.d.ts +81 -0
- package/dist/types/components/HealthInformationForm/index.d.ts +2 -0
- package/dist/types/components/HealthInformationForm/styled.d.ts +4 -0
- package/dist/types/components/HealthQuestionGroup/HealthQuestionGroup.d.ts +40 -0
- package/dist/types/components/HealthQuestionGroup/index.d.ts +2 -0
- package/dist/types/components/HealthQuestionGroup/styled.d.ts +20 -0
- package/dist/types/components/PersonalInformationForm/PersonalInformationForm.d.ts +75 -0
- package/dist/types/components/PersonalInformationForm/index.d.ts +2 -0
- package/dist/types/components/PersonalInformationForm/styled.d.ts +10 -0
- package/dist/types/components/ProductCard/ProductCard.d.ts +43 -0
- package/dist/types/components/ProductCard/index.d.ts +2 -0
- package/dist/types/components/ProductCard/styled.d.ts +27 -0
- package/dist/types/index.d.ts +18 -0
- package/dist/types/storybook-components/CheckoutProgress.stories.d.ts +9 -0
- package/dist/types/storybook-components/CoverageAmountSlider.stories.d.ts +1 -1
- package/dist/types/storybook-components/HealthQuestionGroup.stories.d.ts +9 -0
- package/dist/types/storybook-components/ProductCard.stories.d.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,18 +55,28 @@ The D2C Component Library provides reusable, tenant-aware UI components with **c
|
|
|
55
55
|
|
|
56
56
|
### Components
|
|
57
57
|
|
|
58
|
+
#### General Components
|
|
58
59
|
- **Button** - Tenant-themed button component
|
|
59
60
|
- **Card** - Card with tenant accent border
|
|
60
61
|
- **Banner** - Promotional banner with gradients
|
|
61
62
|
- **Header** - Application header with navigation
|
|
62
63
|
- **NewHeader** - Enhanced header with tenant branding
|
|
63
64
|
- **Footer** - Application footer with links
|
|
65
|
+
|
|
66
|
+
#### Interactive Components
|
|
64
67
|
- **RecommendationsDrawer** - Mobile drawer for user recommendations
|
|
65
68
|
- **ProductSelectionDrawer** - Mobile drawer for product selection
|
|
66
69
|
- **QuestionSection** - Interactive question component
|
|
67
70
|
- **OptionButton** - Customizable option button
|
|
68
71
|
- **ToggleGroup** - Toggle button group
|
|
69
72
|
|
|
73
|
+
#### Checkout Components
|
|
74
|
+
- **CheckoutProgress** - Progress bar with step indicator
|
|
75
|
+
- **ProductCard** - Product information card for checkout
|
|
76
|
+
- **CheckoutHeader** - Complete checkout header (progress + product + section)
|
|
77
|
+
- **CheckoutFormButton** - Fixed/floating form button
|
|
78
|
+
- **HealthQuestionGroup** - Health question with Yes/No options
|
|
79
|
+
|
|
70
80
|
### Hooks
|
|
71
81
|
|
|
72
82
|
- `useTenantTheme()` - Access tenant theme and ID
|