@adyen/bento-vue2 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +1 -1
  2. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +16 -3
  3. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +0 -2
  4. package/dist/@types/components/data-grid/data-grid.vue.d.ts +6 -2
  5. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +15 -4
  6. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +14 -4
  7. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +18 -5
  8. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +1 -0
  9. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +11 -1
  10. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +42 -71
  11. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-range-pane.d.ts +2 -0
  12. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-single-pane.d.ts +2 -0
  13. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.types.d.ts +21 -0
  14. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.vue.d.ts +198 -0
  15. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/index.d.ts +1 -0
  16. package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue.d.ts +58 -0
  17. package/dist/@types/components/date-picker/components/date-picker-calendar-range/index.d.ts +1 -0
  18. package/dist/@types/components/date-picker/composables/use-date-picker-range-calendar-text.d.ts +2 -0
  19. package/dist/@types/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +2 -0
  20. package/dist/@types/components/date-picker/date-picker.types.d.ts +15 -0
  21. package/dist/@types/components/date-picker/date-picker.vue.d.ts +55 -14
  22. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +18 -0
  23. package/dist/@types/components/filter-bar/components/date-filter/date-filter.types.d.ts +3 -0
  24. package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +114 -0
  25. package/dist/@types/components/filter-bar/components/date-filter/index.d.ts +1 -0
  26. package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.types.d.ts +3 -0
  27. package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +200 -0
  28. package/dist/@types/components/filter-bar/components/date-range-filter/index.d.ts +1 -0
  29. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +17 -3
  30. package/dist/@types/components/info-icon/info-icon.vue.d.ts +13 -1
  31. package/dist/@types/components/input-field/input-field.vue.d.ts +9 -0
  32. package/dist/@types/components/internal/copy/copy.vue.d.ts +13 -1
  33. package/dist/@types/components/menu/menu.types.d.ts +8 -0
  34. package/dist/@types/components/menu/menu.vue.d.ts +28 -10
  35. package/dist/@types/components/modal/components/base-modal/index.d.ts +1 -0
  36. package/dist/@types/components/payment-method/payment-method.vue.d.ts +12 -0
  37. package/dist/@types/components/popover/popover.vue.d.ts +10 -0
  38. package/dist/@types/components/search-bar/search-bar.vue.d.ts +26 -0
  39. package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +18 -1
  40. package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
  41. package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +1 -1
  42. package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +1 -1
  43. package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +1 -1
  44. package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -1
  45. package/dist/index.js +7590 -7015
  46. package/dist/index.js.map +1 -1
  47. package/dist/web-types.json +363 -125
  48. package/package.json +2 -3
  49. package/dist/@types/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue.d.ts +0 -43
  50. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.types.d.ts +0 -3
  51. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue.d.ts +0 -99
  52. package/dist/@types/components/date-picker/components/date-picker-calendar-container/index.d.ts +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -837,6 +837,15 @@
837
837
  },
838
838
  "default": "false"
839
839
  },
840
+ {
841
+ "name": "controlled",
842
+ "description": "Allows to handle the controls (apply/clear) from outside\nof the component",
843
+ "value": {
844
+ "kind": "expression",
845
+ "type": "boolean"
846
+ },
847
+ "default": "false"
848
+ },
840
849
  {
841
850
  "name": "disableApplyButton",
842
851
  "description": "Disable the \"apply\" button",
@@ -873,6 +882,14 @@
873
882
  "type": "string"
874
883
  }
875
884
  },
885
+ {
886
+ "name": "fitContent",
887
+ "description": "Sets the size of the container to fit its content",
888
+ "value": {
889
+ "kind": "expression",
890
+ "type": "BentoPopover.props.fitContent"
891
+ }
892
+ },
876
893
  {
877
894
  "name": "value",
878
895
  "description": "Current value of the filter",
@@ -1621,6 +1638,52 @@
1621
1638
  "symbol": "default"
1622
1639
  }
1623
1640
  },
