@navikt/ds-react 5.17.5 → 5.18.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.
- package/_docs.json +544 -64
- package/cjs/index.js +1 -0
- package/cjs/overlays/index.js +5 -0
- package/cjs/overlays/package.json +6 -0
- package/cjs/overlays/portal/Portal.js +55 -0
- package/cjs/tooltip/Tooltip.js +3 -7
- package/cjs/util/Slot.js +5 -2
- package/cjs/util/types/AsChildProps.js +2 -0
- package/esm/date/hooks/useDatepicker.d.ts +1 -1
- package/esm/date/hooks/useMonthPicker.d.ts +1 -1
- package/esm/date/parts/DateInput.d.ts +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/overlays/index.d.ts +2 -0
- package/esm/overlays/index.js +2 -0
- package/esm/overlays/index.js.map +1 -0
- package/esm/overlays/portal/Portal.d.ts +11 -0
- package/esm/overlays/portal/Portal.js +27 -0
- package/esm/overlays/portal/Portal.js.map +1 -0
- package/esm/tooltip/Tooltip.js +4 -8
- package/esm/tooltip/Tooltip.js.map +1 -1
- package/esm/util/Slot.js +5 -2
- package/esm/util/Slot.js.map +1 -1
- package/esm/util/types/AsChildProps.d.ts +36 -0
- package/esm/util/types/AsChildProps.js +2 -0
- package/esm/util/types/AsChildProps.js.map +1 -0
- package/esm/util/types/index.d.ts +1 -0
- package/package.json +3 -3
- package/src/date/hooks/useDatepicker.tsx +1 -1
- package/src/date/hooks/useMonthPicker.tsx +1 -1
- package/src/date/parts/DateInput.tsx +1 -1
- package/src/index.ts +1 -0
- package/src/overlays/index.ts +2 -0
- package/src/overlays/portal/Portal.stories.tsx +99 -0
- package/src/overlays/portal/Portal.tsx +32 -0
- package/src/tooltip/Tooltip.tsx +4 -8
- package/src/util/Slot.tsx +4 -2
- package/src/util/types/AsChildProps.ts +37 -0
- package/src/util/types/index.ts +1 -0
package/_docs.json
CHANGED
|
@@ -2086,60 +2086,6 @@
|
|
|
2086
2086
|
"name": "string"
|
|
2087
2087
|
}
|
|
2088
2088
|
},
|
|
2089
|
-
"aria-label": {
|
|
2090
|
-
"defaultValue": null,
|
|
2091
|
-
"description": "Defines a string value that labels the current element.\nShould be set if not using 'aria-labelledby'\n@see aria-labelledby.",
|
|
2092
|
-
"name": "aria-label",
|
|
2093
|
-
"parent": {
|
|
2094
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2095
|
-
"name": "AriaAttributes"
|
|
2096
|
-
},
|
|
2097
|
-
"declarations": [
|
|
2098
|
-
{
|
|
2099
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2100
|
-
"name": "AriaAttributes"
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"fileName": "src/expansion-card/ExpansionCard.tsx",
|
|
2104
|
-
"name": "TypeLiteral"
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2108
|
-
"name": "AriaAttributes"
|
|
2109
|
-
}
|
|
2110
|
-
],
|
|
2111
|
-
"required": false,
|
|
2112
|
-
"type": {
|
|
2113
|
-
"name": "string"
|
|
2114
|
-
}
|
|
2115
|
-
},
|
|
2116
|
-
"aria-labelledby": {
|
|
2117
|
-
"defaultValue": null,
|
|
2118
|
-
"description": "Identifies the element (or elements) that labels the current element.\nShould be set if not using 'aria-label'\n@see aria-describedby.",
|
|
2119
|
-
"name": "aria-labelledby",
|
|
2120
|
-
"parent": {
|
|
2121
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2122
|
-
"name": "AriaAttributes"
|
|
2123
|
-
},
|
|
2124
|
-
"declarations": [
|
|
2125
|
-
{
|
|
2126
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2127
|
-
"name": "AriaAttributes"
|
|
2128
|
-
},
|
|
2129
|
-
{
|
|
2130
|
-
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
2131
|
-
"name": "AriaAttributes"
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
"fileName": "src/expansion-card/ExpansionCard.tsx",
|
|
2135
|
-
"name": "TypeLiteral"
|
|
2136
|
-
}
|
|
2137
|
-
],
|
|
2138
|
-
"required": false,
|
|
2139
|
-
"type": {
|
|
2140
|
-
"name": "string"
|
|
2141
|
-
}
|
|
2142
|
-
},
|
|
2143
2089
|
"ref": {
|
|
2144
2090
|
"defaultValue": null,
|
|
2145
2091
|
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
|
|
@@ -11082,6 +11028,82 @@
|
|
|
11082
11028
|
"name": "\"absolute\" | \"fixed\""
|
|
11083
11029
|
}
|
|
11084
11030
|
},
|
|
11031
|
+
"month": {
|
|
11032
|
+
"defaultValue": null,
|
|
11033
|
+
"description": "The month displayed in the calendar.\n\nAs opposed to {@link DayPickerBase.defaultMonth}, use this prop with {@link DayPickerBase.onMonthChange} to\nchange the month programmatically.",
|
|
11034
|
+
"name": "month",
|
|
11035
|
+
"parent": {
|
|
11036
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11037
|
+
"name": "DayPickerBase"
|
|
11038
|
+
},
|
|
11039
|
+
"declarations": [
|
|
11040
|
+
{
|
|
11041
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11042
|
+
"name": "DayPickerBase"
|
|
11043
|
+
}
|
|
11044
|
+
],
|
|
11045
|
+
"required": false,
|
|
11046
|
+
"type": {
|
|
11047
|
+
"name": "Date"
|
|
11048
|
+
}
|
|
11049
|
+
},
|
|
11050
|
+
"onMonthChange": {
|
|
11051
|
+
"defaultValue": null,
|
|
11052
|
+
"description": "Event fired when the user navigates between months.",
|
|
11053
|
+
"name": "onMonthChange",
|
|
11054
|
+
"parent": {
|
|
11055
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11056
|
+
"name": "DayPickerBase"
|
|
11057
|
+
},
|
|
11058
|
+
"declarations": [
|
|
11059
|
+
{
|
|
11060
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11061
|
+
"name": "DayPickerBase"
|
|
11062
|
+
}
|
|
11063
|
+
],
|
|
11064
|
+
"required": false,
|
|
11065
|
+
"type": {
|
|
11066
|
+
"name": "MonthChangeEventHandler"
|
|
11067
|
+
}
|
|
11068
|
+
},
|
|
11069
|
+
"today": {
|
|
11070
|
+
"defaultValue": null,
|
|
11071
|
+
"description": "The today’s date. Default is the current date. This Date will get the\n`today` modifier to style the day.",
|
|
11072
|
+
"name": "today",
|
|
11073
|
+
"parent": {
|
|
11074
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11075
|
+
"name": "DayPickerBase"
|
|
11076
|
+
},
|
|
11077
|
+
"declarations": [
|
|
11078
|
+
{
|
|
11079
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11080
|
+
"name": "DayPickerBase"
|
|
11081
|
+
}
|
|
11082
|
+
],
|
|
11083
|
+
"required": false,
|
|
11084
|
+
"type": {
|
|
11085
|
+
"name": "Date"
|
|
11086
|
+
}
|
|
11087
|
+
},
|
|
11088
|
+
"onDayClick": {
|
|
11089
|
+
"defaultValue": null,
|
|
11090
|
+
"description": "",
|
|
11091
|
+
"name": "onDayClick",
|
|
11092
|
+
"parent": {
|
|
11093
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11094
|
+
"name": "DayPickerBase"
|
|
11095
|
+
},
|
|
11096
|
+
"declarations": [
|
|
11097
|
+
{
|
|
11098
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11099
|
+
"name": "DayPickerBase"
|
|
11100
|
+
}
|
|
11101
|
+
],
|
|
11102
|
+
"required": false,
|
|
11103
|
+
"type": {
|
|
11104
|
+
"name": "DayClickEventHandler"
|
|
11105
|
+
}
|
|
11106
|
+
},
|
|
11085
11107
|
"mode": {
|
|
11086
11108
|
"defaultValue": null,
|
|
11087
11109
|
"description": "",
|
|
@@ -11300,6 +11322,82 @@
|
|
|
11300
11322
|
"name": "ReactNode"
|
|
11301
11323
|
}
|
|
11302
11324
|
},
|
|
11325
|
+
"month": {
|
|
11326
|
+
"defaultValue": null,
|
|
11327
|
+
"description": "The month displayed in the calendar.\n\nAs opposed to {@link DayPickerBase.defaultMonth}, use this prop with {@link DayPickerBase.onMonthChange} to\nchange the month programmatically.",
|
|
11328
|
+
"name": "month",
|
|
11329
|
+
"parent": {
|
|
11330
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11331
|
+
"name": "DayPickerBase"
|
|
11332
|
+
},
|
|
11333
|
+
"declarations": [
|
|
11334
|
+
{
|
|
11335
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11336
|
+
"name": "DayPickerBase"
|
|
11337
|
+
}
|
|
11338
|
+
],
|
|
11339
|
+
"required": false,
|
|
11340
|
+
"type": {
|
|
11341
|
+
"name": "Date"
|
|
11342
|
+
}
|
|
11343
|
+
},
|
|
11344
|
+
"onMonthChange": {
|
|
11345
|
+
"defaultValue": null,
|
|
11346
|
+
"description": "Event fired when the user navigates between months.",
|
|
11347
|
+
"name": "onMonthChange",
|
|
11348
|
+
"parent": {
|
|
11349
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11350
|
+
"name": "DayPickerBase"
|
|
11351
|
+
},
|
|
11352
|
+
"declarations": [
|
|
11353
|
+
{
|
|
11354
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11355
|
+
"name": "DayPickerBase"
|
|
11356
|
+
}
|
|
11357
|
+
],
|
|
11358
|
+
"required": false,
|
|
11359
|
+
"type": {
|
|
11360
|
+
"name": "MonthChangeEventHandler"
|
|
11361
|
+
}
|
|
11362
|
+
},
|
|
11363
|
+
"today": {
|
|
11364
|
+
"defaultValue": null,
|
|
11365
|
+
"description": "The today’s date. Default is the current date. This Date will get the\n`today` modifier to style the day.",
|
|
11366
|
+
"name": "today",
|
|
11367
|
+
"parent": {
|
|
11368
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11369
|
+
"name": "DayPickerBase"
|
|
11370
|
+
},
|
|
11371
|
+
"declarations": [
|
|
11372
|
+
{
|
|
11373
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11374
|
+
"name": "DayPickerBase"
|
|
11375
|
+
}
|
|
11376
|
+
],
|
|
11377
|
+
"required": false,
|
|
11378
|
+
"type": {
|
|
11379
|
+
"name": "Date"
|
|
11380
|
+
}
|
|
11381
|
+
},
|
|
11382
|
+
"onDayClick": {
|
|
11383
|
+
"defaultValue": null,
|
|
11384
|
+
"description": "",
|
|
11385
|
+
"name": "onDayClick",
|
|
11386
|
+
"parent": {
|
|
11387
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11388
|
+
"name": "DayPickerBase"
|
|
11389
|
+
},
|
|
11390
|
+
"declarations": [
|
|
11391
|
+
{
|
|
11392
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11393
|
+
"name": "DayPickerBase"
|
|
11394
|
+
}
|
|
11395
|
+
],
|
|
11396
|
+
"required": false,
|
|
11397
|
+
"type": {
|
|
11398
|
+
"name": "DayClickEventHandler"
|
|
11399
|
+
}
|
|
11400
|
+
},
|
|
11303
11401
|
"locale": {
|
|
11304
11402
|
"defaultValue": {
|
|
11305
11403
|
"value": "nb"
|
|
@@ -11741,7 +11839,7 @@
|
|
|
11741
11839
|
"defaultValue": {
|
|
11742
11840
|
"value": "true"
|
|
11743
11841
|
},
|
|
11744
|
-
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn
|
|
11842
|
+
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn 2024 this equals to 1944 - 2043",
|
|
11745
11843
|
"name": "allowTwoDigitYear",
|
|
11746
11844
|
"parent": {
|
|
11747
11845
|
"fileName": "src/date/hooks/useDatepicker.tsx",
|
|
@@ -11836,6 +11934,25 @@
|
|
|
11836
11934
|
"name": "Date"
|
|
11837
11935
|
}
|
|
11838
11936
|
},
|
|
11937
|
+
"today": {
|
|
11938
|
+
"defaultValue": null,
|
|
11939
|
+
"description": "The today’s date. Default is the current date. This Date will get the\n`today` modifier to style the day.",
|
|
11940
|
+
"name": "today",
|
|
11941
|
+
"parent": {
|
|
11942
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11943
|
+
"name": "DayPickerBase"
|
|
11944
|
+
},
|
|
11945
|
+
"declarations": [
|
|
11946
|
+
{
|
|
11947
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
11948
|
+
"name": "DayPickerBase"
|
|
11949
|
+
}
|
|
11950
|
+
],
|
|
11951
|
+
"required": false,
|
|
11952
|
+
"type": {
|
|
11953
|
+
"name": "Date"
|
|
11954
|
+
}
|
|
11955
|
+
},
|
|
11839
11956
|
"disabled": {
|
|
11840
11957
|
"defaultValue": null,
|
|
11841
11958
|
"description": "Apply the disabled modifier to the matching days.\nhttps://react-day-picker.js.org/api/types/Matcher",
|
|
@@ -11983,7 +12100,7 @@
|
|
|
11983
12100
|
"defaultValue": {
|
|
11984
12101
|
"value": "true"
|
|
11985
12102
|
},
|
|
11986
|
-
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn
|
|
12103
|
+
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn 2024 this equals to 1944 - 2043",
|
|
11987
12104
|
"name": "allowTwoDigitYear",
|
|
11988
12105
|
"parent": {
|
|
11989
12106
|
"fileName": "src/date/hooks/useMonthPicker.tsx",
|
|
@@ -12238,6 +12355,25 @@
|
|
|
12238
12355
|
"name": "Date"
|
|
12239
12356
|
}
|
|
12240
12357
|
},
|
|
12358
|
+
"today": {
|
|
12359
|
+
"defaultValue": null,
|
|
12360
|
+
"description": "The today’s date. Default is the current date. This Date will get the\n`today` modifier to style the day.",
|
|
12361
|
+
"name": "today",
|
|
12362
|
+
"parent": {
|
|
12363
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
12364
|
+
"name": "DayPickerBase"
|
|
12365
|
+
},
|
|
12366
|
+
"declarations": [
|
|
12367
|
+
{
|
|
12368
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
12369
|
+
"name": "DayPickerBase"
|
|
12370
|
+
}
|
|
12371
|
+
],
|
|
12372
|
+
"required": false,
|
|
12373
|
+
"type": {
|
|
12374
|
+
"name": "Date"
|
|
12375
|
+
}
|
|
12376
|
+
},
|
|
12241
12377
|
"disabled": {
|
|
12242
12378
|
"defaultValue": null,
|
|
12243
12379
|
"description": "Apply the disabled modifier to the matching days.\nhttps://react-day-picker.js.org/api/types/Matcher",
|
|
@@ -12341,7 +12477,7 @@
|
|
|
12341
12477
|
"defaultValue": {
|
|
12342
12478
|
"value": "true"
|
|
12343
12479
|
},
|
|
12344
|
-
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn
|
|
12480
|
+
"description": "Allows input of with 'yy' year format.\n@Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.\nIn 2024 this equals to 1944 - 2043",
|
|
12345
12481
|
"name": "allowTwoDigitYear",
|
|
12346
12482
|
"parent": {
|
|
12347
12483
|
"fileName": "react/src/date/hooks/useDatepicker.tsx",
|
|
@@ -13120,7 +13256,7 @@
|
|
|
13120
13256
|
"defaultValue": {
|
|
13121
13257
|
"value": "false"
|
|
13122
13258
|
},
|
|
13123
|
-
"description": "Shows label and description for
|
|
13259
|
+
"description": "Shows label and description for screen readers only",
|
|
13124
13260
|
"name": "hideLabel",
|
|
13125
13261
|
"parent": {
|
|
13126
13262
|
"fileName": "src/date/parts/DateInput.tsx",
|
|
@@ -13377,7 +13513,7 @@
|
|
|
13377
13513
|
"defaultValue": {
|
|
13378
13514
|
"value": "false"
|
|
13379
13515
|
},
|
|
13380
|
-
"description": "Shows label and description for
|
|
13516
|
+
"description": "Shows label and description for screen readers only",
|
|
13381
13517
|
"name": "hideLabel",
|
|
13382
13518
|
"parent": {
|
|
13383
13519
|
"fileName": "src/date/parts/DateInput.tsx",
|
|
@@ -18469,6 +18605,88 @@
|
|
|
18469
18605
|
}
|
|
18470
18606
|
}
|
|
18471
18607
|
},
|
|
18608
|
+
{
|
|
18609
|
+
"filePath": "src/overlays/portal/Portal.tsx",
|
|
18610
|
+
"displayName": "Portal",
|
|
18611
|
+
"props": {
|
|
18612
|
+
"rootElement": {
|
|
18613
|
+
"defaultValue": null,
|
|
18614
|
+
"description": "An optional container where the portaled content should be appended.",
|
|
18615
|
+
"name": "rootElement",
|
|
18616
|
+
"parent": {
|
|
18617
|
+
"fileName": "src/overlays/portal/Portal.tsx",
|
|
18618
|
+
"name": "PortalBaseProps"
|
|
18619
|
+
},
|
|
18620
|
+
"declarations": [
|
|
18621
|
+
{
|
|
18622
|
+
"fileName": "src/overlays/portal/Portal.tsx",
|
|
18623
|
+
"name": "PortalBaseProps"
|
|
18624
|
+
}
|
|
18625
|
+
],
|
|
18626
|
+
"required": false,
|
|
18627
|
+
"type": {
|
|
18628
|
+
"name": "HTMLElement | null"
|
|
18629
|
+
}
|
|
18630
|
+
},
|
|
18631
|
+
"className": {
|
|
18632
|
+
"defaultValue": null,
|
|
18633
|
+
"description": "",
|
|
18634
|
+
"name": "className",
|
|
18635
|
+
"parent": {
|
|
18636
|
+
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
18637
|
+
"name": "HTMLAttributes"
|
|
18638
|
+
},
|
|
18639
|
+
"declarations": [
|
|
18640
|
+
{
|
|
18641
|
+
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
18642
|
+
"name": "HTMLAttributes"
|
|
18643
|
+
}
|
|
18644
|
+
],
|
|
18645
|
+
"required": false,
|
|
18646
|
+
"type": {
|
|
18647
|
+
"name": "string"
|
|
18648
|
+
}
|
|
18649
|
+
},
|
|
18650
|
+
"asChild": {
|
|
18651
|
+
"defaultValue": null,
|
|
18652
|
+
"description": "Renders the component and its child as a single element,\nmerging the props of the component with the props of the child.\n@example ```tsx\n<Component asChild data-prop>\n <ChildComponent data-child />\n</Component>\n\n// Renders\n<MergedComponent data-prop data-child />\n```\n@example ```tsx\n<Component asChild data-prop>\n <ChildComponent data-child />\n</Component>\n\n// Renders\n<MergedComponent data-prop data-child />\n```",
|
|
18653
|
+
"name": "asChild",
|
|
18654
|
+
"declarations": [
|
|
18655
|
+
{
|
|
18656
|
+
"fileName": "react/src/util/types/AsChildProps.ts",
|
|
18657
|
+
"name": "TypeLiteral"
|
|
18658
|
+
},
|
|
18659
|
+
{
|
|
18660
|
+
"fileName": "react/src/util/types/AsChildProps.ts",
|
|
18661
|
+
"name": "TypeLiteral"
|
|
18662
|
+
}
|
|
18663
|
+
],
|
|
18664
|
+
"required": false,
|
|
18665
|
+
"type": {
|
|
18666
|
+
"name": "boolean"
|
|
18667
|
+
}
|
|
18668
|
+
},
|
|
18669
|
+
"ref": {
|
|
18670
|
+
"defaultValue": null,
|
|
18671
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
|
|
18672
|
+
"name": "ref",
|
|
18673
|
+
"parent": {
|
|
18674
|
+
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
18675
|
+
"name": "RefAttributes"
|
|
18676
|
+
},
|
|
18677
|
+
"declarations": [
|
|
18678
|
+
{
|
|
18679
|
+
"fileName": "aksel/node_modules/@types/react/index.d.ts",
|
|
18680
|
+
"name": "RefAttributes"
|
|
18681
|
+
}
|
|
18682
|
+
],
|
|
18683
|
+
"required": false,
|
|
18684
|
+
"type": {
|
|
18685
|
+
"name": "Ref<HTMLDivElement>"
|
|
18686
|
+
}
|
|
18687
|
+
}
|
|
18688
|
+
}
|
|
18689
|
+
},
|
|
18472
18690
|
{
|
|
18473
18691
|
"filePath": "src/timeline/period/NonClickablePeriod.tsx",
|
|
18474
18692
|
"displayName": "NonClickablePeriod",
|
|
@@ -19011,22 +19229,178 @@
|
|
|
19011
19229
|
{
|
|
19012
19230
|
"filePath": "src/date/datepicker/parts/Caption.tsx",
|
|
19013
19231
|
"displayName": "DatePickerCaption",
|
|
19014
|
-
"props": {
|
|
19232
|
+
"props": {
|
|
19233
|
+
"id": {
|
|
19234
|
+
"defaultValue": null,
|
|
19235
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19236
|
+
"name": "id",
|
|
19237
|
+
"parent": {
|
|
19238
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19239
|
+
"name": "CaptionProps"
|
|
19240
|
+
},
|
|
19241
|
+
"declarations": [
|
|
19242
|
+
{
|
|
19243
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19244
|
+
"name": "CaptionProps"
|
|
19245
|
+
}
|
|
19246
|
+
],
|
|
19247
|
+
"required": false,
|
|
19248
|
+
"type": {
|
|
19249
|
+
"name": "string"
|
|
19250
|
+
}
|
|
19251
|
+
},
|
|
19252
|
+
"displayMonth": {
|
|
19253
|
+
"defaultValue": null,
|
|
19254
|
+
"description": "The month where the caption is displayed.",
|
|
19255
|
+
"name": "displayMonth",
|
|
19256
|
+
"parent": {
|
|
19257
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19258
|
+
"name": "CaptionProps"
|
|
19259
|
+
},
|
|
19260
|
+
"declarations": [
|
|
19261
|
+
{
|
|
19262
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19263
|
+
"name": "CaptionProps"
|
|
19264
|
+
}
|
|
19265
|
+
],
|
|
19266
|
+
"required": true,
|
|
19267
|
+
"type": {
|
|
19268
|
+
"name": "Date"
|
|
19269
|
+
}
|
|
19270
|
+
}
|
|
19271
|
+
}
|
|
19015
19272
|
},
|
|
19016
19273
|
{
|
|
19017
19274
|
"filePath": "src/date/datepicker/parts/Caption.tsx",
|
|
19018
19275
|
"displayName": "Caption",
|
|
19019
|
-
"props": {
|
|
19276
|
+
"props": {
|
|
19277
|
+
"id": {
|
|
19278
|
+
"defaultValue": null,
|
|
19279
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19280
|
+
"name": "id",
|
|
19281
|
+
"parent": {
|
|
19282
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19283
|
+
"name": "CaptionProps"
|
|
19284
|
+
},
|
|
19285
|
+
"declarations": [
|
|
19286
|
+
{
|
|
19287
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19288
|
+
"name": "CaptionProps"
|
|
19289
|
+
}
|
|
19290
|
+
],
|
|
19291
|
+
"required": false,
|
|
19292
|
+
"type": {
|
|
19293
|
+
"name": "string"
|
|
19294
|
+
}
|
|
19295
|
+
},
|
|
19296
|
+
"displayMonth": {
|
|
19297
|
+
"defaultValue": null,
|
|
19298
|
+
"description": "The month where the caption is displayed.",
|
|
19299
|
+
"name": "displayMonth",
|
|
19300
|
+
"parent": {
|
|
19301
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19302
|
+
"name": "CaptionProps"
|
|
19303
|
+
},
|
|
19304
|
+
"declarations": [
|
|
19305
|
+
{
|
|
19306
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19307
|
+
"name": "CaptionProps"
|
|
19308
|
+
}
|
|
19309
|
+
],
|
|
19310
|
+
"required": true,
|
|
19311
|
+
"type": {
|
|
19312
|
+
"name": "Date"
|
|
19313
|
+
}
|
|
19314
|
+
}
|
|
19315
|
+
}
|
|
19020
19316
|
},
|
|
19021
19317
|
{
|
|
19022
19318
|
"filePath": "src/date/datepicker/parts/DayButton.tsx",
|
|
19023
19319
|
"displayName": "DayButton",
|
|
19024
|
-
"props": {
|
|
19320
|
+
"props": {
|
|
19321
|
+
"displayMonth": {
|
|
19322
|
+
"defaultValue": null,
|
|
19323
|
+
"description": "The month where the date is displayed.",
|
|
19324
|
+
"name": "displayMonth",
|
|
19325
|
+
"parent": {
|
|
19326
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19327
|
+
"name": "DayProps"
|
|
19328
|
+
},
|
|
19329
|
+
"declarations": [
|
|
19330
|
+
{
|
|
19331
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19332
|
+
"name": "DayProps"
|
|
19333
|
+
}
|
|
19334
|
+
],
|
|
19335
|
+
"required": true,
|
|
19336
|
+
"type": {
|
|
19337
|
+
"name": "Date"
|
|
19338
|
+
}
|
|
19339
|
+
},
|
|
19340
|
+
"date": {
|
|
19341
|
+
"defaultValue": null,
|
|
19342
|
+
"description": "The date to render.",
|
|
19343
|
+
"name": "date",
|
|
19344
|
+
"parent": {
|
|
19345
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19346
|
+
"name": "DayProps"
|
|
19347
|
+
},
|
|
19348
|
+
"declarations": [
|
|
19349
|
+
{
|
|
19350
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19351
|
+
"name": "DayProps"
|
|
19352
|
+
}
|
|
19353
|
+
],
|
|
19354
|
+
"required": true,
|
|
19355
|
+
"type": {
|
|
19356
|
+
"name": "Date"
|
|
19357
|
+
}
|
|
19358
|
+
}
|
|
19359
|
+
}
|
|
19025
19360
|
},
|
|
19026
19361
|
{
|
|
19027
19362
|
"filePath": "src/date/datepicker/parts/DropdownCaption.tsx",
|
|
19028
19363
|
"displayName": "DropdownCaption",
|
|
19029
|
-
"props": {
|
|
19364
|
+
"props": {
|
|
19365
|
+
"id": {
|
|
19366
|
+
"defaultValue": null,
|
|
19367
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19368
|
+
"name": "id",
|
|
19369
|
+
"parent": {
|
|
19370
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19371
|
+
"name": "CaptionProps"
|
|
19372
|
+
},
|
|
19373
|
+
"declarations": [
|
|
19374
|
+
{
|
|
19375
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19376
|
+
"name": "CaptionProps"
|
|
19377
|
+
}
|
|
19378
|
+
],
|
|
19379
|
+
"required": false,
|
|
19380
|
+
"type": {
|
|
19381
|
+
"name": "string"
|
|
19382
|
+
}
|
|
19383
|
+
},
|
|
19384
|
+
"displayMonth": {
|
|
19385
|
+
"defaultValue": null,
|
|
19386
|
+
"description": "The month where the caption is displayed.",
|
|
19387
|
+
"name": "displayMonth",
|
|
19388
|
+
"parent": {
|
|
19389
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19390
|
+
"name": "CaptionProps"
|
|
19391
|
+
},
|
|
19392
|
+
"declarations": [
|
|
19393
|
+
{
|
|
19394
|
+
"fileName": "aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19395
|
+
"name": "CaptionProps"
|
|
19396
|
+
}
|
|
19397
|
+
],
|
|
19398
|
+
"required": true,
|
|
19399
|
+
"type": {
|
|
19400
|
+
"name": "Date"
|
|
19401
|
+
}
|
|
19402
|
+
}
|
|
19403
|
+
}
|
|
19030
19404
|
},
|
|
19031
19405
|
{
|
|
19032
19406
|
"filePath": "src/date/datepicker/parts/HeadRow.tsx",
|
|
@@ -19036,7 +19410,113 @@
|
|
|
19036
19410
|
{
|
|
19037
19411
|
"filePath": "src/date/datepicker/parts/HeadRow.tsx",
|
|
19038
19412
|
"displayName": "getWeekdays",
|
|
19039
|
-
"props": {
|
|
19413
|
+
"props": {
|
|
19414
|
+
"code": {
|
|
19415
|
+
"defaultValue": null,
|
|
19416
|
+
"description": "",
|
|
19417
|
+
"name": "code",
|
|
19418
|
+
"declarations": [
|
|
19419
|
+
{
|
|
19420
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19421
|
+
"name": "TypeLiteral"
|
|
19422
|
+
}
|
|
19423
|
+
],
|
|
19424
|
+
"required": false,
|
|
19425
|
+
"type": {
|
|
19426
|
+
"name": "string"
|
|
19427
|
+
}
|
|
19428
|
+
},
|
|
19429
|
+
"formatDistance": {
|
|
19430
|
+
"defaultValue": null,
|
|
19431
|
+
"description": "",
|
|
19432
|
+
"name": "formatDistance",
|
|
19433
|
+
"declarations": [
|
|
19434
|
+
{
|
|
19435
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19436
|
+
"name": "TypeLiteral"
|
|
19437
|
+
}
|
|
19438
|
+
],
|
|
19439
|
+
"required": false,
|
|
19440
|
+
"type": {
|
|
19441
|
+
"name": "((...args: any[]) => any)"
|
|
19442
|
+
}
|
|
19443
|
+
},
|
|
19444
|
+
"formatRelative": {
|
|
19445
|
+
"defaultValue": null,
|
|
19446
|
+
"description": "",
|
|
19447
|
+
"name": "formatRelative",
|
|
19448
|
+
"declarations": [
|
|
19449
|
+
{
|
|
19450
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19451
|
+
"name": "TypeLiteral"
|
|
19452
|
+
}
|
|
19453
|
+
],
|
|
19454
|
+
"required": false,
|
|
19455
|
+
"type": {
|
|
19456
|
+
"name": "((...args: any[]) => any)"
|
|
19457
|
+
}
|
|
19458
|
+
},
|
|
19459
|
+
"localize": {
|
|
19460
|
+
"defaultValue": null,
|
|
19461
|
+
"description": "",
|
|
19462
|
+
"name": "localize",
|
|
19463
|
+
"declarations": [
|
|
19464
|
+
{
|
|
19465
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19466
|
+
"name": "TypeLiteral"
|
|
19467
|
+
}
|
|
19468
|
+
],
|
|
19469
|
+
"required": false,
|
|
19470
|
+
"type": {
|
|
19471
|
+
"name": "{ ordinalNumber: (...args: any[]) => any; era: (...args: any[]) => any; quarter: (...args: any[]) => any; month: (...args: any[]) => any; day: (...args: any[]) => any; dayPeriod: (...args: any[]) => any; }"
|
|
19472
|
+
}
|
|
19473
|
+
},
|
|
19474
|
+
"formatLong": {
|
|
19475
|
+
"defaultValue": null,
|
|
19476
|
+
"description": "",
|
|
19477
|
+
"name": "formatLong",
|
|
19478
|
+
"declarations": [
|
|
19479
|
+
{
|
|
19480
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19481
|
+
"name": "TypeLiteral"
|
|
19482
|
+
}
|
|
19483
|
+
],
|
|
19484
|
+
"required": false,
|
|
19485
|
+
"type": {
|
|
19486
|
+
"name": "{ date: (...args: any[]) => any; time: (...args: any[]) => any; dateTime: (...args: any[]) => any; }"
|
|
19487
|
+
}
|
|
19488
|
+
},
|
|
19489
|
+
"match": {
|
|
19490
|
+
"defaultValue": null,
|
|
19491
|
+
"description": "",
|
|
19492
|
+
"name": "match",
|
|
19493
|
+
"declarations": [
|
|
19494
|
+
{
|
|
19495
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19496
|
+
"name": "TypeLiteral"
|
|
19497
|
+
}
|
|
19498
|
+
],
|
|
19499
|
+
"required": false,
|
|
19500
|
+
"type": {
|
|
19501
|
+
"name": "{ ordinalNumber: (...args: any[]) => any; era: (...args: any[]) => any; quarter: (...args: any[]) => any; month: (...args: any[]) => any; day: (...args: any[]) => any; dayPeriod: (...args: any[]) => any; }"
|
|
19502
|
+
}
|
|
19503
|
+
},
|
|
19504
|
+
"options": {
|
|
19505
|
+
"defaultValue": null,
|
|
19506
|
+
"description": "",
|
|
19507
|
+
"name": "options",
|
|
19508
|
+
"declarations": [
|
|
19509
|
+
{
|
|
19510
|
+
"fileName": "aksel/node_modules/date-fns/typings.d.ts",
|
|
19511
|
+
"name": "TypeLiteral"
|
|
19512
|
+
}
|
|
19513
|
+
],
|
|
19514
|
+
"required": false,
|
|
19515
|
+
"type": {
|
|
19516
|
+
"name": "{ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7; } | undefined"
|
|
19517
|
+
}
|
|
19518
|
+
}
|
|
19519
|
+
}
|
|
19040
19520
|
},
|
|
19041
19521
|
{
|
|
19042
19522
|
"filePath": "src/date/datepicker/parts/Row.tsx",
|