@vonage/vivid 3.31.0 → 3.32.0

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 (132) hide show
  1. package/alert/index.js +2 -1
  2. package/checkbox/index.js +2 -1
  3. package/combobox/index.js +2 -1
  4. package/custom-elements.json +748 -11
  5. package/date-picker/index.js +35 -0
  6. package/dialog/index.js +1 -1
  7. package/divider/index.js +1 -1
  8. package/empty-state/index.js +1 -1
  9. package/fab/index.js +1 -1
  10. package/file-picker/index.js +3 -2
  11. package/header/index.js +1 -1
  12. package/index.d.ts +1 -0
  13. package/index.js +48 -46
  14. package/layout/index.js +1 -1
  15. package/lib/button/button.d.ts +2 -0
  16. package/lib/components.d.ts +20 -19
  17. package/lib/date-picker/calendar/calendarGrid.d.ts +17 -0
  18. package/lib/date-picker/calendar/dateStr.d.ts +6 -0
  19. package/lib/date-picker/calendar/month.d.ts +11 -0
  20. package/lib/date-picker/calendar/monthPickerGrid.d.ts +10 -0
  21. package/lib/date-picker/calendar/presentationDate.d.ts +4 -0
  22. package/lib/date-picker/date-picker.d.ts +16 -0
  23. package/lib/date-picker/date-picker.template.d.ts +4 -0
  24. package/lib/date-picker/definition.d.ts +3 -0
  25. package/lib/date-picker/index.d.ts +1 -0
  26. package/lib/date-picker/locale.d.ts +21 -0
  27. package/lib/select/select.d.ts +4 -2
  28. package/listbox/index.js +3 -2
  29. package/locales/en-GB.d.ts +3 -0
  30. package/locales/en-GB.js +25 -0
  31. package/locales/en-US.d.ts +3 -0
  32. package/locales/en-US.js +25 -0
  33. package/locales/ja-JP.d.ts +3 -0
  34. package/locales/ja-JP.js +25 -0
  35. package/locales/zh-CN.d.ts +3 -0
  36. package/locales/zh-CN.js +25 -0
  37. package/menu/index.js +2 -2
  38. package/menu-item/index.js +1 -1
  39. package/nav/index.js +1 -1
  40. package/nav-disclosure/index.js +1 -1
  41. package/nav-item/index.js +1 -1
  42. package/note/index.js +3 -2
  43. package/number-field/index.js +4 -3
  44. package/option/index.js +2 -1
  45. package/package.json +2 -1
  46. package/pagination/index.js +1 -1
  47. package/progress/index.js +1 -1
  48. package/radio/index.js +1 -1
  49. package/radio-group/index.js +1 -1
  50. package/select/index.js +3 -2
  51. package/shared/definition.js +1 -1
  52. package/shared/definition10.js +1 -1
  53. package/shared/definition11.js +1 -1
  54. package/shared/definition12.js +1 -1
  55. package/shared/definition14.js +1 -1
  56. package/shared/definition15.js +1 -1
  57. package/shared/definition16.js +1 -1
  58. package/shared/definition17.js +1 -1
  59. package/shared/definition18.js +2 -2
  60. package/shared/definition19.js +2 -2
  61. package/shared/definition2.js +1 -1
  62. package/shared/definition21.js +3 -3
  63. package/shared/definition22.js +2 -2
  64. package/shared/definition23.js +5750 -189
  65. package/shared/definition24.js +116 -68
  66. package/shared/definition25.js +68 -38
  67. package/shared/definition26.js +222 -74
  68. package/shared/definition27.js +33 -2282
  69. package/shared/definition28.js +76 -47
  70. package/shared/definition29.js +2287 -38
  71. package/shared/definition30.js +39 -417
  72. package/shared/definition31.js +38 -364
  73. package/shared/definition32.js +427 -12
  74. package/shared/definition33.js +350 -59
  75. package/shared/definition34.js +12 -26
  76. package/shared/definition35.js +67 -31
  77. package/shared/definition36.js +20 -431
  78. package/shared/definition37.js +34 -194
  79. package/shared/definition38.js +427 -45
  80. package/shared/definition39.js +195 -33
  81. package/shared/definition4.js +1 -1
  82. package/shared/definition40.js +53 -425
  83. package/shared/definition41.js +29 -645
  84. package/shared/definition42.js +420 -73
  85. package/shared/definition43.js +549 -444
  86. package/shared/definition44.js +68 -90
  87. package/shared/definition45.js +501 -79
  88. package/shared/definition46.js +84 -45
  89. package/shared/definition47.js +131 -17
  90. package/shared/definition48.js +44 -471
  91. package/shared/definition49.js +21 -108
  92. package/shared/definition5.js +1 -1
  93. package/shared/definition50.js +487 -15
  94. package/shared/definition51.js +92 -255
  95. package/shared/definition52.js +16 -115
  96. package/shared/definition53.js +264 -115
  97. package/shared/definition54.js +91 -82
  98. package/shared/definition55.js +111 -65
  99. package/shared/definition56.js +64 -291
  100. package/shared/definition57.js +303 -0
  101. package/shared/definition6.js +2 -2
  102. package/shared/definition7.js +10 -3
  103. package/shared/definition9.js +1 -1
  104. package/shared/{form-elements.js → index2.js} +14 -2
  105. package/shared/localization/Locale.d.ts +4 -0
  106. package/shared/localization/index.d.ts +7 -0
  107. package/shared/patterns/form-elements/form-elements.d.ts +4 -4
  108. package/shared/patterns/index.d.ts +1 -0
  109. package/shared/patterns/localized.d.ts +4 -0
  110. package/shared/text-field.js +1 -1
  111. package/side-drawer/index.js +1 -1
  112. package/slider/index.js +1 -1
  113. package/split-button/index.js +1 -1
  114. package/styles/core/all.css +25 -3
  115. package/styles/core/theme.css +1 -1
  116. package/styles/core/typography.css +25 -3
  117. package/styles/tokens/theme-dark.css +4 -4
  118. package/styles/tokens/theme-light.css +4 -4
  119. package/styles/tokens/vivid-2-compat.css +2 -2
  120. package/switch/index.js +3 -2
  121. package/tab/index.js +1 -1
  122. package/tab-panel/index.js +1 -1
  123. package/tabs/index.js +3 -3
  124. package/tag/index.js +1 -1
  125. package/tag-group/index.js +1 -1
  126. package/text-area/index.js +3 -2
  127. package/text-field/index.js +3 -2
  128. package/toggletip/index.js +1 -1
  129. package/tooltip/index.js +1 -1
  130. package/tree-item/index.js +1 -1
  131. package/tree-view/index.js +1 -1
  132. package/vivid.api.json +137 -0