1641
+ {
1642
+ "name": "bento-date-filter",
1643
+ "description": "The Date filter displays a calendar that allows\nto select a single date.",
1644
+ "attributes": [
1645
+ {
1646
+ "name": "field",
1647
+ "required": true,
1648
+ "description": "Filter name/key referencing the actual property name in the data set.\nShould be unique per filter bar.",
1649
+ "value": {
1650
+ "kind": "expression",
1651
+ "type": "string"
1652
+ }
1653
+ },
1654
+ {
1655
+ "name": "label",
1656
+ "required": true,
1657
+ "description": "Label text to be displayed",
1658
+ "value": {
1659
+ "kind": "expression",
1660
+ "type": "string"
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "options",
1665
+ "description": "List of options that are needed to setup the filter\nAvailable options:\n - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday\n - isDateDisabled: Indicate if a date should be disabled or not",
1666
+ "value": {
1667
+ "kind": "expression",
1668
+ "type": "BentoDateFilterOptions"
1669
+ },
1670
+ "default": "undefined"
1671
+ },
1672
+ {
1673
+ "name": "value",
1674
+ "description": "Current value of the filter",
1675
+ "value": {
1676
+ "kind": "expression",
1677
+ "type": "BentoDateFilterValue"
1678
+ },
1679
+ "default": "undefined"
1680
+ }
1681
+ ],
1682
+ "source": {
1683
+ "module": "./src/components/filter-bar/components/date-filter/date-filter.vue",
1684
+ "symbol": "default"
1685
+ }
1686
+ },
1624
1687
  {
1625
1688
  "name": "bento-date-picker",
1626
1689
  "description": "Date picker selector.",
@@ -1657,7 +1720,7 @@
1657
1720
  "description": "Indicate if a date should be disabled or not",
1658
1721
  "value": {
1659
1722
  "kind": "expression",
1660
- "type": "func"
1723
+ "type": "BentoDatePickerIsDateDisabled"
1661
1724
  },
1662
1725
  "default": "undefined"
1663
1726
  },
@@ -1688,14 +1751,30 @@
1688
1751
  },
1689
1752
  "default": "false"
1690
1753
  },
1754
+ {
1755
+ "name": "numberOfMonths",
1756
+ "description": "Number of months rendered on pane",
1757
+ "value": {
1758
+ "kind": "expression",
1759
+ "type": "DatePickerCalendarPane.props.numberOfMonths"
1760
+ }
1761
+ },
1691
1762
  {
1692
1763
  "name": "value",
1693
1764
  "description": "Selected date",
1694
1765
  "value": {
1695
1766
  "kind": "expression",
1696
- "type": "date"
1767
+ "type": "BentoDatePickerValue"
1697
1768
  },
1698
1769
  "default": "null"
1770
+ },
1771
+ {
1772
+ "name": "variant",
1773
+ "value": {
1774
+ "kind": "expression",
1775
+ "type": "BentoDatePickerVariant"
1776
+ },
1777
+ "default": "BentoDatePickerVariant.SINGLE_CALENDAR"
1699
1778
  }
1700
1779
  ],
1701
1780
  "source": {
@@ -1703,6 +1782,104 @@
1703
1782
  "symbol": "default"
1704
1783
  }
1705
1784
  },
