@dnb/eufemia 10.0.0-beta.7 → 10.0.0-beta.8
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/CHANGELOG.md +50 -0
- package/cjs/components/anchor/Anchor.d.ts +5 -1
- package/cjs/components/anchor/Anchor.js +53 -4
- package/cjs/components/anchor/style/anchor-mixins.scss +8 -4
- package/cjs/components/anchor/style/dnb-anchor.css +8 -9
- package/cjs/components/anchor/style/dnb-anchor.min.css +1 -1
- package/cjs/components/anchor/style/dnb-anchor.scss +2 -1
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
- package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
- package/cjs/components/autocomplete/Autocomplete.d.ts +3 -2
- package/cjs/components/autocomplete/Autocomplete.js +8 -5
- package/cjs/components/button/Button.d.ts +3 -2
- package/cjs/components/button/Button.js +8 -5
- package/cjs/components/button/style/dnb-button--tertiary.css +16 -7
- package/cjs/components/button/style/dnb-button--tertiary.min.css +1 -1
- package/cjs/components/button/style/dnb-button--tertiary.scss +28 -18
- package/cjs/components/button/style/dnb-button.css +1 -3
- package/cjs/components/button/style/dnb-button.min.css +1 -1
- package/cjs/components/button/style/dnb-button.scss +0 -1
- package/cjs/components/button/style/themes/button-mixins.scss +4 -4
- package/cjs/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
- package/cjs/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
- package/cjs/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
- package/cjs/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
- package/cjs/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
- package/cjs/components/button/style/themes/dnb-button-theme-ui.css +16 -7
- package/cjs/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
- package/cjs/components/checkbox/Checkbox.d.ts +3 -2
- package/cjs/components/checkbox/Checkbox.js +8 -5
- package/cjs/components/date-picker/DatePicker.d.ts +3 -2
- package/cjs/components/date-picker/DatePicker.js +9 -5
- package/cjs/components/dialog/style/dnb-dialog.css +3 -3
- package/cjs/components/dialog/style/dnb-dialog.min.css +1 -1
- package/cjs/components/dialog/style/dnb-dialog.scss +2 -4
- package/cjs/components/dropdown/Dropdown.d.ts +3 -2
- package/cjs/components/dropdown/Dropdown.js +8 -5
- package/cjs/components/form-row/FormRow.d.ts +2 -1
- package/cjs/components/form-row/FormRow.js +8 -5
- package/cjs/components/form-set/FormSet.d.ts +2 -1
- package/cjs/components/form-status/FormStatus.d.ts +6 -6
- package/cjs/components/form-status/FormStatus.js +13 -7
- package/cjs/components/global-status/GlobalStatus.d.ts +8 -0
- package/cjs/components/help-button/HelpButton.d.ts +1 -3
- package/cjs/components/help-button/HelpButton.js +9 -17
- package/cjs/components/icon/style/dnb-icon.css +7 -3
- package/cjs/components/icon/style/dnb-icon.min.css +1 -1
- package/cjs/components/icon/style/dnb-icon.scss +16 -10
- package/cjs/components/input/Input.d.ts +11 -5
- package/cjs/components/input/Input.js +8 -5
- package/cjs/components/input-masked/InputMasked.d.ts +3 -2
- package/cjs/components/input-masked/InputMaskedUtils.js +7 -3
- package/cjs/components/lib.d.ts +1 -1
- package/cjs/components/modal/Modal.js +21 -7
- package/cjs/components/modal/ModalContent.js +2 -2
- package/cjs/components/number-format/NumberUtils.js +5 -4
- package/cjs/components/progress-indicator/ProgressIndicator.d.ts +1 -1
- package/cjs/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
- package/cjs/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
- package/cjs/components/radio/Radio.d.ts +4 -3
- package/cjs/components/radio/Radio.js +8 -5
- package/cjs/components/radio/RadioGroup.d.ts +4 -3
- package/cjs/components/radio/RadioGroup.js +8 -5
- package/cjs/components/slider/SliderInstance.js +2 -3
- package/cjs/components/slider/SliderProvider.js +2 -2
- package/cjs/components/slider/types.d.ts +2 -1
- package/cjs/components/switch/Switch.d.ts +3 -2
- package/cjs/components/switch/Switch.js +8 -5
- package/cjs/components/textarea/Textarea.d.ts +3 -2
- package/cjs/components/textarea/Textarea.js +8 -5
- package/cjs/components/timeline/TimelineItem.d.ts +2 -2
- package/cjs/components/toggle-button/ToggleButton.d.ts +3 -2
- package/cjs/components/toggle-button/ToggleButton.js +8 -5
- package/cjs/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
- package/cjs/components/toggle-button/ToggleButtonGroup.js +8 -5
- package/cjs/components/tooltip/TooltipWithEvents.d.ts +2 -2
- package/cjs/components/tooltip/TooltipWithEvents.js +6 -1
- package/cjs/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
- package/cjs/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/cjs/elements/Link.d.ts +1 -1
- package/cjs/elements/lib.d.ts +1 -1
- package/cjs/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
- package/cjs/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
- package/cjs/elements/typography/style/typography-mixins.scss +33 -0
- package/cjs/shared/Eufemia.d.ts +1 -0
- package/cjs/shared/Eufemia.js +4 -1
- package/cjs/shared/Theme.d.ts +6 -2
- package/cjs/shared/Theme.js +11 -5
- package/cjs/shared/VisibilityByTheme.js +1 -1
- package/cjs/style/core/scopes.scss +1 -1
- package/cjs/style/core/utilities.scss +17 -13
- package/cjs/style/dnb-ui-basis.css +16 -16
- package/cjs/style/dnb-ui-basis.min.css +1 -1
- package/cjs/style/dnb-ui-body.css +2 -2
- package/cjs/style/dnb-ui-body.min.css +1 -1
- package/cjs/style/dnb-ui-components.css +33 -32
- package/cjs/style/dnb-ui-components.min.css +1 -1
- package/cjs/style/dnb-ui-core.css +16 -16
- package/cjs/style/dnb-ui-core.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
- package/cjs/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
- package/cjs/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
- package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
- package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
- package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
- package/cjs/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
- package/cjs/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
- package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
- package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
- package/cjs/style/themes/theme-ui/ui-theme-basis.css +5 -0
- package/cjs/style/themes/theme-ui/ui-theme-components.css +53 -43
- package/cjs/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/cjs/style/themes/theme-ui/ui-theme-elements.css +5 -0
- package/cjs/style/themes/theme-ui/ui-theme-tags.css +3 -3
- package/cjs/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
- package/components/anchor/Anchor.d.ts +5 -1
- package/components/anchor/Anchor.js +49 -4
- package/components/anchor/style/anchor-mixins.scss +8 -4
- package/components/anchor/style/dnb-anchor.css +8 -9
- package/components/anchor/style/dnb-anchor.min.css +1 -1
- package/components/anchor/style/dnb-anchor.scss +2 -1
- package/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
- package/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
- package/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
- package/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
- package/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
- package/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
- package/components/autocomplete/Autocomplete.d.ts +3 -2
- package/components/autocomplete/Autocomplete.js +8 -5
- package/components/button/Button.d.ts +3 -2
- package/components/button/Button.js +8 -5
- package/components/button/style/dnb-button--tertiary.css +16 -7
- package/components/button/style/dnb-button--tertiary.min.css +1 -1
- package/components/button/style/dnb-button--tertiary.scss +28 -18
- package/components/button/style/dnb-button.css +1 -3
- package/components/button/style/dnb-button.min.css +1 -1
- package/components/button/style/dnb-button.scss +0 -1
- package/components/button/style/themes/button-mixins.scss +4 -4
- package/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
- package/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
- package/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
- package/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
- package/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
- package/components/button/style/themes/dnb-button-theme-ui.css +16 -7
- package/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
- package/components/checkbox/Checkbox.d.ts +3 -2
- package/components/checkbox/Checkbox.js +8 -5
- package/components/date-picker/DatePicker.d.ts +3 -2
- package/components/date-picker/DatePicker.js +9 -5
- package/components/dialog/style/dnb-dialog.css +3 -3
- package/components/dialog/style/dnb-dialog.min.css +1 -1
- package/components/dialog/style/dnb-dialog.scss +2 -4
- package/components/dropdown/Dropdown.d.ts +3 -2
- package/components/dropdown/Dropdown.js +8 -5
- package/components/form-row/FormRow.d.ts +2 -1
- package/components/form-row/FormRow.js +8 -5
- package/components/form-set/FormSet.d.ts +2 -1
- package/components/form-status/FormStatus.d.ts +6 -6
- package/components/form-status/FormStatus.js +13 -7
- package/components/global-status/GlobalStatus.d.ts +8 -0
- package/components/help-button/HelpButton.d.ts +1 -3
- package/components/help-button/HelpButton.js +9 -16
- package/components/icon/style/dnb-icon.css +7 -3
- package/components/icon/style/dnb-icon.min.css +1 -1
- package/components/icon/style/dnb-icon.scss +16 -10
- package/components/input/Input.d.ts +11 -5
- package/components/input/Input.js +8 -5
- package/components/input-masked/InputMasked.d.ts +3 -2
- package/components/input-masked/InputMaskedUtils.js +7 -3
- package/components/lib.d.ts +1 -1
- package/components/modal/Modal.js +21 -7
- package/components/modal/ModalContent.js +2 -2
- package/components/number-format/NumberUtils.js +5 -4
- package/components/progress-indicator/ProgressIndicator.d.ts +1 -1
- package/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
- package/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
- package/components/radio/Radio.d.ts +4 -3
- package/components/radio/Radio.js +8 -5
- package/components/radio/RadioGroup.d.ts +4 -3
- package/components/radio/RadioGroup.js +8 -5
- package/components/slider/SliderInstance.js +2 -3
- package/components/slider/SliderProvider.js +2 -2
- package/components/slider/types.d.ts +2 -1
- package/components/switch/Switch.d.ts +3 -2
- package/components/switch/Switch.js +8 -5
- package/components/textarea/Textarea.d.ts +3 -2
- package/components/textarea/Textarea.js +8 -5
- package/components/timeline/TimelineItem.d.ts +2 -2
- package/components/toggle-button/ToggleButton.d.ts +3 -2
- package/components/toggle-button/ToggleButton.js +8 -5
- package/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
- package/components/toggle-button/ToggleButtonGroup.js +8 -5
- package/components/tooltip/TooltipWithEvents.d.ts +2 -2
- package/components/tooltip/TooltipWithEvents.js +6 -1
- package/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
- package/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/elements/Link.d.ts +1 -1
- package/elements/lib.d.ts +1 -1
- package/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
- package/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
- package/elements/typography/style/typography-mixins.scss +33 -0
- package/es/components/anchor/Anchor.d.ts +5 -1
- package/es/components/anchor/Anchor.js +49 -4
- package/es/components/anchor/style/anchor-mixins.scss +8 -4
- package/es/components/anchor/style/dnb-anchor.css +8 -9
- package/es/components/anchor/style/dnb-anchor.min.css +1 -1
- package/es/components/anchor/style/dnb-anchor.scss +2 -1
- package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
- package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
- package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
- package/es/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
- package/es/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
- package/es/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
- package/es/components/autocomplete/Autocomplete.d.ts +3 -2
- package/es/components/autocomplete/Autocomplete.js +8 -5
- package/es/components/button/Button.d.ts +3 -2
- package/es/components/button/Button.js +8 -5
- package/es/components/button/style/dnb-button--tertiary.css +16 -7
- package/es/components/button/style/dnb-button--tertiary.min.css +1 -1
- package/es/components/button/style/dnb-button--tertiary.scss +28 -18
- package/es/components/button/style/dnb-button.css +1 -3
- package/es/components/button/style/dnb-button.min.css +1 -1
- package/es/components/button/style/dnb-button.scss +0 -1
- package/es/components/button/style/themes/button-mixins.scss +4 -4
- package/es/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
- package/es/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
- package/es/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
- package/es/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
- package/es/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
- package/es/components/button/style/themes/dnb-button-theme-ui.css +16 -7
- package/es/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
- package/es/components/checkbox/Checkbox.d.ts +3 -2
- package/es/components/checkbox/Checkbox.js +8 -5
- package/es/components/date-picker/DatePicker.d.ts +3 -2
- package/es/components/date-picker/DatePicker.js +9 -5
- package/es/components/dialog/style/dnb-dialog.css +3 -3
- package/es/components/dialog/style/dnb-dialog.min.css +1 -1
- package/es/components/dialog/style/dnb-dialog.scss +2 -4
- package/es/components/dropdown/Dropdown.d.ts +3 -2
- package/es/components/dropdown/Dropdown.js +8 -5
- package/es/components/form-row/FormRow.d.ts +2 -1
- package/es/components/form-row/FormRow.js +8 -5
- package/es/components/form-set/FormSet.d.ts +2 -1
- package/es/components/form-status/FormStatus.d.ts +6 -6
- package/es/components/form-status/FormStatus.js +13 -7
- package/es/components/global-status/GlobalStatus.d.ts +8 -0
- package/es/components/help-button/HelpButton.d.ts +1 -3
- package/es/components/help-button/HelpButton.js +9 -16
- package/es/components/icon/style/dnb-icon.css +7 -3
- package/es/components/icon/style/dnb-icon.min.css +1 -1
- package/es/components/icon/style/dnb-icon.scss +16 -10
- package/es/components/input/Input.d.ts +11 -5
- package/es/components/input/Input.js +8 -5
- package/es/components/input-masked/InputMasked.d.ts +3 -2
- package/es/components/input-masked/InputMaskedUtils.js +7 -3
- package/es/components/lib.d.ts +1 -1
- package/es/components/modal/Modal.js +21 -7
- package/es/components/modal/ModalContent.js +2 -2
- package/es/components/number-format/NumberUtils.js +5 -4
- package/es/components/progress-indicator/ProgressIndicator.d.ts +1 -1
- package/es/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
- package/es/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
- package/es/components/radio/Radio.d.ts +4 -3
- package/es/components/radio/Radio.js +8 -5
- package/es/components/radio/RadioGroup.d.ts +4 -3
- package/es/components/radio/RadioGroup.js +8 -5
- package/es/components/slider/SliderInstance.js +2 -3
- package/es/components/slider/SliderProvider.js +2 -2
- package/es/components/slider/types.d.ts +2 -1
- package/es/components/switch/Switch.d.ts +3 -2
- package/es/components/switch/Switch.js +8 -5
- package/es/components/textarea/Textarea.d.ts +3 -2
- package/es/components/textarea/Textarea.js +8 -5
- package/es/components/timeline/TimelineItem.d.ts +2 -2
- package/es/components/toggle-button/ToggleButton.d.ts +3 -2
- package/es/components/toggle-button/ToggleButton.js +8 -5
- package/es/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
- package/es/components/toggle-button/ToggleButtonGroup.js +8 -5
- package/es/components/tooltip/TooltipWithEvents.d.ts +2 -2
- package/es/components/tooltip/TooltipWithEvents.js +6 -1
- package/es/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
- package/es/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/es/elements/Link.d.ts +1 -1
- package/es/elements/lib.d.ts +1 -1
- package/es/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
- package/es/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
- package/es/elements/typography/style/typography-mixins.scss +33 -0
- package/es/shared/Eufemia.d.ts +1 -0
- package/es/shared/Eufemia.js +2 -1
- package/es/shared/Theme.d.ts +6 -2
- package/es/shared/Theme.js +11 -5
- package/es/shared/VisibilityByTheme.js +1 -1
- package/es/style/core/scopes.scss +1 -1
- package/es/style/core/utilities.scss +17 -13
- package/es/style/dnb-ui-basis.css +16 -16
- package/es/style/dnb-ui-basis.min.css +1 -1
- package/es/style/dnb-ui-body.css +2 -2
- package/es/style/dnb-ui-body.min.css +1 -1
- package/es/style/dnb-ui-components.css +33 -32
- package/es/style/dnb-ui-components.min.css +1 -1
- package/es/style/dnb-ui-core.css +16 -16
- package/es/style/dnb-ui-core.min.css +1 -1
- package/es/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
- package/es/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
- package/es/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/es/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
- package/es/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
- package/es/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
- package/es/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
- package/es/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
- package/es/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/es/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
- package/es/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
- package/es/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
- package/es/style/themes/theme-ui/ui-theme-basis.css +5 -0
- package/es/style/themes/theme-ui/ui-theme-components.css +53 -43
- package/es/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/es/style/themes/theme-ui/ui-theme-elements.css +5 -0
- package/es/style/themes/theme-ui/ui-theme-tags.css +3 -3
- package/es/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +1 -1
- package/package.json +1 -1
- package/shared/Eufemia.d.ts +1 -0
- package/shared/Eufemia.js +2 -1
- package/shared/Theme.d.ts +6 -2
- package/shared/Theme.js +11 -5
- package/shared/VisibilityByTheme.js +1 -1
- package/style/core/scopes.scss +1 -1
- package/style/core/utilities.scss +17 -13
- package/style/dnb-ui-basis.css +16 -16
- package/style/dnb-ui-basis.min.css +1 -1
- package/style/dnb-ui-body.css +2 -2
- package/style/dnb-ui-body.min.css +1 -1
- package/style/dnb-ui-components.css +33 -32
- package/style/dnb-ui-components.min.css +1 -1
- package/style/dnb-ui-core.css +16 -16
- package/style/dnb-ui-core.min.css +1 -1
- package/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
- package/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
- package/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
- package/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
- package/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
- package/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
- package/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
- package/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
- package/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
- package/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
- package/style/themes/theme-ui/ui-theme-basis.css +5 -0
- package/style/themes/theme-ui/ui-theme-components.css +53 -43
- package/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/style/themes/theme-ui/ui-theme-elements.css +5 -0
- package/style/themes/theme-ui/ui-theme-tags.css +3 -3
- package/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +1 -1
- package/umd/dnb-ui-extensions.min.js +1 -1
- package/umd/dnb-ui-lib.min.js +1 -1
|
@@ -41,7 +41,7 @@ var _DrawerListHelpers = require("../../fragments/drawer-list/DrawerListHelpers"
|
|
|
41
41
|
|
|
42
42
|
var _AlignmentHelper;
|
|
43
43
|
|
|
44
|
-
const _excluded = ["label", "label_direction", "label_sr_only", "icon_size", "size", "fixed_position", "enable_body_lock", "status", "status_state", "status_props", "status_no_animation", "
|
|
44
|
+
const _excluded = ["label", "label_direction", "label_sr_only", "icon_size", "size", "fixed_position", "enable_body_lock", "status", "status_state", "status_props", "status_no_animation", "globalStatus", "suffix", "scrollable", "focusable", "keep_open", "prevent_close", "no_animation", "no_scroll_animation", "triangle_position", "skip_portal", "portal_class", "trigger_element", "more_menu", "action_menu", "independent_width", "prevent_selection", "max_height", "default_value", "className", "class", "disabled", "stretch", "skeleton", "variant", "title", "icon", "align_dropdown", "icon_position", "data", "children", "direction", "id", "opened", "value"];
|
|
45
45
|
|
|
46
46
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
47
47
|
|
|
@@ -102,7 +102,7 @@ _defineProperty(Dropdown, "defaultProps", {
|
|
|
102
102
|
status_state: 'error',
|
|
103
103
|
status_props: null,
|
|
104
104
|
status_no_animation: null,
|
|
105
|
-
|
|
105
|
+
globalStatus: null,
|
|
106
106
|
suffix: null,
|
|
107
107
|
scrollable: true,
|
|
108
108
|
focusable: false,
|
|
@@ -154,7 +154,10 @@ process.env.NODE_ENV !== "production" ? Dropdown.propTypes = _objectSpread(_obje
|
|
|
154
154
|
status_state: _propTypes.default.string,
|
|
155
155
|
status_props: _propTypes.default.object,
|
|
156
156
|
status_no_animation: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
157
|
-
|
|
157
|
+
globalStatus: _propTypes.default.shape({
|
|
158
|
+
id: _propTypes.default.string,
|
|
159
|
+
message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
|
|
160
|
+
}),
|
|
158
161
|
suffix: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func, _propTypes.default.node]),
|
|
159
162
|
scrollable: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
160
163
|
focusable: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
@@ -365,7 +368,7 @@ class DropdownInstance extends _react.default.PureComponent {
|
|
|
365
368
|
status_state,
|
|
366
369
|
status_props,
|
|
367
370
|
status_no_animation,
|
|
368
|
-
|
|
371
|
+
globalStatus,
|
|
369
372
|
suffix,
|
|
370
373
|
scrollable,
|
|
371
374
|
focusable,
|
|
@@ -477,7 +480,7 @@ class DropdownInstance extends _react.default.PureComponent {
|
|
|
477
480
|
}, _AlignmentHelper || (_AlignmentHelper = _react.default.createElement(_AlignmentHelper2.default, null)), _react.default.createElement(_FormStatus.default, _extends({
|
|
478
481
|
show: showStatus,
|
|
479
482
|
id: id + '-form-status',
|
|
480
|
-
|
|
483
|
+
globalStatus: globalStatus,
|
|
481
484
|
label: label,
|
|
482
485
|
text_id: id + '-status',
|
|
483
486
|
text: status,
|
|
@@ -4,6 +4,7 @@ import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
|
|
|
4
4
|
import type { SkeletonShow } from '../Skeleton';
|
|
5
5
|
import type { SpacingProps } from '../space/types';
|
|
6
6
|
import type { Locale } from '../../shared/Context';
|
|
7
|
+
import type { GlobalStatusConfigObject } from '../GlobalStatus';
|
|
7
8
|
export type FormRowDirection = 'vertical' | 'horizontal';
|
|
8
9
|
export type FormRowChildren =
|
|
9
10
|
| string
|
|
@@ -75,7 +76,7 @@ export interface FormRowProps
|
|
|
75
76
|
* To modify the `spacing`. Use a supported modifier from the <a href="/uilib/components/section/properties">Section component</a>. Defaults to `null`.
|
|
76
77
|
*/
|
|
77
78
|
section_spacing?: SectionSpacing;
|
|
78
|
-
|
|
79
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
79
80
|
|
|
80
81
|
/**
|
|
81
82
|
* To force responsiveness on form components (like <a href="/uilib/components/input">Input</a> and their labels (<a href="/uilib/components/form-label">FormLabel</a>), set the prop to `true`. Defaults to `false`.
|
|
@@ -25,7 +25,7 @@ var _SpacingHelper = require("../space/SpacingHelper");
|
|
|
25
25
|
|
|
26
26
|
var _AlignmentHelper, _span;
|
|
27
27
|
|
|
28
|
-
const _excluded = ["label_direction", "label_sr_only", "label_id", "label_class", "no_fieldset", "no_label", "locale", "direction", "vertical", "centered", "section_style", "section_spacing", "
|
|
28
|
+
const _excluded = ["label_direction", "label_sr_only", "label_id", "label_class", "no_fieldset", "no_label", "locale", "direction", "vertical", "centered", "section_style", "section_spacing", "globalStatus", "responsive", "disabled", "skeleton", "wrap", "className", "class", "skipContentWrapperIfNested", "id", "label"],
|
|
29
29
|
_excluded2 = ["useFieldset", "children", "className"];
|
|
30
30
|
|
|
31
31
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -58,7 +58,10 @@ const formRowPropTypes = _objectSpread(_objectSpread({
|
|
|
58
58
|
centered: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
59
59
|
section_style: _propTypes.default.string,
|
|
60
60
|
section_spacing: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
61
|
-
|
|
61
|
+
globalStatus: _propTypes.default.shape({
|
|
62
|
+
id: _propTypes.default.string,
|
|
63
|
+
message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
|
|
64
|
+
}),
|
|
62
65
|
responsive: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
63
66
|
disabled: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
64
67
|
skeleton: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
@@ -86,7 +89,7 @@ const formRowDefaultProps = {
|
|
|
86
89
|
centered: null,
|
|
87
90
|
section_style: null,
|
|
88
91
|
section_spacing: null,
|
|
89
|
-
|
|
92
|
+
globalStatus: null,
|
|
90
93
|
responsive: null,
|
|
91
94
|
disabled: null,
|
|
92
95
|
skeleton: null,
|
|
@@ -141,7 +144,7 @@ class FormRow extends _react.default.PureComponent {
|
|
|
141
144
|
centered,
|
|
142
145
|
section_style,
|
|
143
146
|
section_spacing,
|
|
144
|
-
|
|
147
|
+
globalStatus,
|
|
145
148
|
responsive,
|
|
146
149
|
disabled,
|
|
147
150
|
skeleton,
|
|
@@ -188,7 +191,7 @@ class FormRow extends _react.default.PureComponent {
|
|
|
188
191
|
},
|
|
189
192
|
itsMeAgain: true,
|
|
190
193
|
hasLabel,
|
|
191
|
-
|
|
194
|
+
globalStatus,
|
|
192
195
|
direction,
|
|
193
196
|
vertical,
|
|
194
197
|
label_direction: (0, _componentHelper.isTrue)(vertical) ? 'vertical' : label_direction,
|
|
@@ -4,6 +4,7 @@ import type { SkeletonShow } from '../Skeleton';
|
|
|
4
4
|
import type { SpacingProps } from '../space/types';
|
|
5
5
|
import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
|
|
6
6
|
import type { Locale } from '../../shared/Context';
|
|
7
|
+
import type { GlobalStatusConfigObject } from '../GlobalStatus';
|
|
7
8
|
export type FormSetDirection = 'vertical' | 'horizontal';
|
|
8
9
|
export type FormSetChildren =
|
|
9
10
|
| string
|
|
@@ -99,7 +100,7 @@ export interface FormSetProps
|
|
|
99
100
|
* To modify the `spacing`. Use a supported modifier from the <a href="/uilib/components/section/properties">Section component</a>. Defaults to `null`.
|
|
100
101
|
*/
|
|
101
102
|
section_spacing?: SectionSpacing;
|
|
102
|
-
|
|
103
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* To force responsiveness on form components (like <a href="/uilib/components/input">Input</a> and their labels (<a href="/uilib/components/form-label">FormLabel</a>), set the prop to `true`. Defaults to `false`.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { GlobalStatusConfigObject } from '../GlobalStatus';
|
|
2
3
|
import type { IconIcon, IconSize } from '../Icon';
|
|
3
4
|
import type { SkeletonShow } from '../Skeleton';
|
|
4
5
|
import type { SpacingProps } from '../space/types';
|
|
@@ -40,7 +41,11 @@ export interface FormStatusProps
|
|
|
40
41
|
* The `text` appears as the status message. Beside plain text, you can send in a React component as well.
|
|
41
42
|
*/
|
|
42
43
|
text?: FormStatusText;
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
47
|
+
*/
|
|
48
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
44
49
|
|
|
45
50
|
/**
|
|
46
51
|
* The `icon` show before the status text. Defaults to `exclamation`.
|
|
@@ -66,11 +71,6 @@ export interface FormStatusProps
|
|
|
66
71
|
* Defines the appearance size. There are these sizes `default`, `large`. The default status is `default`.
|
|
67
72
|
*/
|
|
68
73
|
size?: FormStatusSize;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
72
|
-
*/
|
|
73
|
-
global_status_id?: string;
|
|
74
74
|
attributes?: FormStatusAttributes;
|
|
75
75
|
text_id?: string;
|
|
76
76
|
width_selector?: string;
|
|
@@ -30,7 +30,7 @@ var _FormRowHelpers = require("../form-row/FormRowHelpers");
|
|
|
30
30
|
|
|
31
31
|
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _circle, _path8, _path9;
|
|
32
32
|
|
|
33
|
-
const _excluded = ["show", "title", "state", "size", "variant", "className", "no_animation", "stretch", "class", "text_id", "label", "status_id", "id", "text", "icon", "icon_size", "skeleton", "children", "role"];
|
|
33
|
+
const _excluded = ["show", "title", "state", "size", "variant", "className", "no_animation", "stretch", "class", "text_id", "label", "status_id", "globalStatus", "id", "text", "icon", "icon_size", "skeleton", "children", "role"];
|
|
34
34
|
|
|
35
35
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
36
36
|
|
|
@@ -123,7 +123,7 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
constructor(props, context) {
|
|
126
|
-
var _context$FormStatus, _context$FormRow;
|
|
126
|
+
var _props$globalStatus, _context$FormStatus, _context$FormStatus$g, _context$FormRow, _context$FormRow$glob;
|
|
127
127
|
|
|
128
128
|
super(props);
|
|
129
129
|
|
|
@@ -155,11 +155,12 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
155
155
|
});
|
|
156
156
|
|
|
157
157
|
this.state.id = props.id || (0, _componentHelper.makeUniqueId)();
|
|
158
|
-
this._globalStatus = _GlobalStatusProvider.default.init((props === null || props === void 0 ? void 0 : props.
|
|
158
|
+
this._globalStatus = _GlobalStatusProvider.default.init((props === null || props === void 0 ? void 0 : (_props$globalStatus = props.globalStatus) === null || _props$globalStatus === void 0 ? void 0 : _props$globalStatus.id) || (context === null || context === void 0 ? void 0 : (_context$FormStatus = context.FormStatus) === null || _context$FormStatus === void 0 ? void 0 : (_context$FormStatus$g = _context$FormStatus.globalStatus) === null || _context$FormStatus$g === void 0 ? void 0 : _context$FormStatus$g.id) || (context === null || context === void 0 ? void 0 : (_context$FormRow = context.FormRow) === null || _context$FormRow === void 0 ? void 0 : (_context$FormRow$glob = _context$FormRow.globalStatus) === null || _context$FormRow$glob === void 0 ? void 0 : _context$FormRow$glob.id) || 'main', provider => {
|
|
159
159
|
if (this.props.state === 'error' && this.isReadyToGetVisible()) {
|
|
160
160
|
const {
|
|
161
161
|
state,
|
|
162
162
|
text,
|
|
163
|
+
globalStatus,
|
|
163
164
|
label
|
|
164
165
|
} = this.props;
|
|
165
166
|
provider.add({
|
|
@@ -167,7 +168,7 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
167
168
|
status_id: this.getStatusId(),
|
|
168
169
|
item: {
|
|
169
170
|
item_id: this.state.id,
|
|
170
|
-
text,
|
|
171
|
+
text: (globalStatus === null || globalStatus === void 0 ? void 0 : globalStatus.message) || text,
|
|
171
172
|
status_anchor_label: label,
|
|
172
173
|
status_anchor_url: true
|
|
173
174
|
}
|
|
@@ -227,6 +228,7 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
227
228
|
state,
|
|
228
229
|
show,
|
|
229
230
|
text,
|
|
231
|
+
globalStatus,
|
|
230
232
|
children,
|
|
231
233
|
label
|
|
232
234
|
} = this.props;
|
|
@@ -245,7 +247,7 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
245
247
|
status_id,
|
|
246
248
|
item: {
|
|
247
249
|
item_id: this.state.id,
|
|
248
|
-
text,
|
|
250
|
+
text: (globalStatus === null || globalStatus === void 0 ? void 0 : globalStatus.message) || text,
|
|
249
251
|
status_anchor_label: label,
|
|
250
252
|
status_anchor_url: true
|
|
251
253
|
}
|
|
@@ -304,6 +306,7 @@ class FormStatus extends _react.default.PureComponent {
|
|
|
304
306
|
text_id,
|
|
305
307
|
label,
|
|
306
308
|
status_id,
|
|
309
|
+
globalStatus,
|
|
307
310
|
id,
|
|
308
311
|
text,
|
|
309
312
|
icon,
|
|
@@ -371,13 +374,13 @@ _defineProperty(FormStatus, "defaultProps", {
|
|
|
371
374
|
title: null,
|
|
372
375
|
show: true,
|
|
373
376
|
text: null,
|
|
377
|
+
globalStatus: null,
|
|
374
378
|
label: null,
|
|
375
379
|
icon: 'error',
|
|
376
380
|
icon_size: 'medium',
|
|
377
381
|
size: 'default',
|
|
378
382
|
variant: null,
|
|
379
383
|
state: 'error',
|
|
380
|
-
global_status_id: null,
|
|
381
384
|
attributes: null,
|
|
382
385
|
text_id: null,
|
|
383
386
|
width_selector: null,
|
|
@@ -402,7 +405,10 @@ process.env.NODE_ENV !== "production" ? FormStatus.propTypes = _objectSpread(_ob
|
|
|
402
405
|
state: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string, _propTypes.default.oneOf(['error', 'warn', 'info', 'marketing'])]),
|
|
403
406
|
variant: _propTypes.default.oneOf(['flat', 'outlined']),
|
|
404
407
|
size: _propTypes.default.oneOf(['default', 'large']),
|
|
405
|
-
|
|
408
|
+
globalStatus: _propTypes.default.shape({
|
|
409
|
+
id: _propTypes.default.string,
|
|
410
|
+
message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
|
|
411
|
+
}),
|
|
406
412
|
attributes: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
|
|
407
413
|
text_id: _propTypes.default.string,
|
|
408
414
|
width_selector: _propTypes.default.string,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { FormStatusText } from '../FormStatus';
|
|
2
3
|
import type { IconIcon, IconSize } from '../Icon';
|
|
3
4
|
import type { SkeletonShow } from '../Skeleton';
|
|
4
5
|
import type { SpacingProps } from '../space/types';
|
|
@@ -11,6 +12,13 @@ export type GlobalStatusItem = string | ((...args: any[]) => any) | any;
|
|
|
11
12
|
export type GlobalStatusState = 'error' | 'info';
|
|
12
13
|
export type GlobalStatusShow = 'auto' | any | any | 'true' | 'false';
|
|
13
14
|
export type GlobalStatusDelay = string | number;
|
|
15
|
+
export type GlobalStatusConfigObject = {
|
|
16
|
+
/**
|
|
17
|
+
* The main ID. Defaults to `main`.
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
message?: FormStatusText;
|
|
21
|
+
};
|
|
14
22
|
export type GlobalStatusChildren =
|
|
15
23
|
| string
|
|
16
24
|
| ((...args: any[]) => any)
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { ButtonProps } from '../button/Button';
|
|
7
|
-
import { ModalProps } from '../modal/types';
|
|
8
7
|
export declare type HelpButtonProps = {
|
|
9
|
-
|
|
10
|
-
modal_props?: ModalProps;
|
|
8
|
+
render?: (children: React.ReactNode, props: ButtonProps) => React.ReactElement;
|
|
11
9
|
} & ButtonProps;
|
|
12
10
|
export default function HelpButton(localProps: HelpButtonProps): JSX.Element;
|
|
@@ -15,12 +15,10 @@ var _HelpButtonInstance = _interopRequireDefault(require("./HelpButtonInstance")
|
|
|
15
15
|
|
|
16
16
|
var _componentHelper = require("../../shared/component-helper");
|
|
17
17
|
|
|
18
|
-
const _excluded = ["
|
|
18
|
+
const _excluded = ["children", "render"];
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
22
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
|
-
|
|
24
22
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
25
23
|
|
|
26
24
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -31,23 +29,13 @@ const defaultProps = {
|
|
|
31
29
|
};
|
|
32
30
|
|
|
33
31
|
function HelpButton(localProps) {
|
|
34
|
-
const getContent = props => {
|
|
35
|
-
if (props.modal_content) {
|
|
36
|
-
return props.modal_content;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return typeof props.children === 'function' ? props.children(props) : props.children;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
32
|
const context = _react.default.useContext(_Context.default);
|
|
43
33
|
|
|
44
34
|
const props = (0, _componentHelper.extendPropsWithContext)(localProps, defaultProps);
|
|
45
|
-
const content = getContent(props);
|
|
46
35
|
|
|
47
36
|
const {
|
|
48
|
-
modal_content,
|
|
49
37
|
children,
|
|
50
|
-
|
|
38
|
+
render
|
|
51
39
|
} = props,
|
|
52
40
|
params = _objectWithoutProperties(props, _excluded);
|
|
53
41
|
|
|
@@ -55,14 +43,18 @@ function HelpButton(localProps) {
|
|
|
55
43
|
params.icon = 'question';
|
|
56
44
|
}
|
|
57
45
|
|
|
58
|
-
if (
|
|
46
|
+
if (children) {
|
|
59
47
|
if (!params.title) {
|
|
60
48
|
params.title = context.getTranslation(props).HelpButton.title;
|
|
61
49
|
}
|
|
62
50
|
|
|
63
|
-
|
|
51
|
+
if (typeof render === 'function') {
|
|
52
|
+
return render(children, params);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return _react.default.createElement(_Dialog.default, {
|
|
64
56
|
triggerAttributes: params
|
|
65
|
-
},
|
|
57
|
+
}, children);
|
|
66
58
|
}
|
|
67
59
|
|
|
68
60
|
return _react.default.createElement(_HelpButtonInstance.default, params);
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
width: 1em;
|
|
15
15
|
height: 1em;
|
|
16
16
|
}
|
|
17
|
-
.dnb-icon img,
|
|
18
|
-
.dnb-icon svg
|
|
17
|
+
.dnb-icon img, .dnb-core-style .dnb-icon img,
|
|
18
|
+
.dnb-icon svg,
|
|
19
|
+
.dnb-core-style .dnb-icon svg {
|
|
19
20
|
width: inherit;
|
|
20
21
|
height: inherit;
|
|
21
22
|
shape-rendering: geometricprecision;
|
|
@@ -63,9 +64,12 @@
|
|
|
63
64
|
align-items: center;
|
|
64
65
|
justify-content: center;
|
|
65
66
|
}
|
|
66
|
-
h1 .dnb-icon, h2 .dnb-icon, h3 .dnb-icon, h4 .dnb-icon, h5 .dnb-icon, h6 .dnb-icon {
|
|
67
|
+
h1 > .dnb-icon, h2 > .dnb-icon, h3 > .dnb-icon, h4 > .dnb-icon, h5 > .dnb-icon, h6 > .dnb-icon {
|
|
67
68
|
vertical-align: middle;
|
|
68
69
|
}
|
|
70
|
+
p > .dnb-icon {
|
|
71
|
+
vertical-align: inherit;
|
|
72
|
+
}
|
|
69
73
|
.dnb-icon.dnb-skeleton {
|
|
70
74
|
color: var(--skeleton-color) !important;
|
|
71
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dnb-icon{color:inherit;display:inline-block;font-size:1rem;height:1em;line-height:1rem;vertical-align:middle;width:1em}.dnb-icon img,.dnb-icon svg{shape-rendering:geometricprecision;height:inherit;vertical-align:top;width:inherit}.dnb-icon svg[width="100%"]{width:inherit}.dnb-icon svg[height="100%"]{height:inherit}.dnb-icon--inherit-color svg:not([fill]),.dnb-icon--inherit-color svg [fill]{fill:currentcolor}.dnb-icon--inherit-color svg [stroke]{stroke:currentcolor}.dnb-icon--small{font-size:.75rem}.dnb-icon--default{font-size:1rem}.dnb-icon--medium{font-size:1.5rem}.dnb-icon--large{font-size:2rem}.dnb-icon--x-large{font-size:2.5rem}.dnb-icon--xx-large{font-size:3rem}.dnb-icon--custom-size{height:auto;width:auto}.dnb-icon--auto{font-size:1em}.dnb-icon--auto>.dnb-icon--wrapper{align-items:center;display:inline-flex;justify-content:center}h1
|
|
1
|
+
.dnb-icon{color:inherit;display:inline-block;font-size:1rem;height:1em;line-height:1rem;vertical-align:middle;width:1em}.dnb-core-style .dnb-icon img,.dnb-core-style .dnb-icon svg,.dnb-icon img,.dnb-icon svg{shape-rendering:geometricprecision;height:inherit;vertical-align:top;width:inherit}.dnb-icon svg[width="100%"]{width:inherit}.dnb-icon svg[height="100%"]{height:inherit}.dnb-icon--inherit-color svg:not([fill]),.dnb-icon--inherit-color svg [fill]{fill:currentcolor}.dnb-icon--inherit-color svg [stroke]{stroke:currentcolor}.dnb-icon--small{font-size:.75rem}.dnb-icon--default{font-size:1rem}.dnb-icon--medium{font-size:1.5rem}.dnb-icon--large{font-size:2rem}.dnb-icon--x-large{font-size:2.5rem}.dnb-icon--xx-large{font-size:3rem}.dnb-icon--custom-size{height:auto;width:auto}.dnb-icon--auto{font-size:1em}.dnb-icon--auto>.dnb-icon--wrapper{align-items:center;display:inline-flex;justify-content:center}h1>.dnb-icon,h2>.dnb-icon,h3>.dnb-icon,h4>.dnb-icon,h5>.dnb-icon,h6>.dnb-icon{vertical-align:middle}p>.dnb-icon{vertical-align:inherit}.dnb-icon.dnb-skeleton{color:var(--skeleton-color)!important}.dnb-icon.dnb-skeleton:after,.dnb-icon.dnb-skeleton:before{content:none!important}
|
|
@@ -23,10 +23,13 @@
|
|
|
23
23
|
// responsive
|
|
24
24
|
img,
|
|
25
25
|
svg {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
&,
|
|
27
|
+
.dnb-core-style & {
|
|
28
|
+
width: inherit;
|
|
29
|
+
height: inherit;
|
|
30
|
+
shape-rendering: geometricprecision;
|
|
31
|
+
vertical-align: top;
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
// auto size
|
|
@@ -88,14 +91,17 @@
|
|
|
88
91
|
justify-content: center;
|
|
89
92
|
}
|
|
90
93
|
|
|
91
|
-
h1 &,
|
|
92
|
-
h2 &,
|
|
93
|
-
h3 &,
|
|
94
|
-
h4 &,
|
|
95
|
-
h5 &,
|
|
96
|
-
h6 & {
|
|
94
|
+
h1 > &,
|
|
95
|
+
h2 > &,
|
|
96
|
+
h3 > &,
|
|
97
|
+
h4 > &,
|
|
98
|
+
h5 > &,
|
|
99
|
+
h6 > & {
|
|
97
100
|
vertical-align: middle;
|
|
98
101
|
}
|
|
102
|
+
p > & {
|
|
103
|
+
vertical-align: inherit;
|
|
104
|
+
}
|
|
99
105
|
|
|
100
106
|
&.dnb-skeleton {
|
|
101
107
|
&::before,
|
|
@@ -9,6 +9,7 @@ import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
|
|
|
9
9
|
import type { IconIcon, IconSize } from '../Icon';
|
|
10
10
|
import type { SkeletonShow } from '../Skeleton';
|
|
11
11
|
import type { SpacingProps } from '../space/types';
|
|
12
|
+
import type { GlobalStatusConfigObject } from '../GlobalStatus';
|
|
12
13
|
export type InputSize = 'default' | 'small' | 'medium' | 'large' | number;
|
|
13
14
|
export type InputValue = string | number;
|
|
14
15
|
export type InputSuffix =
|
|
@@ -67,6 +68,11 @@ export interface InputProps
|
|
|
67
68
|
*/
|
|
68
69
|
status?: FormStatusText;
|
|
69
70
|
|
|
71
|
+
/**
|
|
72
|
+
* The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
73
|
+
*/
|
|
74
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
75
|
+
|
|
70
76
|
/**
|
|
71
77
|
* Defines the state of the status. Currently, there are two statuses `[error, info]`. Defaults to `error`.
|
|
72
78
|
*/
|
|
@@ -83,11 +89,6 @@ export interface InputProps
|
|
|
83
89
|
*/
|
|
84
90
|
input_state?: string;
|
|
85
91
|
|
|
86
|
-
/**
|
|
87
|
-
* The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
88
|
-
*/
|
|
89
|
-
global_status_id?: string;
|
|
90
|
-
|
|
91
92
|
/**
|
|
92
93
|
* Defaults to `off`. Set to `on` or any of <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocomplete">allowed `attributes`</a>. Keep in mind, 1. you may have to define a `name`, 2. have the input as a descendant of a `<form>` element, 3. and have a submit button inside the form.
|
|
93
94
|
*/
|
|
@@ -255,6 +256,11 @@ export interface SubmitButtonProps extends React.HTMLProps<HTMLElement> {
|
|
|
255
256
|
*/
|
|
256
257
|
status?: FormStatusText;
|
|
257
258
|
|
|
259
|
+
/**
|
|
260
|
+
* The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
261
|
+
*/
|
|
262
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
263
|
+
|
|
258
264
|
/**
|
|
259
265
|
* Defines the state of the status. Currently, there are two statuses `[error, info]`. Defaults to `error`.
|
|
260
266
|
*/
|
|
@@ -35,7 +35,7 @@ var _Suffix = _interopRequireDefault(require("../../shared/helpers/Suffix"));
|
|
|
35
35
|
|
|
36
36
|
var _AlignmentHelper;
|
|
37
37
|
|
|
38
|
-
const _excluded = ["type", "size", "label", "label_direction", "label_sr_only", "status", "
|
|
38
|
+
const _excluded = ["type", "size", "label", "label_direction", "label_sr_only", "status", "globalStatus", "status_state", "status_props", "status_no_animation", "disabled", "skeleton", "placeholder", "clear", "keep_placeholder", "suffix", "align", "input_class", "submit_button_title", "clear_button_title", "submit_button_variant", "submit_button_icon", "submit_button_status", "submit_element", "inner_element", "autocomplete", "readOnly", "stretch", "input_attributes", "icon", "icon_position", "icon_size", "class", "className", "id", "children", "value", "selectall", "on_submit", "input_element"],
|
|
39
39
|
_excluded2 = ["id", "title", "disabled", "skeleton", "variant", "icon", "icon_size", "status", "status_state", "status_props", "className"];
|
|
40
40
|
|
|
41
41
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -65,11 +65,14 @@ const inputPropTypes = _objectSpread(_objectSpread({
|
|
|
65
65
|
label_direction: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
|
66
66
|
label_sr_only: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
67
67
|
status: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool, _propTypes.default.func, _propTypes.default.node]),
|
|
68
|
+
globalStatus: _propTypes.default.shape({
|
|
69
|
+
id: _propTypes.default.string,
|
|
70
|
+
message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
|
|
71
|
+
}),
|
|
68
72
|
status_state: _propTypes.default.string,
|
|
69
73
|
status_props: _propTypes.default.object,
|
|
70
74
|
status_no_animation: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
|
|
71
75
|
input_state: _propTypes.default.string,
|
|
72
|
-
global_status_id: _propTypes.default.string,
|
|
73
76
|
autocomplete: _propTypes.default.string,
|
|
74
77
|
submit_button_title: _propTypes.default.string,
|
|
75
78
|
clear_button_title: _propTypes.default.string,
|
|
@@ -282,10 +285,10 @@ class Input extends _react.default.PureComponent {
|
|
|
282
285
|
label_direction,
|
|
283
286
|
label_sr_only,
|
|
284
287
|
status,
|
|
288
|
+
globalStatus,
|
|
285
289
|
status_state,
|
|
286
290
|
status_props,
|
|
287
291
|
status_no_animation,
|
|
288
|
-
global_status_id,
|
|
289
292
|
disabled,
|
|
290
293
|
skeleton,
|
|
291
294
|
placeholder,
|
|
@@ -400,7 +403,7 @@ class Input extends _react.default.PureComponent {
|
|
|
400
403
|
}), _react.default.createElement("span", innerParams, _AlignmentHelper || (_AlignmentHelper = _react.default.createElement(_AlignmentHelper2.default, null)), _react.default.createElement(_FormStatus.default, _extends({
|
|
401
404
|
show: showStatus,
|
|
402
405
|
id: id + '-form-status',
|
|
403
|
-
|
|
406
|
+
globalStatus: globalStatus,
|
|
404
407
|
label: label,
|
|
405
408
|
text: status,
|
|
406
409
|
state: status_state,
|
|
@@ -477,11 +480,11 @@ _defineProperty(Input, "defaultProps", {
|
|
|
477
480
|
label_direction: null,
|
|
478
481
|
label_sr_only: null,
|
|
479
482
|
status: null,
|
|
483
|
+
globalStatus: null,
|
|
480
484
|
status_state: 'error',
|
|
481
485
|
status_props: null,
|
|
482
486
|
status_no_animation: null,
|
|
483
487
|
input_state: null,
|
|
484
|
-
global_status_id: null,
|
|
485
488
|
autocomplete: 'off',
|
|
486
489
|
placeholder: null,
|
|
487
490
|
clear: null,
|
|
@@ -7,6 +7,7 @@ import type {
|
|
|
7
7
|
FormStatusState,
|
|
8
8
|
FormStatusText
|
|
9
9
|
} from '../FormStatus';
|
|
10
|
+
import type { GlobalStatusConfigObject } from '../GlobalStatus';
|
|
10
11
|
import type { IconIcon, IconSize } from '../Icon';
|
|
11
12
|
import type {
|
|
12
13
|
InputInputAttributes,
|
|
@@ -195,9 +196,9 @@ export interface InputMaskedProps
|
|
|
195
196
|
input_state?: string;
|
|
196
197
|
|
|
197
198
|
/**
|
|
198
|
-
* The
|
|
199
|
+
* The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
|
|
199
200
|
*/
|
|
200
|
-
|
|
201
|
+
globalStatus?: GlobalStatusConfigObject;
|
|
201
202
|
|
|
202
203
|
/**
|
|
203
204
|
* Defaults to `off`. Set to `on` or any of <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocomplete">allowed `attributes`</a>. Keep in mind, 1. you may have to define a `name`, 2. have the input as a descendant of a `<form>` element, 3. and have a submit button inside the form.
|
|
@@ -66,9 +66,13 @@ const correctNumberValue = _ref3 => {
|
|
|
66
66
|
|
|
67
67
|
if (maskParams.integerLimit && typeof maskParams.integerLimit === 'number') {
|
|
68
68
|
const limit = maskParams.integerLimit;
|
|
69
|
-
const integers = value.
|
|
70
|
-
const
|
|
71
|
-
|
|
69
|
+
const integers = value.split('.')[0];
|
|
70
|
+
const isNegative = parseFloat(integers) < 0;
|
|
71
|
+
|
|
72
|
+
if (integers.length - (isNegative ? 1 : 0) > limit) {
|
|
73
|
+
const decimals = decimalPos > 0 ? value.slice(decimalPos) : '';
|
|
74
|
+
value = integers.slice(0, limit + (isNegative ? 1 : 0)) + decimals;
|
|
75
|
+
}
|
|
72
76
|
}
|
|
73
77
|
|
|
74
78
|
const shouldHaveDecimals = maskParams.allowDecimal || maskParams.decimalLimit > 0 && maskParams.allowDecimal !== false;
|
package/cjs/components/lib.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare const getComponents: () => {
|
|
|
61
61
|
Accordion: typeof Accordion;
|
|
62
62
|
Anchor: import("react").ForwardRefExoticComponent<Pick<import("./anchor/Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("./space/types").SpacingElementProps & {
|
|
63
63
|
space?: import("./space/types").SpaceType | import("./space/types").SpacingElementProps;
|
|
64
|
-
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "element" | "targetBlankTitle" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
64
|
+
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "icon" | "element" | "targetBlankTitle" | "iconPosition" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
65
65
|
Autocomplete: typeof Autocomplete;
|
|
66
66
|
Avatar: {
|
|
67
67
|
(localProps: import("./avatar/Avatar").AvatarProps & import("./space/types").SpacingElementProps & {
|