@@ -1796,6 +1796,14 @@
1796
1796
  }
1797
1797
  ],
1798
1798
  "members": [
1799
+ {
1800
+ "kind": "field",
1801
+ "name": "title",
1802
+ "type": {
1803
+ "text": "string"
1804
+ },
1805
+ "default": "''"
1806
+ },
1799
1807
  {
1800
1808
  "kind": "field",
1801
1809
  "name": "connotation",
@@ -1863,6 +1871,13 @@
1863
1871
  }
1864
1872
  ],
1865
1873
  "attributes": [
1874
+ {
1875
+ "type": {
1876
+ "text": "string"
1877
+ },
1878
+ "default": "''",
1879
+ "fieldName": "title"
1880
+ },
1866
1881
  {
1867
1882
  "name": "connotation",
1868
1883
  "type": {
@@ -3577,6 +3592,248 @@
3577
3592
  }
3578
3593
  ]
3579
3594
  },
3595
+ {
3596
+ "kind": "javascript-module",
3597
+ "path": "libs/components/src/lib/date-picker/date-picker.ts",
3598
+ "declarations": [
3599
+ {
3600
+ "kind": "class",
3601
+ "description": "Base class for date-picker",
3602
+ "name": "DatePicker",
3603
+ "cssProperties": [
3604
+ {
3605
+ "name": "--vvd-date-picker-accent-primary",
3606
+ "default": "var(--vvd-color-canvas-text)"
3607
+ },
3608
+ {
3609
+ "name": "--vvd-date-picker-accent-faint",
3610
+ "default": "var(--vvd-color-neutral-50)"
3611
+ },
3612
+ {
3613
+ "name": "--vvd-date-picker-accent-soft",
3614
+ "default": "var(--vvd-color-neutral-100)"
3615
+ },
3616
+ {
3617
+ "name": "--vvd-date-picker-accent-dim",
3618
+ "default": "var(--vvd-color-neutral-200)"
3619
+ },
3620
+ {
3621
+ "name": "--vvd-date-picker-accent-pale",
3622
+ "default": "var(--vvd-color-neutral-300)"
3623
+ }
3624
+ ],
3625
+ "members": [
3626
+ {
3627
+ "kind": "field",
3628
+ "name": "label",
3629
+ "type": {
3630
+ "text": "string | undefined"
3631
+ },
3632
+ "description": "The label text of the date-picker.",
3633
+ "privacy": "public"
3634
+ },
3635
+ {
3636
+ "kind": "field",
3637
+ "name": "helperText",
3638
+ "type": {
3639
+ "text": "string | undefined"
3640
+ },
3641
+ "description": "The helper-text text of the date-picker.",
3642
+ "privacy": "public"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "errorText",
3647
+ "type": {
3648
+ "text": "string | undefined"
3649
+ },
3650
+ "description": "The error-text text of the date-picker.",
3651
+ "privacy": "public"
3652
+ },
3653
+ {
3654
+ "kind": "field",
3655
+ "name": "value",
3656
+ "type": {
3657
+ "text": "DateStr | null"
3658
+ },
3659
+ "default": "null",
3660
+ "description": "The currently selected date of the date-picker.",
3661
+ "privacy": "public"
3662
+ },
3663
+ {
3664
+ "kind": "method",
3665
+ "name": "#updateValueDueToUserInteraction",
3666
+ "parameters": [
3667
+ {
3668
+ "name": "newValue",
3669
+ "type": {
3670
+ "text": "DateStr | null"
3671
+ }
3672
+ }
3673
+ ]
3674
+ },
3675
+ {
3676
+ "kind": "field",
3677
+ "name": "disabled",
3678
+ "type": {
3679
+ "text": "boolean"
3680
+ },
3681
+ "default": "false",
3682
+ "description": "Whether the date-picker is disabled.",
3683
+ "privacy": "public"
3684
+ },
3685
+ {
3686
+ "kind": "field",
3687
+ "name": "readOnly",
3688
+ "type": {
3689
+ "text": "boolean"
3690
+ },
3691
+ "default": "false",
3692
+ "description": "Whether the date-picker is readonly.",
3693
+ "privacy": "public"
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "#dismissOnClickOutside",
3698
+ "privacy": "private"
3699
+ },
3700
+ {
3701
+ "kind": "field",
3702
+ "name": "#isClosingPopup",
3703
+ "privacy": "private",
3704
+ "type": {
3705
+ "text": "boolean"
3706
+ },
3707
+ "default": "false"
3708
+ },
3709
+ {
3710
+ "kind": "method",
3711
+ "name": "#openPopupIfPossible"
3712
+ },
3713
+ {
3714
+ "kind": "method",
3715
+ "name": "#closePopup",
3716
+ "parameters": [
3717
+ {
3718
+ "name": "restoreFocusToTextField",
3719
+ "default": "true"
3720
+ }
3721
+ ]
3722
+ }
3723
+ ],
3724
+ "attributes": [
3725
+ {
3726
+ "name": "label",
3727
+ "type": {
3728
+ "text": "string | undefined"
3729
+ },
3730
+ "description": "The label text of the date-picker.",
3731
+ "fieldName": "label"
3732
+ },
3733
+ {
3734
+ "name": "helper-text",
3735
+ "type": {
3736
+ "text": "string | undefined"
3737
+ },
3738
+ "description": "The helper-text text of the date-picker.",
3739
+ "fieldName": "helperText"
3740
+ },
3741
+ {
3742
+ "name": "error-text",
3743
+ "type": {
3744
+ "text": "string | undefined"
3745
+ },
3746
+ "description": "The error-text text of the date-picker.",
3747
+ "fieldName": "errorText"
3748
+ },
3749
+ {
3750
+ "type": {
3751
+ "text": "DateStr | null"
3752
+ },
3753
+ "default": "null",
3754
+ "description": "The currently selected date of the date-picker.",
3755
+ "fieldName": "value"
3756
+ },
3757
+ {
3758
+ "type": {
3759
+ "text": "boolean"
3760
+ },
3761
+ "default": "false",
3762
+ "description": "Whether the date-picker is disabled.",
3763
+ "fieldName": "disabled"
3764
+ },
3765
+ {
3766
+ "name": "readonly",
3767
+ "type": {
3768
+ "text": "boolean"
3769
+ },
3770
+ "default": "false",
3771
+ "description": "Whether the date-picker is readonly.",
3772
+ "fieldName": "readOnly"
3773
+ }
3774
+ ],
3775
+ "superclass": {
3776
+ "name": "FoundationElement",
3777
+ "package": "@microsoft/fast-foundation"
3778
+ }
3779
+ }
3780
+ ],
3781
+ "exports": [
3782
+ {
3783
+ "kind": "js",
3784
+ "name": "DatePicker",
3785
+ "declaration": {
3786
+ "name": "DatePicker",
3787
+ "module": "libs/components/src/lib/date-picker/date-picker.ts"
3788
+ }
3789
+ }
3790
+ ]
3791
+ },
3792
+ {
3793
+ "kind": "javascript-module",
3794
+ "path": "libs/components/src/lib/date-picker/definition.ts",
3795
+ "declarations": [
3796
+ {
3797
+ "kind": "variable",
3798
+ "name": "datePickerDefinition"
3799
+ },
3800
+ {
3801
+ "kind": "variable",
3802
+ "name": "registerDatePicker",
3803
+ "description": "Registers the date-picker element with the design system.",
3804
+ "parameters": [
3805
+ {
3806
+ "description": "the prefix to use for the component name",
3807
+ "name": "prefix"
3808
+ }
3809
+ ]
3810
+ }
3811
+ ],
3812
+ "exports": [
3813
+ {
3814
+ "kind": "js",
3815
+ "name": "datePickerDefinition",
3816
+ "declaration": {
3817
+ "name": "datePickerDefinition",
3818
+ "module": "libs/components/src/lib/date-picker/definition.ts"
3819
+ }
3820
+ },
3821
+ {
3822
+ "kind": "js",
3823
+ "name": "registerDatePicker",
3824
+ "declaration": {
3825
+ "name": "registerDatePicker",
3826
+ "module": "libs/components/src/lib/date-picker/definition.ts"
3827
+ }
3828
+ }
3829
+ ]
3830
+ },
3831
+ {
3832
+ "kind": "javascript-module",
3833
+ "path": "libs/components/src/lib/date-picker/locale.ts",
3834
+ "declarations": [],
3835
+ "exports": []
3836
+ },
3580
3837
  {
3581
3838
  "kind": "javascript-module",
3582
3839
  "path": "libs/components/src/lib/dialog/definition.ts",
@@ -7985,31 +8242,35 @@
7985
8242
  "members": [
7986
8243
  {
7987
8244
  "kind": "field",
7988
- "name": "appearance",
8245
+ "name": "_popup",
7989
8246
  "type": {
7990
- "text": "SelectAppearance | undefined"
8247
+ "text": "Popup"
7991
8248
  }
7992
8249
  },
7993
8250
  {
7994
8251
  "kind": "field",
7995
- "name": "shape",
8252
+ "name": "_anchor",
7996
8253
  "type": {
7997
- "text": "SelectShape | undefined"
8254
+ "text": "HTMLElement"
7998
8255
  }
7999
8256
  },
8000
8257
  {
8001
8258
  "kind": "field",
8002
- "name": "_popup",
8259
+ "name": "appearance",
8003
8260
  "type": {
8004
- "text": "Popup"
8005
- }
8261
+ "text": "SelectAppearance | undefined"
8262
+ },
8263
+ "description": "The appearance attribute.",
8264
+ "privacy": "public"
8006
8265
  },
8007
8266
  {
8008
8267
  "kind": "field",
8009
- "name": "_anchor",
8268
+ "name": "shape",
8010
8269
  "type": {
8011
- "text": "HTMLElement"
8012
- }
8270
+ "text": "SelectShape | undefined"
8271
+ },
8272
+ "description": "The shape attribute.",
8273
+ "privacy": "public"
8013
8274
  },