1785
+ {
1786
+ "name": "bento-date-picker-calendar-pane",
1787
+ "description": "Handles the calendar logic to change visible months for Single calendar\nand Range calendar, as well as the selection logic for range.\nAll the processing necessary for the calendar to select dates",
1788
+ "attributes": [
1789
+ {
1790
+ "name": "firstDayOfWeek",
1791
+ "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
1792
+ "value": {
1793
+ "kind": "expression",
1794
+ "type": "DatePickerCalendar.props.firstDayOfWeek"
1795
+ }
1796
+ },
1797
+ {
1798
+ "name": "isDateDisabled",
1799
+ "description": "Indicate if a date should be disabled or not",
1800
+ "value": {
1801
+ "kind": "expression",
1802
+ "type": "DatePickerCalendar.props.isDateDisabled"
1803
+ }
1804
+ },
1805
+ {
1806
+ "name": "isRange",
1807
+ "description": "Enables the Date Range calendar",
1808
+ "value": {
1809
+ "kind": "expression",
1810
+ "type": "DatePickerCalendar.props.isRange"
1811
+ }
1812
+ },
1813
+ {
1814
+ "name": "numberOfMonths",
1815
+ "description": "Number of months rendered on pane",
1816
+ "value": {
1817
+ "kind": "expression",
1818
+ "type": "number"
1819
+ },
1820
+ "default": "3"
1821
+ },
1822
+ {
1823
+ "name": "value",
1824
+ "description": "Selected date. Can be a single Date or a DatePickerCalendarPaneRangeDate\ninstance that contains startDate and endDate attributes.",
1825
+ "value": {
1826
+ "kind": "expression",
1827
+ "type": "DatePickerCalendarPaneValue"
1828
+ },
1829
+ "default": "undefined"
1830
+ }
1831
+ ],
1832
+ "source": {
1833
+ "module": "./src/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.vue",
1834
+ "symbol": "default"
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "bento-date-range-filter",
1839
+ "description": "The Date filter displays a calendar that allows\nto select a single date.",
1840
+ "attributes": [
1841
+ {
1842
+ "name": "field",
1843
+ "required": true,
1844
+ "description": "Filter name/key referencing the actual property name in the data set.\nShould be unique per filter bar.",
1845
+ "value": {
1846
+ "kind": "expression",
1847
+ "type": "string"
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "label",
1852
+ "required": true,
1853
+ "description": "Label text to be displayed",
1854
+ "value": {
1855
+ "kind": "expression",
1856
+ "type": "string"
1857
+ }
1858
+ },
1859
+ {
1860
+ "name": "options",
1861
+ "description": "List of options that are needed to setup the filter\nAvailable options:\n - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday\n - isDateDisabled: Indicate if a date should be disabled or not",
1862
+ "value": {
1863
+ "kind": "expression",
1864
+ "type": "BentoDateRangeFilterOptions"
1865
+ },
1866
+ "default": "undefined"
1867
+ },
1868
+ {
1869
+ "name": "value",
1870
+ "description": "Current value of the filter",
1871
+ "value": {
1872
+ "kind": "expression",
1873
+ "type": "BentoDateRangeFilterValue"
1874
+ },
1875
+ "default": "() => ({ startDate: undefined, endDate: undefined })"
1876
+ }
1877
+ ],
1878
+ "source": {
1879
+ "module": "./src/components/filter-bar/components/date-range-filter/date-range-filter.vue",
1880
+ "symbol": "default"
1881
+ }
1882
+ },
1706
1883
  {
1707
1884
  "name": "bento-divider",
1708
1885
  "description": "",
@@ -2085,6 +2262,15 @@
2085
2262
  "kind": "expression",
2086
2263
  "type": "string"
2087
2264
  }
2265
+ },
2266
+ {
2267
+ "name": "tooltipPosition",
2268
+ "description": "Position the tooltip should take if space is available. Defaults to 'auto'",
2269
+ "value": {
2270
+ "kind": "expression",
2271
+ "type": "PopperContainerPosition"
2272
+ },
2273
+ "default": "PopperContainerPosition.AUTO"
2088
2274
  }
2089
2275
  ],
2090
2276
  "source": {
@@ -2132,6 +2318,15 @@
2132
2318
  },
2133
2319
  "default": "false"
2134
2320
  },
2321
+ {
2322
+ "name": "placeholder",
2323
+ "description": "Text displayed as the placeholder of the input-field",
2324
+ "value": {
2325
+ "kind": "expression",
2326
+ "type": "string"
2327
+ },
2328
+ "default": "''"
2329
+ },
2135
2330
  {
2136
2331
  "name": "staticValue",
2137
2332
  "description": "Static text that displayed before or after input value\nApplicable to the Static Value variant",
@@ -2635,15 +2830,6 @@
2635
2830
  "type": "BentoMenuItem[]"
2636
2831
  }
