@navikt/ds-react 6.0.0-alpha.2 → 6.0.0-alpha.7
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 +520 -60
- package/cjs/chat/Bubble.d.ts +0 -5
- package/cjs/chat/Bubble.js +2 -2
- package/cjs/chat/Bubble.js.map +1 -1
- package/cjs/chat/Chat.d.ts +0 -10
- package/cjs/chat/Chat.js +3 -3
- package/cjs/chat/Chat.js.map +1 -1
- package/cjs/date/context/useSharedMonthContext.js +2 -6
- package/cjs/date/context/useSharedMonthContext.js.map +1 -1
- package/cjs/date/datepicker/DatePicker.js +3 -5
- package/cjs/date/datepicker/DatePicker.js.map +1 -1
- package/cjs/date/datepicker/DatePickerStandalone.js +3 -5
- package/cjs/date/datepicker/DatePickerStandalone.js.map +1 -1
- package/cjs/date/datepicker/parts/DayButton.js +2 -5
- package/cjs/date/datepicker/parts/DayButton.js.map +1 -1
- package/cjs/date/datepicker/parts/DropdownCaption.js +3 -6
- package/cjs/date/datepicker/parts/DropdownCaption.js.map +1 -1
- package/cjs/date/datepicker/parts/Row.js +2 -1
- package/cjs/date/datepicker/parts/Row.js.map +1 -1
- package/cjs/date/hooks/useDatepicker.d.ts +1 -6
- package/cjs/date/hooks/useDatepicker.js +7 -11
- package/cjs/date/hooks/useDatepicker.js.map +1 -1
- package/cjs/date/hooks/useMonthPicker.d.ts +1 -6
- package/cjs/date/hooks/useMonthPicker.js.map +1 -1
- package/cjs/date/hooks/useRangeDatepicker.js +20 -25
- package/cjs/date/hooks/useRangeDatepicker.js.map +1 -1
- package/cjs/date/monthpicker/MonthButton.js +11 -15
- package/cjs/date/monthpicker/MonthButton.js.map +1 -1
- package/cjs/date/monthpicker/MonthCaption.js +4 -7
- package/cjs/date/monthpicker/MonthCaption.js.map +1 -1
- package/cjs/date/monthpicker/MonthPicker.js +7 -1
- package/cjs/date/monthpicker/MonthPicker.js.map +1 -1
- package/cjs/date/monthpicker/MonthPickerStandalone.js +7 -1
- package/cjs/date/monthpicker/MonthPickerStandalone.js.map +1 -1
- package/cjs/date/monthpicker/MonthSelector.js +8 -11
- package/cjs/date/monthpicker/MonthSelector.js.map +1 -1
- package/cjs/date/parts/DateInput.d.ts +1 -1
- package/cjs/date/utils/check-dates.js +2 -6
- package/cjs/date/utils/check-dates.js.map +1 -1
- package/cjs/date/utils/dates-disabled.js +3 -6
- package/cjs/date/utils/dates-disabled.js.map +1 -1
- package/cjs/date/utils/format-date.d.ts +1 -0
- package/cjs/date/utils/format-date.js +2 -5
- package/cjs/date/utils/format-date.js.map +1 -1
- package/cjs/date/utils/get-dates.js +14 -21
- package/cjs/date/utils/get-dates.js.map +1 -1
- package/cjs/date/utils/get-initial-year.js +2 -5
- package/cjs/date/utils/get-initial-year.js.map +1 -1
- package/cjs/date/utils/is-match.js +14 -20
- package/cjs/date/utils/is-match.js.map +1 -1
- package/cjs/date/utils/labels.d.ts +1 -0
- package/cjs/date/utils/labels.js.map +1 -1
- package/cjs/date/utils/locale.d.ts +1 -1
- package/cjs/date/utils/locale.js +4 -9
- package/cjs/date/utils/locale.js.map +1 -1
- package/cjs/date/utils/navigation.js +21 -24
- package/cjs/date/utils/navigation.js.map +1 -1
- package/cjs/date/utils/parse-date.d.ts +1 -0
- package/cjs/date/utils/parse-date.js +8 -13
- package/cjs/date/utils/parse-date.js.map +1 -1
- package/cjs/form/Textarea.js +8 -8
- package/cjs/form/Textarea.js.map +1 -1
- package/cjs/form/combobox/Combobox.js +1 -1
- package/cjs/form/combobox/Combobox.js.map +1 -1
- package/cjs/form/combobox/ComboboxProvider.js +2 -1
- package/cjs/form/combobox/ComboboxProvider.js.map +1 -1
- package/cjs/form/combobox/ComboboxWrapper.js +1 -1
- package/cjs/form/combobox/ComboboxWrapper.js.map +1 -1
- package/cjs/form/combobox/FilteredOptions/FilteredOptions.js +59 -41
- package/cjs/form/combobox/FilteredOptions/FilteredOptions.js.map +1 -1
- package/cjs/form/combobox/FilteredOptions/filtered-options-util.d.ts +2 -1
- package/cjs/form/combobox/FilteredOptions/filtered-options-util.js +3 -1
- package/cjs/form/combobox/FilteredOptions/filtered-options-util.js.map +1 -1
- package/cjs/form/combobox/FilteredOptions/filteredOptionsContext.js +15 -3
- package/cjs/form/combobox/FilteredOptions/filteredOptionsContext.js.map +1 -1
- package/cjs/form/combobox/FilteredOptions/useVirtualFocus.d.ts +2 -4
- package/cjs/form/combobox/FilteredOptions/useVirtualFocus.js +52 -32
- package/cjs/form/combobox/FilteredOptions/useVirtualFocus.js.map +1 -1
- package/cjs/form/combobox/Input/Input.js +3 -1
- package/cjs/form/combobox/Input/Input.js.map +1 -1
- package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.d.ts +5 -2
- package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.js +3 -1
- package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.js.map +1 -1
- package/cjs/form/combobox/types.d.ts +14 -0
- package/cjs/form/error-summary/ErrorSummary.d.ts +9 -3
- package/cjs/form/error-summary/ErrorSummary.js +4 -9
- package/cjs/form/error-summary/ErrorSummary.js.map +1 -1
- package/cjs/form/error-summary/ErrorSummaryItem.d.ts +1 -1
- package/cjs/form/error-summary/ErrorSummaryItem.js +2 -1
- package/cjs/form/error-summary/ErrorSummaryItem.js.map +1 -1
- package/cjs/form/search/Search.d.ts +1 -0
- package/cjs/form/search/Search.js +2 -2
- package/cjs/form/search/Search.js.map +1 -1
- package/cjs/index.d.ts +1 -2
- package/cjs/index.js +1 -3
- package/cjs/index.js.map +1 -1
- package/cjs/layout/bleed/Bleed.d.ts +2 -2
- package/cjs/layout/utilities/css.js +4 -0
- package/cjs/layout/utilities/css.js.map +1 -1
- package/cjs/layout/utilities/types.d.ts +1 -1
- package/cjs/overlays/index.d.ts +2 -0
- package/cjs/overlays/index.js +6 -0
- package/cjs/overlays/index.js.map +1 -0
- package/cjs/overlays/portal/Portal.d.ts +11 -0
- package/cjs/{grid/Grid.js → overlays/portal/Portal.js} +15 -11
- package/cjs/overlays/portal/Portal.js.map +1 -0
- package/cjs/tabs/TabList.js +2 -2
- package/cjs/tabs/TabList.js.map +1 -1
- package/cjs/tabs/TabPanel.js +2 -2
- package/cjs/tabs/TabPanel.js.map +1 -1
- package/cjs/timeline/AxisLabels.js +4 -4
- package/cjs/timeline/AxisLabels.js.map +1 -1
- package/cjs/tooltip/Tooltip.js +3 -7
- package/cjs/tooltip/Tooltip.js.map +1 -1
- package/cjs/util/Slot.js +5 -2
- package/cjs/util/Slot.js.map +1 -1
- package/cjs/util/TextareaAutoSize.js +14 -24
- package/cjs/util/TextareaAutoSize.js.map +1 -1
- package/cjs/util/types/AsChildProps.d.ts +36 -0
- package/cjs/util/types/AsChildProps.js +3 -0
- package/cjs/util/types/AsChildProps.js.map +1 -0
- package/cjs/util/types/index.d.ts +1 -0
- package/esm/accordion/Accordion.d.ts +3 -3
- package/esm/accordion/Accordion.js +4 -4
- package/esm/accordion/AccordionContent.js +2 -2
- package/esm/accordion/AccordionHeader.js +4 -4
- package/esm/accordion/AccordionItem.js +3 -3
- package/esm/accordion/index.d.ts +1 -1
- package/esm/accordion/index.js +1 -1
- package/esm/alert/Alert.js +2 -2
- package/esm/alert/index.d.ts +2 -2
- package/esm/alert/index.js +1 -1
- package/esm/button/Button.d.ts +1 -1
- package/esm/button/Button.js +6 -6
- package/esm/button/index.d.ts +2 -2
- package/esm/button/index.js +1 -1
- package/esm/chat/Bubble.d.ts +0 -5
- package/esm/chat/Bubble.js +3 -3
- package/esm/chat/Bubble.js.map +1 -1
- package/esm/chat/Chat.d.ts +1 -11
- package/esm/chat/Chat.js +5 -5
- package/esm/chat/Chat.js.map +1 -1
- package/esm/chat/index.d.ts +1 -1
- package/esm/chat/index.js +1 -1
- package/esm/chips/Chips.d.ts +3 -3
- package/esm/chips/Chips.js +2 -2
- package/esm/chips/Removable.js +1 -1
- package/esm/chips/Toggle.d.ts +1 -1
- package/esm/chips/index.d.ts +1 -1
- package/esm/chips/index.js +1 -1
- package/esm/copybutton/CopyButton.js +3 -3
- package/esm/copybutton/index.d.ts +1 -1
- package/esm/copybutton/index.js +1 -1
- package/esm/date/context/index.d.ts +2 -2
- package/esm/date/context/index.js +2 -2
- package/esm/date/context/useSharedMonthContext.d.ts +1 -1
- package/esm/date/context/useSharedMonthContext.js +2 -3
- package/esm/date/context/useSharedMonthContext.js.map +1 -1
- package/esm/date/datepicker/DatePicker.d.ts +3 -3
- package/esm/date/datepicker/DatePicker.js +15 -17
- package/esm/date/datepicker/DatePicker.js.map +1 -1
- package/esm/date/datepicker/DatePickerStandalone.d.ts +1 -1
- package/esm/date/datepicker/DatePickerStandalone.js +9 -11
- package/esm/date/datepicker/DatePickerStandalone.js.map +1 -1
- package/esm/date/datepicker/parts/Caption.js +3 -3
- package/esm/date/datepicker/parts/DayButton.js +1 -1
- package/esm/date/datepicker/parts/DayButton.js.map +1 -1
- package/esm/date/datepicker/parts/DropdownCaption.js +6 -9
- package/esm/date/datepicker/parts/DropdownCaption.js.map +1 -1
- package/esm/date/datepicker/parts/HeadRow.js +1 -1
- package/esm/date/datepicker/parts/Row.js +5 -4
- package/esm/date/datepicker/parts/Row.js.map +1 -1
- package/esm/date/datepicker/parts/WeekNumber.js +1 -1
- package/esm/date/datepicker/parts/WeekRow.js +6 -6
- package/esm/date/hooks/index.d.ts +6 -6
- package/esm/date/hooks/index.js +3 -3
- package/esm/date/hooks/useDatepicker.d.ts +3 -8
- package/esm/date/hooks/useDatepicker.js +2 -3
- package/esm/date/hooks/useDatepicker.js.map +1 -1
- package/esm/date/hooks/useMonthPicker.d.ts +3 -8
- package/esm/date/hooks/useMonthPicker.js +1 -1
- package/esm/date/hooks/useMonthPicker.js.map +1 -1
- package/esm/date/hooks/useRangeDatepicker.d.ts +3 -3
- package/esm/date/hooks/useRangeDatepicker.js +2 -4
- package/esm/date/hooks/useRangeDatepicker.js.map +1 -1
- package/esm/date/index.d.ts +7 -7
- package/esm/date/index.js +3 -3
- package/esm/date/monthpicker/MonthButton.js +3 -7
- package/esm/date/monthpicker/MonthButton.js.map +1 -1
- package/esm/date/monthpicker/MonthCaption.js +5 -8
- package/esm/date/monthpicker/MonthCaption.js.map +1 -1
- package/esm/date/monthpicker/MonthPicker.d.ts +3 -3
- package/esm/date/monthpicker/MonthPicker.js +17 -11
- package/esm/date/monthpicker/MonthPicker.js.map +1 -1
- package/esm/date/monthpicker/MonthPickerStandalone.d.ts +1 -1
- package/esm/date/monthpicker/MonthPickerStandalone.js +12 -6
- package/esm/date/monthpicker/MonthPickerStandalone.js.map +1 -1
- package/esm/date/monthpicker/MonthSelector.js +5 -8
- package/esm/date/monthpicker/MonthSelector.js.map +1 -1
- package/esm/date/monthpicker/types.d.ts +1 -1
- package/esm/date/parts/DateInput.d.ts +2 -2
- package/esm/date/parts/DateInput.js +5 -5
- package/esm/date/parts/DateWrapper.js +6 -6
- package/esm/date/utils/check-dates.js +1 -2
- package/esm/date/utils/check-dates.js.map +1 -1
- package/esm/date/utils/dates-disabled.js +1 -1
- package/esm/date/utils/dates-disabled.js.map +1 -1
- package/esm/date/utils/format-date.d.ts +1 -0
- package/esm/date/utils/format-date.js +2 -2
- package/esm/date/utils/format-date.js.map +1 -1
- package/esm/date/utils/get-dates.js +1 -5
- package/esm/date/utils/get-dates.js.map +1 -1
- package/esm/date/utils/get-initial-year.js +1 -1
- package/esm/date/utils/get-initial-year.js.map +1 -1
- package/esm/date/utils/index.d.ts +10 -10
- package/esm/date/utils/index.js +10 -10
- package/esm/date/utils/is-match.js +1 -4
- package/esm/date/utils/is-match.js.map +1 -1
- package/esm/date/utils/labels.d.ts +1 -0
- package/esm/date/utils/labels.js.map +1 -1
- package/esm/date/utils/locale.d.ts +1 -1
- package/esm/date/utils/locale.js +1 -3
- package/esm/date/utils/locale.js.map +1 -1
- package/esm/date/utils/navigation.d.ts +1 -1
- package/esm/date/utils/navigation.js +2 -2
- package/esm/date/utils/navigation.js.map +1 -1
- package/esm/date/utils/parse-date.d.ts +1 -0
- package/esm/date/utils/parse-date.js +2 -4
- package/esm/date/utils/parse-date.js.map +1 -1
- package/esm/dropdown/Dropdown.d.ts +2 -2
- package/esm/dropdown/Dropdown.js +4 -4
- package/esm/dropdown/Menu/GroupedList/GroupedItem.d.ts +1 -1
- package/esm/dropdown/Menu/GroupedList/GroupedItem.js +2 -2
- package/esm/dropdown/Menu/GroupedList/index.d.ts +3 -3
- package/esm/dropdown/Menu/GroupedList/index.js +2 -2
- package/esm/dropdown/Menu/List/Item.d.ts +1 -1
- package/esm/dropdown/Menu/List/Item.js +2 -2
- package/esm/dropdown/Menu/List/index.d.ts +2 -2
- package/esm/dropdown/Menu/List/index.js +1 -1
- package/esm/dropdown/Menu/index.d.ts +2 -2
- package/esm/dropdown/Menu/index.js +5 -5
- package/esm/dropdown/Toggle.js +2 -2
- package/esm/dropdown/index.d.ts +1 -1
- package/esm/dropdown/index.js +1 -1
- package/esm/expansion-card/ExpansionCard.d.ts +5 -5
- package/esm/expansion-card/ExpansionCard.js +5 -5
- package/esm/expansion-card/ExpansionCardContent.js +2 -2
- package/esm/expansion-card/ExpansionCardDescription.js +2 -2
- package/esm/expansion-card/ExpansionCardHeader.js +1 -1
- package/esm/expansion-card/ExpansionCardTitle.d.ts +1 -1
- package/esm/expansion-card/index.d.ts +1 -1
- package/esm/expansion-card/index.js +1 -1
- package/esm/form/ConfirmationPanel.d.ts +1 -1
- package/esm/form/ConfirmationPanel.js +4 -4
- package/esm/form/Fieldset/Fieldset.d.ts +1 -1
- package/esm/form/Fieldset/Fieldset.js +5 -5
- package/esm/form/Fieldset/index.d.ts +2 -2
- package/esm/form/Fieldset/index.js +2 -2
- package/esm/form/Fieldset/useFieldset.js +1 -1
- package/esm/form/Select.d.ts +1 -1
- package/esm/form/Select.js +4 -4
- package/esm/form/Switch.d.ts +1 -1
- package/esm/form/Switch.js +5 -5
- package/esm/form/TextField.d.ts +1 -1
- package/esm/form/TextField.js +4 -4
- package/esm/form/Textarea.d.ts +1 -1
- package/esm/form/Textarea.js +15 -15
- package/esm/form/Textarea.js.map +1 -1
- package/esm/form/TextareaCounter.d.ts +1 -1
- package/esm/form/TextareaCounter.js +2 -2
- package/esm/form/checkbox/Checkbox.d.ts +1 -1
- package/esm/form/checkbox/Checkbox.js +5 -5
- package/esm/form/checkbox/CheckboxGroup.d.ts +1 -1
- package/esm/form/checkbox/CheckboxGroup.js +1 -1
- package/esm/form/checkbox/index.d.ts +3 -3
- package/esm/form/checkbox/index.js +2 -2
- package/esm/form/checkbox/types.d.ts +1 -1
- package/esm/form/checkbox/useCheckbox.d.ts +1 -1
- package/esm/form/checkbox/useCheckbox.js +3 -3
- package/esm/form/combobox/Combobox.d.ts +1 -1
- package/esm/form/combobox/Combobox.js +12 -12
- package/esm/form/combobox/Combobox.js.map +1 -1
- package/esm/form/combobox/ComboboxProvider.d.ts +1 -1
- package/esm/form/combobox/ComboboxProvider.js +7 -6
- package/esm/form/combobox/ComboboxProvider.js.map +1 -1
- package/esm/form/combobox/ComboboxWrapper.js +1 -1
- package/esm/form/combobox/ComboboxWrapper.js.map +1 -1
- package/esm/form/combobox/FilteredOptions/FilteredOptions.js +65 -47
- package/esm/form/combobox/FilteredOptions/FilteredOptions.js.map +1 -1
- package/esm/form/combobox/FilteredOptions/filtered-options-util.d.ts +2 -1
- package/esm/form/combobox/FilteredOptions/filtered-options-util.js +3 -1
- package/esm/form/combobox/FilteredOptions/filtered-options-util.js.map +1 -1
- package/esm/form/combobox/FilteredOptions/filteredOptionsContext.d.ts +2 -2
- package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js +20 -8
- package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js.map +1 -1
- package/esm/form/combobox/FilteredOptions/useVirtualFocus.d.ts +2 -4
- package/esm/form/combobox/FilteredOptions/useVirtualFocus.js +52 -32
- package/esm/form/combobox/FilteredOptions/useVirtualFocus.js.map +1 -1
- package/esm/form/combobox/Input/Input.js +8 -6
- package/esm/form/combobox/Input/Input.js.map +1 -1
- package/esm/form/combobox/Input/inputContext.d.ts +1 -1
- package/esm/form/combobox/Input/inputContext.js +2 -2
- package/esm/form/combobox/SelectedOptions/SelectedOptions.js +3 -3
- package/esm/form/combobox/SelectedOptions/selectedOptionsContext.d.ts +5 -2
- package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js +6 -4
- package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js.map +1 -1
- package/esm/form/combobox/ToggleListButton.js +1 -1
- package/esm/form/combobox/customOptionsContext.js +1 -1
- package/esm/form/combobox/index.d.ts +2 -2
- package/esm/form/combobox/index.js +1 -1
- package/esm/form/combobox/types.d.ts +15 -1
- package/esm/form/error-summary/ErrorSummary.d.ts +9 -3
- package/esm/form/error-summary/ErrorSummary.js +8 -13
- package/esm/form/error-summary/ErrorSummary.js.map +1 -1
- package/esm/form/error-summary/ErrorSummaryItem.d.ts +2 -2
- package/esm/form/error-summary/ErrorSummaryItem.js +2 -1
- package/esm/form/error-summary/ErrorSummaryItem.js.map +1 -1
- package/esm/form/error-summary/index.d.ts +2 -2
- package/esm/form/error-summary/index.js +1 -1
- package/esm/form/index.d.ts +11 -11
- package/esm/form/index.js +11 -11
- package/esm/form/radio/Radio.d.ts +1 -1
- package/esm/form/radio/Radio.js +4 -4
- package/esm/form/radio/RadioGroup.d.ts +1 -1
- package/esm/form/radio/RadioGroup.js +2 -2
- package/esm/form/radio/index.d.ts +3 -3
- package/esm/form/radio/index.js +2 -2
- package/esm/form/radio/types.d.ts +1 -1
- package/esm/form/radio/useRadio.d.ts +1 -1
- package/esm/form/radio/useRadio.js +3 -3
- package/esm/form/search/Search.d.ts +3 -2
- package/esm/form/search/Search.js +8 -8
- package/esm/form/search/Search.js.map +1 -1
- package/esm/form/search/SearchButton.d.ts +1 -1
- package/esm/form/search/SearchButton.js +3 -3
- package/esm/form/search/index.d.ts +1 -1
- package/esm/form/search/index.js +1 -1
- package/esm/form/useFormField.js +2 -2
- package/esm/guide-panel/GuidePanel.js +1 -1
- package/esm/guide-panel/Illustration.js +1 -1
- package/esm/guide-panel/index.d.ts +2 -2
- package/esm/guide-panel/index.js +2 -2
- package/esm/help-text/HelpText.d.ts +1 -1
- package/esm/help-text/HelpText.js +4 -4
- package/esm/help-text/HelpTextIcon.js +1 -1
- package/esm/help-text/index.d.ts +2 -2
- package/esm/help-text/index.js +1 -1
- package/esm/index.d.ts +40 -41
- package/esm/index.js +40 -42
- package/esm/index.js.map +1 -1
- package/esm/internal-header/InternalHeader.d.ts +5 -5
- package/esm/internal-header/InternalHeader.js +4 -4
- package/esm/internal-header/InternalHeaderButton.d.ts +1 -1
- package/esm/internal-header/InternalHeaderTitle.d.ts +1 -1
- package/esm/internal-header/InternalHeaderUser.js +1 -1
- package/esm/internal-header/InternalHeaderUserButton.d.ts +1 -1
- package/esm/internal-header/InternalHeaderUserButton.js +2 -2
- package/esm/internal-header/index.d.ts +5 -5
- package/esm/internal-header/index.js +1 -1
- package/esm/layout/bleed/Bleed.d.ts +3 -3
- package/esm/layout/bleed/Bleed.js +2 -2
- package/esm/layout/bleed/index.d.ts +1 -1
- package/esm/layout/bleed/index.js +1 -1
- package/esm/layout/box/Box.d.ts +2 -2
- package/esm/layout/box/Box.js +1 -1
- package/esm/layout/box/index.d.ts +1 -1
- package/esm/layout/box/index.js +1 -1
- package/esm/layout/grid/HGrid.d.ts +1 -1
- package/esm/layout/grid/HGrid.js +1 -1
- package/esm/layout/grid/index.d.ts +1 -1
- package/esm/layout/grid/index.js +1 -1
- package/esm/layout/page/Page.d.ts +2 -2
- package/esm/layout/page/Page.js +1 -1
- package/esm/layout/page/index.d.ts +2 -2
- package/esm/layout/page/index.js +1 -1
- package/esm/layout/page/parts/PageBlock.d.ts +1 -1
- package/esm/layout/responsive/Responsive.d.ts +1 -1
- package/esm/layout/responsive/Responsive.js +1 -1
- package/esm/layout/responsive/index.d.ts +1 -1
- package/esm/layout/responsive/index.js +1 -1
- package/esm/layout/sidemal-test/AvatarPanel.js +2 -2
- package/esm/layout/sidemal-test/Content.js +9 -9
- package/esm/layout/sidemal-test/Filter.js +4 -4
- package/esm/layout/sidemal-test/Header.js +5 -5
- package/esm/layout/sidemal-test/Intro.js +4 -4
- package/esm/layout/sidemal-test/Sidebar.js +4 -4
- package/esm/layout/sidemal-test/content-box/ContentBox.d.ts +1 -1
- package/esm/layout/sidemal-test/content-box/index.d.ts +1 -1
- package/esm/layout/sidemal-test/content-box/index.js +1 -1
- package/esm/layout/stack/HStack.d.ts +2 -2
- package/esm/layout/stack/HStack.js +1 -1
- package/esm/layout/stack/Stack.d.ts +2 -2
- package/esm/layout/stack/Stack.js +1 -1
- package/esm/layout/stack/VStack.d.ts +2 -2
- package/esm/layout/stack/VStack.js +1 -1
- package/esm/layout/stack/index.d.ts +4 -4
- package/esm/layout/stack/index.js +4 -4
- package/esm/layout/utilities/css.d.ts +1 -1
- package/esm/layout/utilities/css.js +4 -0
- package/esm/layout/utilities/css.js.map +1 -1
- package/esm/layout/utilities/types.d.ts +1 -1
- package/esm/link/Link.d.ts +1 -1
- package/esm/link/index.d.ts +2 -2
- package/esm/link/index.js +1 -1
- package/esm/link-panel/LinkPanel.d.ts +3 -3
- package/esm/link-panel/LinkPanel.js +3 -3
- package/esm/link-panel/LinkPanelDescription.js +1 -1
- package/esm/link-panel/LinkPanelTitle.d.ts +1 -1
- package/esm/link-panel/index.d.ts +2 -2
- package/esm/link-panel/index.js +1 -1
- package/esm/list/List.d.ts +2 -2
- package/esm/list/List.js +4 -4
- package/esm/list/ListItem.js +2 -2
- package/esm/list/context.d.ts +1 -1
- package/esm/list/index.d.ts +2 -2
- package/esm/list/index.js +1 -1
- package/esm/loader/Loader.js +2 -2
- package/esm/loader/index.d.ts +2 -2
- package/esm/loader/index.js +1 -1
- package/esm/modal/Modal.d.ts +4 -4
- package/esm/modal/Modal.js +12 -12
- package/esm/modal/ModalHeader.js +2 -2
- package/esm/modal/ModalUtils.d.ts +1 -1
- package/esm/modal/index.d.ts +5 -5
- package/esm/modal/index.js +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/package.json +1 -1
- package/esm/pagination/Pagination.d.ts +1 -1
- package/esm/pagination/Pagination.js +2 -2
- package/esm/pagination/PaginationItem.d.ts +2 -2
- package/esm/pagination/PaginationItem.js +1 -1
- package/esm/pagination/index.d.ts +1 -1
- package/esm/pagination/index.js +1 -1
- package/esm/panel/Panel.d.ts +1 -1
- package/esm/panel/index.d.ts +2 -2
- package/esm/panel/index.js +1 -1
- package/esm/popover/Popover.d.ts +1 -1
- package/esm/popover/Popover.js +5 -5
- package/esm/popover/index.d.ts +2 -2
- package/esm/popover/index.js +1 -1
- package/esm/provider/index.d.ts +1 -1
- package/esm/provider/index.js +1 -1
- package/esm/read-more/ReadMore.js +3 -3
- package/esm/read-more/index.d.ts +2 -2
- package/esm/read-more/index.js +1 -1
- package/esm/skeleton/index.d.ts +2 -2
- package/esm/skeleton/index.js +1 -1
- package/esm/stepper/Step.d.ts +1 -1
- package/esm/stepper/Step.js +3 -3
- package/esm/stepper/Stepper.d.ts +1 -1
- package/esm/stepper/Stepper.js +2 -2
- package/esm/stepper/index.d.ts +1 -1
- package/esm/stepper/index.js +1 -1
- package/esm/table/ColumnHeader.d.ts +1 -1
- package/esm/table/ColumnHeader.js +2 -2
- package/esm/table/DataCell.js +1 -1
- package/esm/table/ExpandableRow.d.ts +1 -1
- package/esm/table/ExpandableRow.js +6 -6
- package/esm/table/Table.d.ts +8 -8
- package/esm/table/Table.js +8 -8
- package/esm/table/context.d.ts +1 -1
- package/esm/table/index.d.ts +9 -9
- package/esm/table/index.js +1 -1
- package/esm/tabs/Tab.d.ts +1 -1
- package/esm/tabs/Tab.js +2 -2
- package/esm/tabs/TabList.js +5 -5
- package/esm/tabs/TabList.js.map +1 -1
- package/esm/tabs/TabPanel.js +2 -2
- package/esm/tabs/TabPanel.js.map +1 -1
- package/esm/tabs/Tabs.d.ts +4 -4
- package/esm/tabs/Tabs.js +4 -4
- package/esm/tabs/index.d.ts +4 -4
- package/esm/tabs/index.js +1 -1
- package/esm/tag/Tag.js +1 -1
- package/esm/tag/index.d.ts +1 -1
- package/esm/tag/index.js +1 -1
- package/esm/timeline/AxisLabels.d.ts +1 -1
- package/esm/timeline/AxisLabels.js +5 -5
- package/esm/timeline/AxisLabels.js.map +1 -1
- package/esm/timeline/Pin.d.ts +1 -1
- package/esm/timeline/Pin.js +3 -3
- package/esm/timeline/Timeline.d.ts +5 -5
- package/esm/timeline/Timeline.js +9 -9
- package/esm/timeline/TimelineRow.d.ts +1 -1
- package/esm/timeline/TimelineRow.js +5 -5
- package/esm/timeline/hooks/useRowContext.d.ts +1 -1
- package/esm/timeline/hooks/useTimelineRows.d.ts +1 -1
- package/esm/timeline/hooks/useTimelineRows.js +3 -3
- package/esm/timeline/index.d.ts +6 -6
- package/esm/timeline/index.js +1 -1
- package/esm/timeline/period/ClickablePeriod.d.ts +1 -1
- package/esm/timeline/period/ClickablePeriod.js +5 -5
- package/esm/timeline/period/NonClickablePeriod.d.ts +1 -1
- package/esm/timeline/period/NonClickablePeriod.js +1 -1
- package/esm/timeline/period/index.d.ts +1 -1
- package/esm/timeline/period/index.js +4 -4
- package/esm/timeline/utils/filter.d.ts +1 -1
- package/esm/timeline/utils/index.d.ts +1 -1
- package/esm/timeline/utils/index.js +1 -1
- package/esm/timeline/utils/sort.d.ts +1 -1
- package/esm/timeline/utils/timeline.d.ts +1 -1
- package/esm/timeline/utils/timeline.js +1 -1
- package/esm/timeline/zoom/ZoomButton.js +2 -2
- package/esm/timeline/zoom/index.d.ts +1 -1
- package/esm/timeline/zoom/index.js +1 -1
- package/esm/toggle-group/ToggleGroup.d.ts +1 -1
- package/esm/toggle-group/ToggleGroup.js +4 -4
- package/esm/toggle-group/ToggleItem.js +2 -2
- package/esm/toggle-group/index.d.ts +2 -2
- package/esm/toggle-group/index.js +1 -1
- package/esm/tooltip/Tooltip.js +9 -13
- package/esm/tooltip/Tooltip.js.map +1 -1
- package/esm/tooltip/index.d.ts +1 -1
- package/esm/tooltip/index.js +1 -1
- package/esm/typography/BodyLong.d.ts +2 -2
- package/esm/typography/BodyLong.js +1 -1
- package/esm/typography/BodyShort.d.ts +2 -2
- package/esm/typography/BodyShort.js +1 -1
- package/esm/typography/Detail.d.ts +2 -2
- package/esm/typography/Detail.js +1 -1
- package/esm/typography/ErrorMessage.d.ts +2 -2
- package/esm/typography/ErrorMessage.js +1 -1
- package/esm/typography/Heading.d.ts +2 -2
- package/esm/typography/Heading.js +1 -1
- package/esm/typography/Ingress.d.ts +1 -1
- package/esm/typography/Label.d.ts +2 -2
- package/esm/typography/Label.js +1 -1
- package/esm/typography/index.d.ts +7 -7
- package/esm/typography/index.js +7 -7
- package/esm/typography/util.d.ts +1 -1
- package/esm/util/Slot.js +6 -3
- package/esm/util/Slot.js.map +1 -1
- package/esm/util/TextareaAutoSize.js +17 -27
- package/esm/util/TextareaAutoSize.js.map +1 -1
- package/esm/util/hooks/descendants/descendant.js +1 -1
- package/esm/util/hooks/descendants/useDescendant.d.ts +1 -1
- package/esm/util/hooks/descendants/useDescendant.js +5 -5
- package/esm/util/hooks/index.d.ts +8 -8
- package/esm/util/hooks/index.js +8 -8
- package/esm/util/hooks/useControllableState.js +1 -1
- package/esm/util/index.d.ts +6 -6
- package/esm/util/index.js +5 -5
- 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 +2 -1
- package/package.json +9 -8
- package/src/alert/alert.stories.tsx +202 -113
- package/src/chat/Bubble.tsx +2 -23
- package/src/chat/Chat.tsx +1 -18
- package/src/chat/chat.stories.tsx +0 -31
- package/src/date/context/useSharedMonthContext.tsx +1 -2
- package/src/date/datepicker/DatePicker.tsx +1 -3
- package/src/date/datepicker/DatePickerStandalone.tsx +1 -3
- package/src/date/datepicker/datepicker.stories.tsx +5 -5
- package/src/date/datepicker/parts/DayButton.tsx +1 -1
- package/src/date/datepicker/parts/DropdownCaption.tsx +1 -4
- package/src/date/datepicker/parts/Row.tsx +3 -2
- package/src/date/hooks/useDatepicker.tsx +2 -8
- package/src/date/hooks/useMonthPicker.tsx +1 -6
- package/src/date/hooks/useRangeDatepicker.tsx +5 -3
- package/src/date/monthpicker/MonthButton.tsx +7 -5
- package/src/date/monthpicker/MonthCaption.tsx +7 -4
- package/src/date/monthpicker/MonthPicker.tsx +10 -8
- package/src/date/monthpicker/MonthPickerStandalone.tsx +10 -8
- package/src/date/monthpicker/MonthSelector.tsx +1 -4
- package/src/date/monthpicker/monthpicker.stories.tsx +3 -2
- package/src/date/parts/DateInput.tsx +1 -1
- package/src/date/utils/__tests__/format-dates.test.ts +1 -1
- package/src/date/utils/__tests__/get-initial-year.test.ts +1 -1
- package/src/date/utils/__tests__/parse-dates.test.ts +2 -2
- package/src/date/utils/check-dates.ts +1 -2
- package/src/date/utils/dates-disabled.ts +1 -1
- package/src/date/utils/format-date.ts +1 -1
- package/src/date/utils/get-dates.ts +7 -5
- package/src/date/utils/get-initial-year.ts +1 -1
- package/src/date/utils/is-match.ts +6 -4
- package/src/date/utils/labels.ts +1 -0
- package/src/date/utils/locale.ts +1 -3
- package/src/date/utils/navigation.ts +1 -1
- package/src/date/utils/parse-date.ts +1 -3
- package/src/form/Textarea.tsx +34 -34
- package/src/form/combobox/Combobox.tsx +1 -1
- package/src/form/combobox/ComboboxProvider.tsx +2 -0
- package/src/form/combobox/ComboboxWrapper.tsx +0 -1
- package/src/form/combobox/FilteredOptions/FilteredOptions.tsx +131 -92
- package/src/form/combobox/FilteredOptions/filtered-options-util.ts +9 -2
- package/src/form/combobox/FilteredOptions/filteredOptionsContext.tsx +22 -3
- package/src/form/combobox/FilteredOptions/useVirtualFocus.ts +63 -45
- package/src/form/combobox/Input/Input.tsx +3 -1
- package/src/form/combobox/SelectedOptions/selectedOptionsContext.tsx +11 -1
- package/src/form/combobox/combobox.stories.tsx +36 -1
- package/src/form/combobox/combobox.test.tsx +1 -3
- package/src/form/combobox/types.ts +15 -0
- package/src/form/error-summary/ErrorSummary.tsx +15 -11
- package/src/form/error-summary/ErrorSummaryItem.tsx +10 -8
- package/src/form/error-summary/error-summary.stories.tsx +55 -1
- package/src/form/search/Search.tsx +6 -1
- package/src/form/stories/textarea.stories.tsx +37 -0
- package/src/index.ts +1 -2
- package/src/layout/bleed/Bleed.stories.tsx +13 -0
- package/src/layout/bleed/Bleed.tsx +2 -2
- package/src/layout/box/Box.stories.tsx +1 -1
- package/src/layout/sidemal-test/navno-sidemal.stories.tsx +1 -0
- package/src/layout/utilities/css.ts +3 -0
- package/src/layout/utilities/types.ts +1 -1
- 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/tabs/TabList.tsx +2 -2
- package/src/tabs/TabPanel.tsx +2 -2
- package/src/timeline/AxisLabels.tsx +1 -1
- package/src/tooltip/Tooltip.tsx +4 -8
- package/src/util/Slot.tsx +4 -2
- package/src/util/TextareaAutoSize.tsx +16 -31
- package/src/util/types/AsChildProps.ts +37 -0
- package/src/util/types/index.ts +1 -0
- package/cjs/grid/Cell.d.ts +0 -30
- package/cjs/grid/Cell.js +0 -52
- package/cjs/grid/Cell.js.map +0 -1
- package/cjs/grid/Grid.d.ts +0 -13
- package/cjs/grid/Grid.js.map +0 -1
- package/cjs/grid/index.d.ts +0 -2
- package/cjs/grid/index.js +0 -11
- package/cjs/grid/index.js.map +0 -1
- package/cjs/layout/content-container/ContentContainer.d.ts +0 -9
- package/cjs/layout/content-container/ContentContainer.js +0 -48
- package/cjs/layout/content-container/ContentContainer.js.map +0 -1
- package/cjs/layout/content-container/index.d.ts +0 -1
- package/cjs/layout/content-container/index.js +0 -9
- package/cjs/layout/content-container/index.js.map +0 -1
- package/esm/grid/Cell.d.ts +0 -30
- package/esm/grid/Cell.js +0 -23
- package/esm/grid/Cell.js.map +0 -1
- package/esm/grid/Grid.d.ts +0 -13
- package/esm/grid/Grid.js +0 -23
- package/esm/grid/Grid.js.map +0 -1
- package/esm/grid/index.d.ts +0 -2
- package/esm/grid/index.js +0 -3
- package/esm/grid/index.js.map +0 -1
- package/esm/layout/content-container/ContentContainer.d.ts +0 -9
- package/esm/layout/content-container/ContentContainer.js +0 -19
- package/esm/layout/content-container/ContentContainer.js.map +0 -1
- package/esm/layout/content-container/index.d.ts +0 -1
- package/esm/layout/content-container/index.js +0 -2
- package/esm/layout/content-container/index.js.map +0 -1
- package/src/grid/Cell.tsx +0 -53
- package/src/grid/Grid.tsx +0 -23
- package/src/grid/grid.stories.tsx +0 -67
- package/src/grid/index.ts +0 -2
- package/src/layout/content-container/ContentContainer.tsx +0 -22
- package/src/layout/content-container/index.ts +0 -4
- package/src/layout/sidemal-test/navno-sidemal.stories.mdx +0 -29
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"
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -15085,6 +15221,25 @@
|
|
|
15085
15221
|
"name": "string[]"
|
|
15086
15222
|
}
|
|
15087
15223
|
},
|
|
15224
|
+
"maxSelected": {
|
|
15225
|
+
"defaultValue": null,
|
|
15226
|
+
"description": "Options for the maximum number of selected options.",
|
|
15227
|
+
"name": "maxSelected",
|
|
15228
|
+
"parent": {
|
|
15229
|
+
"fileName": "react/src/form/combobox/types.ts",
|
|
15230
|
+
"name": "ComboboxProps"
|
|
15231
|
+
},
|
|
15232
|
+
"declarations": [
|
|
15233
|
+
{
|
|
15234
|
+
"fileName": "react/src/form/combobox/types.ts",
|
|
15235
|
+
"name": "ComboboxProps"
|
|
15236
|
+
}
|
|
15237
|
+
],
|
|
15238
|
+
"required": false,
|
|
15239
|
+
"type": {
|
|
15240
|
+
"name": "MaxSelected"
|
|
15241
|
+
}
|
|
15242
|
+
},
|
|
15088
15243
|
"shouldAutocomplete": {
|
|
15089
15244
|
"defaultValue": {
|
|
15090
15245
|
"value": "false"
|
|
@@ -15538,6 +15693,25 @@
|
|
|
15538
15693
|
"name": "string[]"
|
|
15539
15694
|
}
|
|
15540
15695
|
},
|
|
15696
|
+
"maxSelected": {
|
|
15697
|
+
"defaultValue": null,
|
|
15698
|
+
"description": "Options for the maximum number of selected options.",
|
|
15699
|
+
"name": "maxSelected",
|
|
15700
|
+
"parent": {
|
|
15701
|
+
"fileName": "react/src/form/combobox/types.ts",
|
|
15702
|
+
"name": "ComboboxProps"
|
|
15703
|
+
},
|
|
15704
|
+
"declarations": [
|
|
15705
|
+
{
|
|
15706
|
+
"fileName": "react/src/form/combobox/types.ts",
|
|
15707
|
+
"name": "ComboboxProps"
|
|
15708
|
+
}
|
|
15709
|
+
],
|
|
15710
|
+
"required": false,
|
|
15711
|
+
"type": {
|
|
15712
|
+
"name": "MaxSelected"
|
|
15713
|
+
}
|
|
15714
|
+
},
|
|
15541
15715
|
"shouldAutocomplete": {
|
|
15542
15716
|
"defaultValue": {
|
|
15543
15717
|
"value": "false"
|
|
@@ -16872,6 +17046,25 @@
|
|
|
16872
17046
|
"name": "string | number"
|
|
16873
17047
|
}
|
|
16874
17048
|
},
|
|
17049
|
+
"role": {
|
|
17050
|
+
"defaultValue": null,
|
|
17051
|
+
"description": "",
|
|
17052
|
+
"name": "role",
|
|
17053
|
+
"parent": {
|
|
17054
|
+
"fileName": "src/form/search/Search.tsx",
|
|
17055
|
+
"name": "SearchProps"
|
|
17056
|
+
},
|
|
17057
|
+
"declarations": [
|
|
17058
|
+
{
|
|
17059
|
+
"fileName": "src/form/search/Search.tsx",
|
|
17060
|
+
"name": "SearchProps"
|
|
17061
|
+
}
|
|
17062
|
+
],
|
|
17063
|
+
"required": false,
|
|
17064
|
+
"type": {
|
|
17065
|
+
"name": "string"
|
|
17066
|
+
}
|
|
17067
|
+
},
|
|
16875
17068
|
"error": {
|
|
16876
17069
|
"defaultValue": null,
|
|
16877
17070
|
"description": "Error message for element",
|
|
@@ -18954,22 +19147,178 @@
|
|
|
18954
19147
|
{
|
|
18955
19148
|
"filePath": "src/date/datepicker/parts/Caption.tsx",
|
|
18956
19149
|
"displayName": "DatePickerCaption",
|
|
18957
|
-
"props": {
|
|
19150
|
+
"props": {
|
|
19151
|
+
"id": {
|
|
19152
|
+
"defaultValue": null,
|
|
19153
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19154
|
+
"name": "id",
|
|
19155
|
+
"parent": {
|
|
19156
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19157
|
+
"name": "CaptionProps"
|
|
19158
|
+
},
|
|
19159
|
+
"declarations": [
|
|
19160
|
+
{
|
|
19161
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19162
|
+
"name": "CaptionProps"
|
|
19163
|
+
}
|
|
19164
|
+
],
|
|
19165
|
+
"required": false,
|
|
19166
|
+
"type": {
|
|
19167
|
+
"name": "string"
|
|
19168
|
+
}
|
|
19169
|
+
},
|
|
19170
|
+
"displayMonth": {
|
|
19171
|
+
"defaultValue": null,
|
|
19172
|
+
"description": "The month where the caption is displayed.",
|
|
19173
|
+
"name": "displayMonth",
|
|
19174
|
+
"parent": {
|
|
19175
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19176
|
+
"name": "CaptionProps"
|
|
19177
|
+
},
|
|
19178
|
+
"declarations": [
|
|
19179
|
+
{
|
|
19180
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19181
|
+
"name": "CaptionProps"
|
|
19182
|
+
}
|
|
19183
|
+
],
|
|
19184
|
+
"required": true,
|
|
19185
|
+
"type": {
|
|
19186
|
+
"name": "Date"
|
|
19187
|
+
}
|
|
19188
|
+
}
|
|
19189
|
+
}
|
|
18958
19190
|
},
|
|
18959
19191
|
{
|
|
18960
19192
|
"filePath": "src/date/datepicker/parts/Caption.tsx",
|
|
18961
19193
|
"displayName": "Caption",
|
|
18962
|
-
"props": {
|
|
19194
|
+
"props": {
|
|
19195
|
+
"id": {
|
|
19196
|
+
"defaultValue": null,
|
|
19197
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19198
|
+
"name": "id",
|
|
19199
|
+
"parent": {
|
|
19200
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19201
|
+
"name": "CaptionProps"
|
|
19202
|
+
},
|
|
19203
|
+
"declarations": [
|
|
19204
|
+
{
|
|
19205
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19206
|
+
"name": "CaptionProps"
|
|
19207
|
+
}
|
|
19208
|
+
],
|
|
19209
|
+
"required": false,
|
|
19210
|
+
"type": {
|
|
19211
|
+
"name": "string"
|
|
19212
|
+
}
|
|
19213
|
+
},
|
|
19214
|
+
"displayMonth": {
|
|
19215
|
+
"defaultValue": null,
|
|
19216
|
+
"description": "The month where the caption is displayed.",
|
|
19217
|
+
"name": "displayMonth",
|
|
19218
|
+
"parent": {
|
|
19219
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19220
|
+
"name": "CaptionProps"
|
|
19221
|
+
},
|
|
19222
|
+
"declarations": [
|
|
19223
|
+
{
|
|
19224
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19225
|
+
"name": "CaptionProps"
|
|
19226
|
+
}
|
|
19227
|
+
],
|
|
19228
|
+
"required": true,
|
|
19229
|
+
"type": {
|
|
19230
|
+
"name": "Date"
|
|
19231
|
+
}
|
|
19232
|
+
}
|
|
19233
|
+
}
|
|
18963
19234
|
},
|
|
18964
19235
|
{
|
|
18965
19236
|
"filePath": "src/date/datepicker/parts/DayButton.tsx",
|
|
18966
19237
|
"displayName": "DayButton",
|
|
18967
|
-
"props": {
|
|
19238
|
+
"props": {
|
|
19239
|
+
"displayMonth": {
|
|
19240
|
+
"defaultValue": null,
|
|
19241
|
+
"description": "The month where the date is displayed.",
|
|
19242
|
+
"name": "displayMonth",
|
|
19243
|
+
"parent": {
|
|
19244
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19245
|
+
"name": "DayProps"
|
|
19246
|
+
},
|
|
19247
|
+
"declarations": [
|
|
19248
|
+
{
|
|
19249
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19250
|
+
"name": "DayProps"
|
|
19251
|
+
}
|
|
19252
|
+
],
|
|
19253
|
+
"required": true,
|
|
19254
|
+
"type": {
|
|
19255
|
+
"name": "Date"
|
|
19256
|
+
}
|
|
19257
|
+
},
|
|
19258
|
+
"date": {
|
|
19259
|
+
"defaultValue": null,
|
|
19260
|
+
"description": "The date to render.",
|
|
19261
|
+
"name": "date",
|
|
19262
|
+
"parent": {
|
|
19263
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19264
|
+
"name": "DayProps"
|
|
19265
|
+
},
|
|
19266
|
+
"declarations": [
|
|
19267
|
+
{
|
|
19268
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19269
|
+
"name": "DayProps"
|
|
19270
|
+
}
|
|
19271
|
+
],
|
|
19272
|
+
"required": true,
|
|
19273
|
+
"type": {
|
|
19274
|
+
"name": "Date"
|
|
19275
|
+
}
|
|
19276
|
+
}
|
|
19277
|
+
}
|
|
18968
19278
|
},
|
|
18969
19279
|
{
|
|
18970
19280
|
"filePath": "src/date/datepicker/parts/DropdownCaption.tsx",
|
|
18971
19281
|
"displayName": "DropdownCaption",
|
|
18972
|
-
"props": {
|
|
19282
|
+
"props": {
|
|
19283
|
+
"id": {
|
|
19284
|
+
"defaultValue": null,
|
|
19285
|
+
"description": "The ID for the heading element. Must be the same as the labelled-by in Table.",
|
|
19286
|
+
"name": "id",
|
|
19287
|
+
"parent": {
|
|
19288
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19289
|
+
"name": "CaptionProps"
|
|
19290
|
+
},
|
|
19291
|
+
"declarations": [
|
|
19292
|
+
{
|
|
19293
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19294
|
+
"name": "CaptionProps"
|
|
19295
|
+
}
|
|
19296
|
+
],
|
|
19297
|
+
"required": false,
|
|
19298
|
+
"type": {
|
|
19299
|
+
"name": "string"
|
|
19300
|
+
}
|
|
19301
|
+
},
|
|
19302
|
+
"displayMonth": {
|
|
19303
|
+
"defaultValue": null,
|
|
19304
|
+
"description": "The month where the caption is displayed.",
|
|
19305
|
+
"name": "displayMonth",
|
|
19306
|
+
"parent": {
|
|
19307
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19308
|
+
"name": "CaptionProps"
|
|
19309
|
+
},
|
|
19310
|
+
"declarations": [
|
|
19311
|
+
{
|
|
19312
|
+
"fileName": "Aksel/node_modules/react-day-picker/dist/index.d.ts",
|
|
19313
|
+
"name": "CaptionProps"
|
|
19314
|
+
}
|
|
19315
|
+
],
|
|
19316
|
+
"required": true,
|
|
19317
|
+
"type": {
|
|
19318
|
+
"name": "Date"
|
|
19319
|
+
}
|
|
19320
|
+
}
|
|
19321
|
+
}
|
|
18973
19322
|
},
|
|
18974
19323
|
{
|
|
18975
19324
|
"filePath": "src/date/datepicker/parts/HeadRow.tsx",
|
|
@@ -18979,7 +19328,113 @@
|
|
|
18979
19328
|
{
|
|
18980
19329
|
"filePath": "src/date/datepicker/parts/HeadRow.tsx",
|
|
18981
19330
|
"displayName": "getWeekdays",
|
|
18982
|
-
"props": {
|
|
19331
|
+
"props": {
|
|
19332
|
+
"code": {
|
|
19333
|
+
"defaultValue": null,
|
|
19334
|
+
"description": "",
|
|
19335
|
+
"name": "code",
|
|
19336
|
+
"declarations": [
|
|
19337
|
+
{
|
|
19338
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19339
|
+
"name": "TypeLiteral"
|
|
19340
|
+
}
|
|
19341
|
+
],
|
|
19342
|
+
"required": false,
|
|
19343
|
+
"type": {
|
|
19344
|
+
"name": "string"
|
|
19345
|
+
}
|
|
19346
|
+
},
|
|
19347
|
+
"formatDistance": {
|
|
19348
|
+
"defaultValue": null,
|
|
19349
|
+
"description": "",
|
|
19350
|
+
"name": "formatDistance",
|
|
19351
|
+
"declarations": [
|
|
19352
|
+
{
|
|
19353
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19354
|
+
"name": "TypeLiteral"
|
|
19355
|
+
}
|
|
19356
|
+
],
|
|
19357
|
+
"required": false,
|
|
19358
|
+
"type": {
|
|
19359
|
+
"name": "((...args: any[]) => any)"
|
|
19360
|
+
}
|
|
19361
|
+
},
|
|
19362
|
+
"formatRelative": {
|
|
19363
|
+
"defaultValue": null,
|
|
19364
|
+
"description": "",
|
|
19365
|
+
"name": "formatRelative",
|
|
19366
|
+
"declarations": [
|
|
19367
|
+
{
|
|
19368
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19369
|
+
"name": "TypeLiteral"
|
|
19370
|
+
}
|
|
19371
|
+
],
|
|
19372
|
+
"required": false,
|
|
19373
|
+
"type": {
|
|
19374
|
+
"name": "((...args: any[]) => any)"
|
|
19375
|
+
}
|
|
19376
|
+
},
|
|
19377
|
+
"localize": {
|
|
19378
|
+
"defaultValue": null,
|
|
19379
|
+
"description": "",
|
|
19380
|
+
"name": "localize",
|
|
19381
|
+
"declarations": [
|
|
19382
|
+
{
|
|
19383
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19384
|
+
"name": "TypeLiteral"
|
|
19385
|
+
}
|
|
19386
|
+
],
|
|
19387
|
+
"required": false,
|
|
19388
|
+
"type": {
|
|
19389
|
+
"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; }"
|
|
19390
|
+
}
|
|
19391
|
+
},
|
|
19392
|
+
"formatLong": {
|
|
19393
|
+
"defaultValue": null,
|
|
19394
|
+
"description": "",
|
|
19395
|
+
"name": "formatLong",
|
|
19396
|
+
"declarations": [
|
|
19397
|
+
{
|
|
19398
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19399
|
+
"name": "TypeLiteral"
|
|
19400
|
+
}
|
|
19401
|
+
],
|
|
19402
|
+
"required": false,
|
|
19403
|
+
"type": {
|
|
19404
|
+
"name": "{ date: (...args: any[]) => any; time: (...args: any[]) => any; dateTime: (...args: any[]) => any; }"
|
|
19405
|
+
}
|
|
19406
|
+
},
|
|
19407
|
+
"match": {
|
|
19408
|
+
"defaultValue": null,
|
|
19409
|
+
"description": "",
|
|
19410
|
+
"name": "match",
|
|
19411
|
+
"declarations": [
|
|
19412
|
+
{
|
|
19413
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19414
|
+
"name": "TypeLiteral"
|
|
19415
|
+
}
|
|
19416
|
+
],
|
|
19417
|
+
"required": false,
|
|
19418
|
+
"type": {
|
|
19419
|
+
"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; }"
|
|
19420
|
+
}
|
|
19421
|
+
},
|
|
19422
|
+
"options": {
|
|
19423
|
+
"defaultValue": null,
|
|
19424
|
+
"description": "",
|
|
19425
|
+
"name": "options",
|
|
19426
|
+
"declarations": [
|
|
19427
|
+
{
|
|
19428
|
+
"fileName": "Aksel/node_modules/date-fns/typings.d.ts",
|
|
19429
|
+
"name": "TypeLiteral"
|
|
19430
|
+
}
|
|
19431
|
+
],
|
|
19432
|
+
"required": false,
|
|
19433
|
+
"type": {
|
|
19434
|
+
"name": "{ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7; } | undefined"
|
|
19435
|
+
}
|
|
19436
|
+
}
|
|
19437
|
+
}
|
|
18983
19438
|
},
|
|
18984
19439
|
{
|
|
18985
19440
|
"filePath": "src/date/datepicker/parts/Row.tsx",
|
|
@@ -19628,7 +20083,7 @@
|
|
|
19628
20083
|
],
|
|
19629
20084
|
"required": true,
|
|
19630
20085
|
"type": {
|
|
19631
|
-
"name": "Pick<ComboboxProps, \"allowNewValues\" | \"isMultiSelect\" | \"options\" | \"selectedOptions\" | \"onToggleSelected\">"
|
|
20086
|
+
"name": "Pick<ComboboxProps, \"allowNewValues\" | \"isMultiSelect\" | \"options\" | \"selectedOptions\" | \"onToggleSelected\" | \"maxSelected\">"
|
|
19632
20087
|
}
|
|
19633
20088
|
}
|
|
19634
20089
|
}
|
|
@@ -19783,5 +20238,10 @@
|
|
|
19783
20238
|
}
|
|
19784
20239
|
}
|
|
19785
20240
|
}
|
|
20241
|
+
},
|
|
20242
|
+
{
|
|
20243
|
+
"filePath": "src/util/hooks/descendants/useDescendant.tsx",
|
|
20244
|
+
"displayName": "createDescendantContext",
|
|
20245
|
+
"props": {}
|
|
19786
20246
|
}
|
|
19787
20247
|
]
|
package/cjs/chat/Bubble.d.ts
CHANGED
|
@@ -12,11 +12,6 @@ export interface BubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
12
12
|
* Timestamp for sent message
|
|
13
13
|
*/
|
|
14
14
|
timestamp?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Background color on bubble
|
|
17
|
-
* @deprecated Use `variant` on Chat instead
|
|
18
|
-
*/
|
|
19
|
-
backgroundColor?: string;
|
|
20
15
|
/**
|
|
21
16
|
* Overrides hoizontal position of toptext
|
|
22
17
|
*/
|
package/cjs/chat/Bubble.js
CHANGED
|
@@ -41,8 +41,8 @@ const clsx_1 = __importDefault(require("clsx"));
|
|
|
41
41
|
const react_1 = __importStar(require("react"));
|
|
42
42
|
const typography_1 = require("../typography");
|
|
43
43
|
const Bubble = (0, react_1.forwardRef)((_a, ref) => {
|
|
44
|
-
var { children, className, name, timestamp,
|
|
45
|
-
return (react_1.default.createElement("div", Object.assign({ ref: ref, className: (0, clsx_1.default)("navds-chat__bubble", className)
|
|
44
|
+
var { children, className, name, timestamp, toptextPosition } = _a, rest = __rest(_a, ["children", "className", "name", "timestamp", "toptextPosition"]);
|
|
45
|
+
return (react_1.default.createElement("div", Object.assign({ ref: ref, className: (0, clsx_1.default)("navds-chat__bubble", className) }, rest),
|
|
46
46
|
(timestamp || name) && (react_1.default.createElement("h3", { className: (0, clsx_1.default)(`navds-chat__top-text`, toptextPosition && `navds-chat__top-text--${toptextPosition}`) },
|
|
47
47
|
name && react_1.default.createElement(typography_1.Detail, { as: "span" }, name),
|
|
48
48
|
name && timestamp && (react_1.default.createElement(typography_1.Detail, { as: "span", "aria-hidden": true }, "\u2022")),
|