8014
8275
  {
8015
8276
  "kind": "field",
@@ -8017,7 +8278,18 @@
8017
8278
  "type": {
8018
8279
  "text": "boolean"
8019
8280
  },
8020
- "default": "false"
8281
+ "default": "false",
8282
+ "description": "The fixed-dropdown attribute.",
8283
+ "privacy": "public"
8284
+ },
8285
+ {
8286
+ "kind": "field",
8287
+ "name": "placeholder",
8288
+ "type": {
8289
+ "text": "string | undefined"
8290
+ },
8291
+ "description": "The placeholder attribute.",
8292
+ "privacy": "public"
8021
8293
  },
8022
8294
  {
8023
8295
  "kind": "field",
@@ -8026,6 +8298,15 @@
8026
8298
  "text": "string"
8027
8299
  },
8028
8300
  "readonly": true
8301
+ },
8302
+ {
8303
+ "kind": "method",
8304
+ "name": "setDefaultSelectedOption",
8305
+ "return": {
8306
+ "type": {
8307
+ "text": "void"
8308
+ }
8309
+ }
8029
8310
  }
8030
8311
  ],
8031
8312
  "attributes": [
@@ -8034,6 +8315,7 @@
8034
8315
  "type": {
8035
8316
  "text": "SelectAppearance | undefined"
8036
8317
  },
8318
+ "description": "The appearance attribute.",
8037
8319
  "fieldName": "appearance"
8038
8320
  },