2637
2832
  },
2638
- {
2639
- "name": "tertiaryButton",
2640
- "description": "Displays the menu button in its ghost variant",
2641
- "value": {
2642
- "kind": "expression",
2643
- "type": "boolean"
2644
- },
2645
- "default": "false"
2646
- },
2647
2833
  {
2648
2834
  "name": "menuPosition",
2649
2835
  "description": "The position of where the menu should open.",
@@ -2661,6 +2847,29 @@
2661
2847
  "type": "boolean"
2662
2848
  },
2663
2849
  "default": "false"
2850
+ },
2851
+ {
2852
+ "name": "menuWidth",
2853
+ "description": "Sets a custom width for the menu popover.",
2854
+ "value": {
2855
+ "kind": "expression",
2856
+ "type": "number"
2857
+ },
2858
+ "default": "null"
2859
+ },
2860
+ {
2861
+ "name": "button",
2862
+ "description": "Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.",
2863
+ "value": {
2864
+ "kind": "expression",
2865
+ "type": "BentoMenuButtonProps"
2866
+ },
2867
+ "default": "() => ({\n variant: BentoButtonVariant.SECONDARY,\n})"
2868
+ }
2869
+ ],
2870
+ "slots": [
2871
+ {
2872
+ "name": "default"
2664
2873
  }
2665
2874
  ],
2666
2875
  "source": {
@@ -3134,6 +3343,15 @@
3134
3343
  "kind": "expression",
3135
3344
  "type": "string"
3136
3345
  }
3346
+ },
3347
+ {
3348
+ "name": "small",
3349
+ "description": "Render payment method icon in a smaller size",
3350
+ "value": {
3351
+ "kind": "expression",
3352
+ "type": "boolean"
3353
+ },
3354
+ "default": "false"
3137
3355
  }
3138
3356
  ],
3139
3357
  "source": {
@@ -3199,6 +3417,15 @@
3199
3417
  },
3200
3418
  "default": "false"
3201
3419
  },
3420
+ {
3421
+ "name": "fitContent",
3422
+ "description": "Sets the size of the container to fit its content",
3423
+ "value": {
3424
+ "kind": "expression",
3425
+ "type": "boolean"
3426
+ },
3427
+ "default": "false"
3428
+ },
3202
3429
  {
3203
3430
  "name": "fixedPositioning",
3204
3431
  "description": "Instructs popover to be visible outside of the containing container.\nUseful when component would be used in limited containers like Modal, Side panel, etc.\nhttps://popper.js.org/docs/v2/constructors/#strategy",
@@ -3486,6 +3713,15 @@
3486
3713
  },
3487
3714
  "default": "300"
3488
3715
  },
3716
+ {
3717
+ "name": "placeholder",
3718
+ "description": "Text displayed as the placeholder of the input-field",
3719
+ "value": {
3720
+ "kind": "expression",
3721
+ "type": "string"
3722
+ },
3723
+ "default": "''"
3724
+ },
3489
3725
  {
3490
3726
  "name": "value",
3491
3727
  "description": "Text displayed as the value being searched",
@@ -4480,6 +4716,15 @@
4480
4716
  "kind": "expression",
4481
4717
  "type": "string"
4482
4718
  }
4719
+ },
4720
+ {
4721
+ "name": "tooltipPosition",
4722
+ "description": "Position the tooltip should take if space is available. Defaults to 'top'",
4723
+ "value": {
4724
+ "kind": "expression",
4725
+ "type": "PopperContainerPosition"
4726
+ },
4727
+ "default": "PopperContainerPosition.TOP"
4483
4728
  }
4484
4729
  ],
4485
4730
  "slots": [
@@ -4533,8 +4778,17 @@
4533
4778
  "default": "true"
4534
4779
  },
4535
4780
  {
4536
- "name": "hasContextualMenuEnabled",
4537
- "description": "Toggles if the contextual menu is enabled",
4781
+ "name": "hasColumnPanel",
4782
+ "description": "Signifies if the column panel is enabled.",
4783
+ "value": {
4784
+ "kind": "expression",
4785
+ "type": "boolean"
4786
+ },
4787
+ "default": "false"
4788
+ },
4789
+ {
4790
+ "name": "hasFirstColumnPanelRightAligned",
4791
+ "description": "If set to true, aligns the first column panel to the right of its button.",
4538
4792
  "value": {
4539
4793
  "kind": "expression",
4540
4794
  "type": "boolean"
@@ -4592,66 +4846,20 @@
4592
4846
  "description": "Date picker calendar that displays all the days of a given month\nand allows to move back and forth the visible month with the Next\nand Previous buttons",
4593
4847
  "attributes": [
4594
4848
  {
4595
- "name": "firstDayOfWeek",
4596
- "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
4597
- "value": {
4598
- "kind": "expression",
4599
- "type": "DatePickerCalendarFirstDayOfWeek"
4600
- },
4601
- "default": "DatePickerCalendarFirstDayOfWeek.MONDAY"
4602
- },
4603
- {
4604
- "name": "isDateDisabled",
4605
- "description": "Indicate if a date should be disabled or not",
4606
- "value": {
4607
- "kind": "expression",
4608
- "type": "func"
4609
- },
4610
- "default": "undefined"
4611
- },
4612
- {
4613
- "name": "month",
4614
- "required": true,
4615
- "description": "Month of the year to be displayed in the calendar",
4616
- "value": {
4617
- "kind": "expression",
4618
- "type": "date"
4619
- }
4620
- },
4621
- {
4622
- "name": "value",
4623
- "description": "Selected date",
4849
+ "name": "endDate",
4850
+ "description": "end of the selected range",
4624
4851
  "value": {
4625
4852
  "kind": "expression",
4626
4853
  "type": "date"
4627
4854
  },
4628
- "default": "undefined"
4629
- }
4630
- ],
4631
- "source": {
4632
- "module": "./src/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue",
4633
- "symbol": "default"
4634
- }
4635
- },
4636
- {
4637
- "name": "date-picker-calendar-container",
4638
- "description": "Handles the popover logic and displays the month, date, and range containers\naccording to the type of Date picker variation.",
4639
- "attributes": [
4640
- {
4641
- "name": "disabled",
4642
- "description": "Disables dropdown functionality",
4643
- "value": {
4644
- "kind": "expression",
4645
- "type": "boolean"
4646
- },
4647
- "default": "false"
4855
+ "default": "null"
4648
4856
  },
4649
4857
  {
4650
4858
  "name": "firstDayOfWeek",
4651
4859
  "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
4652
4860
  "value": {
4653
4861
  "kind": "expression",
4654
- "type": "number"
4862
+ "type": "DatePickerCalendarFirstDayOfWeek"
4655
4863
  },
4656
4864
  "default": "DatePickerCalendarFirstDayOfWeek.MONDAY"
4657
4865
  },
@@ -4660,18 +4868,18 @@
4660
4868
  "description": "Indicate if a date should be disabled or not",
4661
4869
  "value": {
4662
4870
  "kind": "expression",
4663
- "type": "func"
4871
+ "type": "DatePickerCalendarIsDateDisabled"
4664
4872
  },
4665
4873
  "default": "undefined"
4666
4874
  },
4667
4875
  {
4668
- "name": "label",
4669
- "description": "Text that is displayed as a label above the element.",
4876
+ "name": "isRange",
4877
+ "description": "Indicates if the calendar is part of a range date picker or a sigle date picker",
4670
4878
  "value": {
4671
4879
  "kind": "expression",
4672
- "type": "string"
4880
+ "type": "boolean"
4673
4881
  },
4674
- "default": "undefined"
4882
+ "default": "false"
4675
4883
  },
4676
4884
  {
4677
4885
  "name": "month",
@@ -4683,69 +4891,73 @@
4683
4891
  }
4684
4892
  },
4685
4893
  {
4686
- "name": "open",
4687
- "required": true,
4688
- "description": "Indicates if the dropdown is open so that\nthe container can be displayed.",
4894
+ "name": "position",
4895
+ "description": "When rendering multiple calendars, this property allows to render the\nNext and Previous calendar buttons to the right, left or not at all\ndepending on the position: Unique (only 1), First, Middle or Last",
4689
4896
  "value": {
4690
4897
  "kind": "expression",
4691
- "type": "boolean"
4692
- }
4898
+ "type": "DatePickerCalendarPosition"
4899
+ },
4900
+ "default": "DatePickerCalendarPosition.UNIQUE"
4693
4901
  },