8039
8321
  {
@@ -8041,6 +8323,7 @@
8041
8323
  "type": {
8042
8324
  "text": "SelectShape | undefined"
8043
8325
  },
8326
+ "description": "The shape attribute.",
8044
8327
  "fieldName": "shape"
8045
8328
  },
8046
8329
  {
@@ -8049,7 +8332,16 @@
8049
8332
  "text": "boolean"
8050
8333
  },
8051
8334
  "default": "false",
8335
+ "description": "The fixed-dropdown attribute.",
8052
8336
  "fieldName": "fixedDropdown"
8337
+ },
8338
+ {
8339
+ "name": "placeholder",
8340
+ "type": {
8341
+ "text": "string | undefined"
8342
+ },
8343
+ "description": "The placeholder attribute.",
8344
+ "fieldName": "placeholder"
8053
8345
  }
8054
8346
  ],
8055
8347
  "superclass": {
@@ -10935,6 +11227,451 @@
10935
11227
  }
10936
11228
  }
10937
11229
  ]
11230
+ },
11231
+ {
11232
+ "kind": "javascript-module",
11233
+ "path": "libs/components/src/lib/date-picker/calendar/calendarGrid.ts",
11234
+ "declarations": [
11235
+ {
11236
+ "kind": "function",
11237
+ "name": "buildCalendarGrid",
11238
+ "return": {
11239
+ "type": {
11240
+ "text": "CalendarGrid"
11241
+ }
11242
+ },
11243
+ "parameters": [
11244
+ {
11245
+ "name": "month",
11246
+ "type": {
11247
+ "text": "Month"
11248
+ }
11249
+ },
11250
+ {
11251
+ "name": "locale",
11252
+ "type": {
11253
+ "text": "DatePickerLocale"
11254
+ }
11255
+ }
11256
+ ]
11257
+ }
11258
+ ],
11259
+ "exports": [
11260
+ {
11261
+ "kind": "js",
11262
+ "name": "buildCalendarGrid",
11263
+ "declaration": {
11264
+ "name": "buildCalendarGrid",
11265
+ "module": "libs/components/src/lib/date-picker/calendar/calendarGrid.ts"
11266
+ }
11267
+ }
11268
+ ]
11269
+ },
11270
+ {
11271
+ "kind": "javascript-module",
11272
+ "path": "libs/components/src/lib/date-picker/calendar/dateStr.ts",
11273
+ "declarations": [
11274
+ {
11275
+ "kind": "function",
11276
+ "name": "formatDateStr",
11277
+ "return": {
11278
+ "type": {
11279
+ "text": "DateStr"
11280
+ }
11281
+ },
11282
+ "parameters": [
11283
+ {
11284
+ "name": "date",
11285
+ "type": {
11286
+ "text": "Date"
11287
+ }
11288
+ }
11289
+ ]
11290
+ },
11291
+ {
11292
+ "kind": "function",
11293
+ "name": "currentDateStr",
11294
+ "return": {
11295
+ "type": {
11296
+ "text": "DateStr"
11297
+ }
11298
+ },
11299
+ "parameters": [
11300
+ {
11301
+ "name": "now",
11302
+ "default": "new Date()"
11303
+ }
11304
+ ]
11305
+ },
11306
+ {
11307
+ "kind": "function",
11308
+ "name": "parseDateStr",
11309
+ "return": {
11310
+ "type": {
11311
+ "text": "Date"
11312
+ }
11313
+ },
11314
+ "parameters": [
11315
+ {
11316
+ "name": "dateStr",
11317
+ "type": {
11318
+ "text": "DateStr"
11319
+ }
11320
+ }
11321
+ ]
11322
+ },
11323
+ {
11324
+ "kind": "function",
11325
+ "name": "addDays",
11326
+ "return": {
11327
+ "type": {
11328
+ "text": "DateStr"
11329
+ }
11330
+ },
11331
+ "parameters": [
11332
+ {
11333
+ "name": "dateStr",
11334
+ "type": {
11335
+ "text": "DateStr"
11336
+ }
11337
+ },
11338
+ {
11339
+ "name": "days",
11340
+ "type": {
11341
+ "text": "number"
11342
+ }
11343
+ }
11344
+ ]
11345
+ },
11346
+ {
11347
+ "kind": "function",
11348
+ "name": "isValidDateStr",
11349
+ "return": {
11350
+ "type": {
11351
+ "text": "boolean"
11352
+ }
11353
+ },
11354
+ "parameters": [
11355
+ {
11356
+ "name": "string",
11357
+ "type": {
11358
+ "text": "string"
11359
+ }
11360
+ }
11361
+ ]
11362
+ }
11363
+ ],
11364
+ "exports": [
11365
+ {
11366
+ "kind": "js",
11367
+ "name": "formatDateStr",
11368
+ "declaration": {
11369
+ "name": "formatDateStr",
11370
+ "module": "libs/components/src/lib/date-picker/calendar/dateStr.ts"
11371
+ }
11372
+ },
11373
+ {
11374
+ "kind": "js",
11375
+ "name": "currentDateStr",
11376
+ "declaration": {
11377
+ "name": "currentDateStr",
11378
+ "module": "libs/components/src/lib/date-picker/calendar/dateStr.ts"
11379
+ }
11380
+ },
11381
+ {
11382
+ "kind": "js",
11383
+ "name": "parseDateStr",
11384
+ "declaration": {
11385
+ "name": "parseDateStr",
11386
+ "module": "libs/components/src/lib/date-picker/calendar/dateStr.ts"
11387
+ }
11388
+ },
11389
+ {
11390
+ "kind": "js",
11391
+ "name": "addDays",
11392
+ "declaration": {
11393
+ "name": "addDays",
11394
+ "module": "libs/components/src/lib/date-picker/calendar/dateStr.ts"
11395
+ }
11396
+ },
11397
+ {
11398
+ "kind": "js",
11399
+ "name": "isValidDateStr",
11400
+ "declaration": {
11401
+ "name": "isValidDateStr",
11402
+ "module": "libs/components/src/lib/date-picker/calendar/dateStr.ts"
11403
+ }
11404
+ }
11405
+ ]
11406
+ },
11407
+ {
11408
+ "kind": "javascript-module",
11409
+ "path": "libs/components/src/lib/date-picker/calendar/month.ts",
11410
+ "declarations": [
11411
+ {
11412
+ "kind": "function",
11413
+ "name": "getCurrentMonth",
11414
+ "return": {
11415
+ "type": {
11416
+ "text": "Month"
11417
+ }
11418
+ },
11419
+ "parameters": [
11420
+ {
11421
+ "name": "now",
11422
+ "default": "new Date()"
11423
+ }
11424
+ ]
11425
+ },
11426
+ {
11427
+ "kind": "function",
11428
+ "name": "monthOfDate",
11429
+ "return": {
11430
+ "type": {
11431
+ "text": "Month"
11432
+ }
11433
+ },
11434
+ "parameters": [
11435
+ {
11436
+ "name": "dateStr",
11437
+ "type": {
11438
+ "text": "DateStr"
11439
+ }
11440
+ }
11441
+ ]
11442
+ },
11443
+ {
11444
+ "kind": "function",
11445
+ "name": "addMonths",
11446
+ "return": {
11447
+ "type": {
11448
+ "text": "Month"
11449
+ }
11450
+ },
11451
+ "parameters": [
11452
+ {
11453
+ "name": "{ month, year }",
11454
+ "type": {
11455
+ "text": "Month"
11456
+ }
11457
+ },
11458
+ {
11459
+ "name": "months",
11460
+ "type": {
11461
+ "text": "number"
11462
+ }
11463
+ }
11464
+ ]
11465
+ },
11466
+ {
11467
+ "kind": "function",
11468
+ "name": "areMonthsEqual",
11469
+ "return": {
11470
+ "type": {
11471
+ "text": "boolean"
11472
+ }
11473
+ },
11474
+ "parameters": [
11475
+ {
11476
+ "name": "a",
11477
+ "type": {
11478
+ "text": "Month"
11479
+ }
11480
+ },
11481
+ {
11482
+ "name": "b",
11483
+ "type": {
11484
+ "text": "Month"
11485
+ }
11486
+ }
11487
+ ]
11488
+ },
11489
+ {
11490
+ "kind": "function",
11491
+ "name": "monthToStr",
11492
+ "return": {
11493
+ "type": {
11494
+ "text": "string"
11495
+ }
11496
+ },
11497
+ "parameters": [
11498
+ {
11499
+ "name": "{ month, year }",
11500
+ "type": {
11501
+ "text": "Month"
11502
+ }
11503
+ }
11504
+ ]
11505
+ }
11506
+ ],
11507
+ "exports": [
11508
+ {
11509
+ "kind": "js",
11510
+ "name": "getCurrentMonth",
11511
+ "declaration": {
11512
+ "name": "getCurrentMonth",
11513
+ "module": "libs/components/src/lib/date-picker/calendar/month.ts"
11514
+ }
11515
+ },
11516
+ {
11517
+ "kind": "js",
11518
+ "name": "monthOfDate",
11519
+ "declaration": {
11520
+ "name": "monthOfDate",
11521
+ "module": "libs/components/src/lib/date-picker/calendar/month.ts"
11522
+ }
11523
+ },
11524
+ {
11525
+ "kind": "js",
11526
+ "name": "addMonths",
11527
+ "declaration": {
11528
+ "name": "addMonths",
11529
+ "module": "libs/components/src/lib/date-picker/calendar/month.ts"
11530
+ }
11531
+ },
11532
+ {
11533
+ "kind": "js",
11534
+ "name": "areMonthsEqual",
11535
+ "declaration": {
11536
+ "name": "areMonthsEqual",
11537
+ "module": "libs/components/src/lib/date-picker/calendar/month.ts"
11538
+ }
11539
+ },
11540
+ {
11541
+ "kind": "js",
11542
+ "name": "monthToStr",
11543
+ "declaration": {
11544
+ "name": "monthToStr",
11545
+ "module": "libs/components/src/lib/date-picker/calendar/month.ts"
11546
+ }
11547
+ }
11548
+ ]
11549
+ },
11550
+ {
11551
+ "kind": "javascript-module",
11552
+ "path": "libs/components/src/lib/date-picker/calendar/monthPickerGrid.ts",
11553
+ "declarations": [
11554
+ {
11555
+ "kind": "variable",
11556
+ "name": "MonthsPerRow",
11557
+ "type": {
11558
+ "text": "number"
11559
+ },
11560
+ "default": "4"
11561
+ },
11562
+ {
11563
+ "kind": "function",
11564
+ "name": "buildMonthPickerGrid",
11565
+ "return": {
11566
+ "type": {
11567
+ "text": "MonthPickerGrid"
11568
+ }
11569
+ },
11570
+ "parameters": [
11571
+ {
11572
+ "name": "year",
11573
+ "type": {
11574
+ "text": "number"
11575
+ }
11576
+ },
11577
+ {
11578
+ "name": "locale",
11579
+ "type": {
11580
+ "text": "DatePickerLocale"
11581
+ }
11582
+ }
11583
+ ]
11584
+ }
11585
+ ],
11586
+ "exports": [
11587
+ {
11588
+ "kind": "js",
11589
+ "name": "MonthsPerRow",
11590
+ "declaration": {
11591
+ "name": "MonthsPerRow",
11592
+ "module": "libs/components/src/lib/date-picker/calendar/monthPickerGrid.ts"
11593
+ }
11594
+ },
11595
+ {
11596
+ "kind": "js",
11597
+ "name": "buildMonthPickerGrid",
11598
+ "declaration": {
11599
+ "name": "buildMonthPickerGrid",
11600
+ "module": "libs/components/src/lib/date-picker/calendar/monthPickerGrid.ts"
11601
+ }
11602
+ }
11603
+ ]
11604
+ },
11605
+ {
11606
+ "kind": "javascript-module",
11607
+ "path": "libs/components/src/lib/date-picker/calendar/presentationDate.ts",
11608
+ "declarations": [
11609
+ {
11610
+ "kind": "function",
11611
+ "name": "formatPresentationDate",
11612
+ "return": {
11613
+ "type": {
11614
+ "text": "string"
11615
+ }
11616
+ },
11617
+ "parameters": [
11618
+ {
11619
+ "name": "dateStr",
11620
+ "type": {
11621
+ "text": "DateStr"
11622
+ }
11623
+ },
11624
+ {
11625
+ "name": "locale",
11626
+ "type": {
11627
+ "text": "DatePickerLocale"
11628
+ }
11629
+ }
11630
+ ]
11631
+ },
11632
+ {
11633
+ "kind": "function",
11634
+ "name": "parsePresentationDate",
11635
+ "return": {
11636
+ "type": {
11637
+ "text": "DateStr"
11638
+ }
11639
+ },
11640
+ "parameters": [
11641
+ {
11642
+ "name": "presentationDate",
11643
+ "type": {
11644
+ "text": "string"
11645
+ }
11646
+ },
11647
+ {
11648
+ "name": "locale",
11649
+ "type": {
11650
+ "text": "DatePickerLocale"
11651
+ }
11652
+ }
11653
+ ],
11654
+ "description": "Parse a presentation date, which is the locale specific format (e.g. DD/MM/YYYY for en-GB).\nAccepts partial dates, e.g. 1/1/2021 will be parsed as 01/01/2021.\nWill throw if the date is can't be parsed"
11655
+ }
11656
+ ],
11657
+ "exports": [
11658
+ {
11659
+ "kind": "js",
11660
+ "name": "formatPresentationDate",
11661
+ "declaration": {
11662
+ "name": "formatPresentationDate",
11663
+ "module": "libs/components/src/lib/date-picker/calendar/presentationDate.ts"
11664
+ }
11665
+ },
11666
+ {
11667
+ "kind": "js",
11668
+ "name": "parsePresentationDate",
11669
+ "declaration": {
11670
+ "name": "parsePresentationDate",
11671
+ "module": "libs/components/src/lib/date-picker/calendar/presentationDate.ts"
11672
+ }
11673
+ }
11674
+ ]
10938
11675
  }
10939
11676
  ]
10940
11677
  }