4694
4902
  {
4695
- "name": "value",
4696
- "description": "Selected date",
4903
+ "name": "startDate",
4904
+ "description": "start of the selected range",
4697
4905
  "value": {
4698
4906
  "kind": "expression",
4699
4907
  "type": "date"
4700
4908
  },
4701
- "default": "undefined"
4702
- },
4909
+ "default": "null"
4910
+ }
4911
+ ],
4912
+ "events": [
4703
4913
  {
4704
- "name": "targetElement",
4705
- "required": true,
4706
- "description": "Reference to the DOM element or Vue component for positioning\nthe Dropdown container.",
4707
- "value": {
4708
- "kind": "expression",
4709
- "type": "BentoPopover.props.targetElement.type"
4710
- }
4914
+ "name": "<undefined>"
4711
4915
  }
4712
4916
  ],
4713
4917
  "source": {
4714
- "module": "./src/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue",
4918
+ "module": "./src/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue",
4715
4919
  "symbol": "default"
4716
4920
  }
4717
4921
  },
4718
4922
  {
4719
- "name": "date-picker-calendar-container-stub",
4720
- "description": "",
4923
+ "name": "date-picker-calendar-day",
4924
+ "description": "Handles the styles and states of the individual dates of the calendar.",
4721
4925
  "attributes": [
4722
4926
  {
4723
- "name": "month",
4927
+ "name": "day",
4928
+ "required": true,
4929
+ "description": "Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)",
4724
4930
  "value": {
4725
4931
  "kind": "expression",
4726
- "type": "DatePickerCalendarContainer.props.month"
4932
+ "type": "date"
4727
4933
  }
4728
4934
  },
4729
4935
  {
4730
- "name": "open",
4936
+ "name": "disabled",
4937
+ "description": "Indicate if a date should be disabled or not",
4731
4938
  "value": {
4732
4939
  "kind": "expression",
4733
- "type": "DatePickerCalendarContainer.props.open"
4734
- }
4940
+ "type": "boolean"
4941
+ },
4942
+ "default": "false"
4735
4943
  },
4736
4944
  {
4737
- "name": "disabled",
4945
+ "name": "selected",
4946
+ "description": "Changes the state of the calendar day to selected.",
4738
4947
  "value": {
4739
4948
  "kind": "expression",
4740
- "type": "DatePickerCalendarContainer.props.disabled"
4741
- }
4949
+ "type": "boolean"
4950
+ },
4951
+ "default": "false"
4742
4952
  },
4743
4953
  {
4744
- "name": "value",
4954
+ "name": "variant",
4955
+ "description": "When the day is selected, this indicates if the selection is a single date or part of a range.\nIf it's a range it can be at the beginning, middle or end of the selection.",
4745
4956
  "value": {
4746
4957
  "kind": "expression",
4747
- "type": "DatePickerCalendarContainer.props.value"
4748
- }
4958
+ "type": "DatePickerCalendarDayVariant"
4959
+ },
4960
+ "default": "DatePickerCalendarDayVariant.SINGLE"
4749
4961
  }
4750
4962
  ],
4751
4963
  "events": [
@@ -4754,57 +4966,76 @@
4754
4966
  }
4755
4967
  ],
4756
4968
  "source": {
4757
- "module": "./src/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue",
4969
+ "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue",
4758
4970
  "symbol": "default"
4759
4971
  }
4760
4972
  },
4761
4973
  {
4762
- "name": "date-picker-calendar-day",
4763
- "description": "Handles the styles and states of the individual dates of the calendar.",
4974
+ "name": "date-picker-calendar-day-stub",
4975
+ "description": "",
4976
+ "events": [
4977
+ {
4978
+ "name": "<undefined>"
4979
+ }
4980
+ ],
4981
+ "source": {
4982
+ "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue",
4983
+ "symbol": "default"
4984
+ }
4985
+ },
4986
+ {
4987
+ "name": "date-picker-calendar-range",
4988
+ "description": "Calendar for range dates. Contains the logic to handle the range forms.",
4764
4989
  "attributes": [
4765
4990
  {
4766
- "name": "day",
4767
- "required": true,
4768
- "description": "Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)",
4991
+ "name": "firstDayOfWeek",
4992
+ "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
4769
4993
  "value": {
4770
4994
  "kind": "expression",
4771
- "type": "date"
4995
+ "type": "DatePickerCalendarPane.props.firstDayOfWeek"
4772
4996
  }
4773
4997
  },
4774
4998
  {
4775
- "name": "selected",
4776
- "description": "Changes the state of the calendar day to selected.",
4999
+ "name": "isDateDisabled",
5000
+ "description": "Indicate if a date should be disabled or not",
4777
5001
  "value": {
4778
5002
  "kind": "expression",
4779
- "type": "boolean"
4780
- },
4781
- "default": "false"
5003
+ "type": "DatePickerCalendarPane.props.isDateDisabled"
5004
+ }
4782
5005
  },
4783
5006
  {
4784
- "name": "disabled",
4785
- "description": "Indicate if a date should be disabled or not",
5007
+ "name": "numberOfMonths",
5008
+ "description": "Number of months rendered on pane",
4786
5009
  "value": {
4787
5010
  "kind": "expression",
4788
- "type": "boolean"
5011
+ "type": "DatePickerCalendarPane.props.numberOfMonths"
5012
+ }
5013
+ },
5014
+ {
5015
+ "name": "value",
5016
+ "description": "Selected date",
5017
+ "value": {
5018
+ "kind": "expression",
5019
+ "type": "DatePickerCalendarPaneValue"
4789
5020
  },
4790
- "default": "false"
5021
+ "default": "undefined"
4791
5022
  }
4792
5023
  ],
4793
- "source": {
4794
- "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue",
4795
- "symbol": "default"
4796
- }
4797
- },
4798
- {
4799
- "name": "date-picker-calendar-day-stub",
4800
- "description": "",
4801
5024
  "events": [
4802
5025
  {
4803
- "name": "<undefined>"
5026
+ "name": "input"
5027
+ }
5028
+ ],
5029
+ "slots": [
5030
+ {
5031
+ "name": "title"
5032
+ },
5033
+ {
5034
+ "name": "actions"
4804
5035
  }
4805
5036
  ],
4806
5037
  "source": {
4807
- "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue",
5038
+ "module": "./src/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue",
4808
5039
  "symbol": "default"
4809
5040
  }
4810
5041
  },
@@ -5671,6 +5902,13 @@
5671
5902
  "type": "BentoPopover.props.fixedPositioning"
5672
5903
  }
5673
5904
  },
5905
+ {
5906
+ "name": "fitContent",
5907
+ "value": {
5908
+ "kind": "expression",
5909
+ "type": "BentoPopover.props.fitContent"
5910
+ }
5911
+ },
5674
5912
  {
5675
5913
  "name": "large",
5676
5914
  "value": {