@nordhealth/components 4.11.0 → 4.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/custom-elements.json +4145 -3918
- package/lib/AutocompleteMixin-D8eiOxvO.js.map +1 -1
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +1 -1
- package/lib/Banner.js.map +1 -1
- package/lib/Button.js +12 -1
- package/lib/Button.js.map +1 -1
- package/lib/ButtonGroup.js +1 -1
- package/lib/ButtonGroup.js.map +1 -1
- package/lib/Calendar-CL_eqbiT.js +2 -0
- package/lib/Calendar-CL_eqbiT.js.map +1 -0
- package/lib/Calendar.js +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Checkbox.js.map +1 -1
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction.js +1 -1
- package/lib/CommandMenuAction.js.map +1 -1
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DateSelectEvent.js +1 -1
- package/lib/DateSelectEvent.js.map +1 -1
- package/lib/DirectionController-ChvNGESZ.js.map +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/Drawer.js +1 -1
- package/lib/Drawer.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/DropdownItem-Cy6lHtoG.js +2 -0
- package/lib/DropdownItem-Cy6lHtoG.js.map +1 -0
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/EventController-BBOmvfLa.js.map +1 -1
- package/lib/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/FocusableMixin-BlQLNPdJ.js.map +1 -1
- package/lib/Footer.js +1 -1
- package/lib/Footer.js.map +1 -1
- package/lib/FormAssociatedMixin-DFL7yabe.js.map +1 -1
- package/lib/FormDataController-OUt5L5uC.js.map +1 -1
- package/lib/{FormField-CUC_H-0e.js → FormField--eLuhPue.js} +2 -2
- package/lib/FormField--eLuhPue.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/IconManager.js +1 -1
- package/lib/IconManager.js.map +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/InputMixin-LetXsCyv.js.map +1 -1
- package/lib/KeyboardController.js +1 -1
- package/lib/KeyboardController.js.map +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LightDismissController-4pH8cdko.js.map +1 -1
- package/lib/LightDomController-DIwtVelV.js.map +1 -1
- package/lib/LightSlotController-Coyy4nqS.js.map +1 -1
- package/lib/LocalizeController.js +1 -1
- package/lib/LocalizeController.js.map +1 -1
- package/lib/Message.js +1 -1
- package/lib/Message.js.map +1 -1
- package/lib/Modal.js +1 -1
- package/lib/Modal.js.map +1 -1
- package/lib/ModalController.js +1 -1
- package/lib/ModalController.js.map +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/NavItem.js +1 -1
- package/lib/NavItem.js.map +1 -1
- package/lib/{NavToggle-D-udBTou.js → NavToggle-DL74d1aQ.js} +2 -2
- package/lib/NavToggle-DL74d1aQ.js.map +1 -0
- package/lib/NavToggle.js +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/Notification.js +1 -1
- package/lib/Notification.js.map +1 -1
- package/lib/NotificationGroup.js +1 -1
- package/lib/NotificationGroup.js.map +1 -1
- package/lib/NotificationMixin-DOUQsx7N.js.map +1 -1
- package/lib/Popout-k_ddK22Q.js +2 -0
- package/lib/Popout-k_ddK22Q.js.map +1 -0
- package/lib/Popout.js +1 -1
- package/lib/Progress.js +2 -0
- package/lib/Progress.js.map +1 -0
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js.map +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Range.js +1 -1
- package/lib/Range.js.map +1 -1
- package/lib/ScrollbarController-BFC67Y2x.js +2 -0
- package/lib/ScrollbarController-BFC67Y2x.js.map +1 -0
- package/lib/SegmentedControl.js +1 -1
- package/lib/SegmentedControl.js.map +1 -1
- package/lib/SegmentedControlItem.js +44 -1
- package/lib/SegmentedControlItem.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/SelectEvent.js.map +1 -1
- package/lib/ShortcutController-BIb3WGzH.js.map +1 -1
- package/lib/SizeMixin-CU9cLbLC.js.map +1 -1
- package/lib/Skeleton.js.map +1 -1
- package/lib/SlotController-Z6eG7LSZ.js.map +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/Tag.js +1 -1
- package/lib/Tag.js.map +1 -1
- package/lib/TagGroup.js +1 -1
- package/lib/TagGroup.js.map +1 -1
- package/lib/{TextField-C5gYzfOp.js → TextField-BdEdZ0_b.js} +2 -2
- package/lib/TextField-BdEdZ0_b.js.map +1 -0
- package/lib/TextSelectableMixin-Cfv__lHS.js.map +1 -1
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/Toast.js +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/ToastGroup.js.map +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/TopBar.js +1 -1
- package/lib/TopBar.js.map +1 -1
- package/lib/VisuallyHidden.js.map +1 -1
- package/lib/bundle.js +80 -26
- package/lib/bundle.js.map +1 -1
- package/lib/collection-Dvg2XbxV.js.map +1 -1
- package/lib/cond-CI1KbneT.js.map +1 -1
- package/lib/date-adapter.js +1 -1
- package/lib/date-adapter.js.map +1 -1
- package/lib/dates-CAAlPKZi.js +2 -0
- package/lib/dates-CAAlPKZi.js.map +1 -0
- package/lib/en-us.js +1 -1
- package/lib/en-us.js.map +1 -1
- package/lib/events-Bv6wNHwJ.js.map +1 -1
- package/lib/fi-fi.js.map +1 -1
- package/lib/fsm-Bq5jMQrK.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/interface-checked-small-BtICPEsp.js.map +1 -1
- package/lib/interface-close-small-CnpAFMO3.js.map +1 -1
- package/lib/localization.js +1 -1
- package/lib/localization.js.map +1 -1
- package/lib/localization2.js +1 -1
- package/lib/localization2.js.map +1 -1
- package/lib/localization3.js +1 -1
- package/lib/localization3.js.map +1 -1
- package/lib/localization4.js +1 -1
- package/lib/localization4.js.map +1 -1
- package/lib/localization5.js +1 -1
- package/lib/localization5.js.map +1 -1
- package/lib/localization6.js +1 -1
- package/lib/localization6.js.map +1 -1
- package/lib/localization7.js.map +1 -1
- package/lib/localization8.js +1 -1
- package/lib/localization8.js.map +1 -1
- package/lib/localization9.js +1 -1
- package/lib/localization9.js.map +1 -1
- package/lib/number-Dg2vCfGd.js.map +1 -1
- package/lib/observe-D0n0zOfU.js.map +1 -1
- package/lib/positioning-DDh0UNgJ.js +2 -0
- package/lib/positioning-DDh0UNgJ.js.map +1 -0
- package/lib/react.d.ts +117 -110
- package/lib/src/avatar/Avatar.d.ts +6 -6
- package/lib/src/badge/Badge.d.ts +4 -4
- package/lib/src/banner/Banner.d.ts +3 -3
- package/lib/src/button/Button.d.ts +12 -11
- package/lib/src/button-group/ButtonGroup.d.ts +4 -4
- package/lib/src/calendar/Calendar.d.ts +6 -6
- package/lib/src/calendar/DateSelectEvent.d.ts +1 -1
- package/lib/src/card/Card.d.ts +3 -3
- package/lib/src/checkbox/Checkbox.d.ts +2 -2
- package/lib/src/command-menu/CommandMenu.d.ts +7 -6
- package/lib/src/command-menu/CommandMenuAction.d.ts +4 -4
- package/lib/src/command-menu/ICommandMenuAction.d.ts +1 -1
- package/lib/src/command-menu/KeyboardController.d.ts +3 -3
- package/lib/src/command-menu/SelectEvent.d.ts +2 -2
- package/lib/src/common/collection.d.ts +7 -7
- package/lib/src/common/controllers/BroadcastChannelController.d.ts +3 -3
- package/lib/src/common/controllers/DirectionController.d.ts +2 -2
- package/lib/src/common/controllers/EventController.d.ts +1 -1
- package/lib/src/common/controllers/FocusTrapController.d.ts +1 -1
- package/lib/src/common/controllers/FormDataController.d.ts +4 -4
- package/lib/src/common/controllers/LightDismissController.d.ts +3 -3
- package/lib/src/common/controllers/LightDomController.d.ts +3 -3
- package/lib/src/common/controllers/LightSlotController.d.ts +4 -4
- package/lib/src/common/controllers/PortalController.d.ts +3 -3
- package/lib/src/common/controllers/ResizeController.d.ts +1 -1
- package/lib/src/common/controllers/ScrollbarController.d.ts +1 -1
- package/lib/src/common/controllers/ShortcutController.d.ts +3 -3
- package/lib/src/common/controllers/SlotController.d.ts +1 -1
- package/lib/src/common/controllers/SwipeController.d.ts +7 -7
- package/lib/src/common/dates.d.ts +3 -3
- package/lib/src/common/decorators/observe.d.ts +1 -1
- package/lib/src/common/directives/cond.d.ts +1 -1
- package/lib/src/common/fsm.d.ts +2 -2
- package/lib/src/common/mixins/AutocompleteMixin.d.ts +2 -2
- package/lib/src/common/mixins/DraftComponentMixin.d.ts +1 -1
- package/lib/src/common/mixins/FloatingComponentMixin.d.ts +4 -4
- package/lib/src/common/mixins/FocusableMixin.d.ts +2 -2
- package/lib/src/common/mixins/FormAssociatedMixin.d.ts +6 -6
- package/lib/src/common/mixins/InputMixin.d.ts +1 -1
- package/lib/src/common/mixins/NotificationMixin.d.ts +2 -2
- package/lib/src/common/mixins/ReadonlyMixin.d.ts +1 -1
- package/lib/src/common/mixins/SizeMixin.d.ts +2 -2
- package/lib/src/common/mixins/TextSelectableMixin.d.ts +5 -5
- package/lib/src/common/positioning.d.ts +3 -3
- package/lib/src/common/ref.d.ts +1 -1
- package/lib/src/date-picker/DatePicker.d.ts +11 -11
- package/lib/src/date-picker/date-adapter.d.ts +1 -1
- package/lib/src/divider/Divider.d.ts +3 -3
- package/lib/src/drawer/Drawer.d.ts +4 -4
- package/lib/src/dropdown/Dropdown.d.ts +4 -6
- package/lib/src/dropdown-group/DropdownGroup.d.ts +2 -2
- package/lib/src/dropdown-item/DropdownItem.d.ts +4 -3
- package/lib/src/empty-state/EmptyState.d.ts +2 -2
- package/lib/src/fieldset/Fieldset.d.ts +3 -3
- package/lib/src/footer/Footer.d.ts +3 -3
- package/lib/src/header/Header.d.ts +3 -3
- package/lib/src/icon/Icon.d.ts +4 -4
- package/lib/src/index.d.ts +58 -57
- package/lib/src/input/Input.d.ts +3 -3
- package/lib/src/layout/Layout.d.ts +6 -6
- package/lib/src/localization/LocalizeController.d.ts +4 -3
- package/lib/src/localization/en-us.d.ts +9 -9
- package/lib/src/localization/fi-fi.d.ts +1 -1
- package/lib/src/localization/translation.d.ts +11 -11
- package/lib/src/message/Message.d.ts +3 -2
- package/lib/src/modal/Modal.d.ts +4 -4
- package/lib/src/modal/ModalController.d.ts +6 -6
- package/lib/src/nav-group/NavGroup.d.ts +3 -3
- package/lib/src/nav-item/NavItem.d.ts +3 -2
- package/lib/src/nav-toggle/NavToggle.d.ts +4 -4
- package/lib/src/navigation/Navigation.d.ts +2 -2
- package/lib/src/notification/Notification.d.ts +4 -4
- package/lib/src/notification-group/NotificationGroup.d.ts +2 -2
- package/lib/src/popout/Popout.d.ts +2 -2
- package/lib/src/progress/Progress.d.ts +68 -0
- package/lib/src/progress-bar/ProgressBar.d.ts +2 -2
- package/lib/src/qrcode/Qrcode.d.ts +3 -3
- package/lib/src/radio/Radio.d.ts +4 -4
- package/lib/src/range/Range.d.ts +2 -2
- package/lib/src/segmented-control/SegmentedControl.d.ts +2 -2
- package/lib/src/segmented-control-item/SegmentedControlItem.d.ts +5 -5
- package/lib/src/select/Select.d.ts +3 -3
- package/lib/src/skeleton/Skeleton.d.ts +3 -3
- package/lib/src/spinner/Spinner.d.ts +3 -3
- package/lib/src/stack/Stack.d.ts +6 -6
- package/lib/src/tab/Tab.d.ts +2 -2
- package/lib/src/tab-group/TabGroup.d.ts +3 -3
- package/lib/src/tab-panel/TabPanel.d.ts +2 -2
- package/lib/src/table/Table.d.ts +3 -3
- package/lib/src/tag/Tag.d.ts +5 -5
- package/lib/src/tag-group/TagGroup.d.ts +4 -4
- package/lib/src/textarea/Textarea.d.ts +3 -3
- package/lib/src/toast/Toast.d.ts +3 -3
- package/lib/src/toast-group/ToastGroup.d.ts +4 -4
- package/lib/src/toggle/Toggle.d.ts +3 -3
- package/lib/src/tooltip/Tooltip.d.ts +3 -3
- package/lib/src/top-bar/TopBar.d.ts +2 -2
- package/lib/src/visually-hidden/VisuallyHidden.d.ts +2 -2
- package/lib/translation.js.map +1 -1
- package/lib/tslib.es6-CmLYFWVC.js.map +1 -1
- package/lib/vue.d.ts +116 -108
- package/package.json +29 -123
- package/lib/Calendar-CYcI340m.js +0 -2
- package/lib/Calendar-CYcI340m.js.map +0 -1
- package/lib/DropdownItem-BheCmR9u.js +0 -2
- package/lib/DropdownItem-BheCmR9u.js.map +0 -1
- package/lib/FormField-CUC_H-0e.js.map +0 -1
- package/lib/NavToggle-D-udBTou.js.map +0 -1
- package/lib/Popout-DBLHeeXk.js +0 -2
- package/lib/Popout-DBLHeeXk.js.map +0 -1
- package/lib/ScrollbarController-C5CMxfb3.js +0 -2
- package/lib/ScrollbarController-C5CMxfb3.js.map +0 -1
- package/lib/TextField-C5gYzfOp.js.map +0 -1
- package/lib/dates-lbaNvUdr.js +0 -2
- package/lib/dates-lbaNvUdr.js.map +0 -1
- package/lib/positioning-CsfLhMSW.js +0 -2
- package/lib/positioning-CsfLhMSW.js.map +0 -1
- package/lib/src/avatar/Avatar.test.d.ts +0 -2
- package/lib/src/badge/Badge.test.d.ts +0 -5
- package/lib/src/banner/Banner.test.d.ts +0 -5
- package/lib/src/button/Button.test.d.ts +0 -7
- package/lib/src/button-group/ButtonGroup.test.d.ts +0 -6
- package/lib/src/calendar/Calendar.test.d.ts +0 -1
- package/lib/src/card/Card.test.d.ts +0 -6
- package/lib/src/checkbox/Checkbox.test.d.ts +0 -4
- package/lib/src/command-menu/CommandMenu.test.d.ts +0 -1
- package/lib/src/common/dates.test.d.ts +0 -1
- package/lib/src/date-picker/DatePicker.test.d.ts +0 -1
- package/lib/src/divider/Divider.test.d.ts +0 -2
- package/lib/src/drawer/Drawer.test.d.ts +0 -9
- package/lib/src/dropdown/Dropdown.test.d.ts +0 -8
- package/lib/src/dropdown-group/DropdownGroup.test.d.ts +0 -1
- package/lib/src/dropdown-item/DropdownItem.test.d.ts +0 -2
- package/lib/src/empty-state/EmptyState.test.d.ts +0 -3
- package/lib/src/fieldset/Fieldset.test.d.ts +0 -3
- package/lib/src/footer/Footer.test.d.ts +0 -4
- package/lib/src/header/Header.test.d.ts +0 -4
- package/lib/src/icon/Icon.test.d.ts +0 -1
- package/lib/src/input/Input.test.d.ts +0 -7
- package/lib/src/layout/Layout.test.d.ts +0 -26
- package/lib/src/localization/LocalizeController.test.d.ts +0 -1
- package/lib/src/localization/translation.test.d.ts +0 -1
- package/lib/src/message/Message.test.d.ts +0 -2
- package/lib/src/modal/Modal.test.d.ts +0 -7
- package/lib/src/nav-group/NavGroup.test.d.ts +0 -2
- package/lib/src/nav-item/NavItem.test.d.ts +0 -1
- package/lib/src/nav-toggle/NavToggle.test.d.ts +0 -2
- package/lib/src/navigation/Navigation.test.d.ts +0 -16
- package/lib/src/notification/Notification.test.d.ts +0 -1
- package/lib/src/notification-group/NotificationGroup.test.d.ts +0 -1
- package/lib/src/popout/Popout.test.d.ts +0 -9
- package/lib/src/progress-bar/ProgressBar.test.d.ts +0 -3
- package/lib/src/qrcode/Qrcode.test.d.ts +0 -2
- package/lib/src/radio/Radio.test.d.ts +0 -3
- package/lib/src/range/Range.test.d.ts +0 -2
- package/lib/src/segmented-control/SegmentedControl.test.d.ts +0 -8
- package/lib/src/segmented-control-item/SegmentedControlItem.test.d.ts +0 -3
- package/lib/src/select/Select.test.d.ts +0 -1
- package/lib/src/skeleton/Skeleton.test.d.ts +0 -3
- package/lib/src/spinner/Spinner.test.d.ts +0 -2
- package/lib/src/stack/Stack.test.d.ts +0 -4
- package/lib/src/tab/Tab.test.d.ts +0 -1
- package/lib/src/tab-group/TabGroup.test.d.ts +0 -9
- package/lib/src/tab-panel/TabPanel.test.d.ts +0 -1
- package/lib/src/table/Table.test.d.ts +0 -7
- package/lib/src/tag/Tag.test.d.ts +0 -7
- package/lib/src/tag-group/TagGroup.test.d.ts +0 -4
- package/lib/src/textarea/Textarea.test.d.ts +0 -3
- package/lib/src/toast/Toast.test.d.ts +0 -2
- package/lib/src/toast-group/ToastGroup.test.d.ts +0 -1
- package/lib/src/toggle/Toggle.test.d.ts +0 -3
- package/lib/src/tooltip/Tooltip.test.d.ts +0 -4
- package/lib/src/top-bar/TopBar.test.d.ts +0 -9
- package/lib/src/visually-hidden/VisuallyHidden.test.d.ts +0 -1
- package/lib/test-utils/commands/examples/command.d.ts +0 -13
- package/lib/test-utils/commands/mouse/command.d.ts +0 -7
- package/lib/test-utils/commands/select/command.d.ts +0 -5
- package/lib/test-utils/spy.d.ts +0 -13
package/lib/vue.d.ts
CHANGED
|
@@ -1,415 +1,423 @@
|
|
|
1
|
-
import type * as Components from "./src/index"
|
|
2
|
-
import type { LitElement } from "lit"
|
|
3
|
-
import type { DefineComponent } from "vue"
|
|
1
|
+
import type * as Components from "./src/index";
|
|
2
|
+
import type { LitElement } from "lit";
|
|
3
|
+
import type { DefineComponent } from "vue";
|
|
4
4
|
|
|
5
|
-
type WCProps<TWebComponent extends HTMLElement> = Partial<
|
|
5
|
+
type WCProps<TWebComponent extends HTMLElement> = Partial<
|
|
6
|
+
Omit<TWebComponent, keyof LitElement | "render">
|
|
7
|
+
>;
|
|
6
8
|
|
|
7
9
|
interface NordComponents {
|
|
8
|
-
"nord-avatar": DefineComponent<WCProps<Components.Avatar> & {}
|
|
10
|
+
"nord-avatar": DefineComponent<WCProps<Components.Avatar> & {}>;
|
|
9
11
|
|
|
10
|
-
"nord-badge": DefineComponent<WCProps<Components.Badge> & {}
|
|
12
|
+
"nord-badge": DefineComponent<WCProps<Components.Badge> & {}>;
|
|
11
13
|
|
|
12
|
-
"nord-banner": DefineComponent<WCProps<Components.Banner> & {}
|
|
14
|
+
"nord-banner": DefineComponent<WCProps<Components.Banner> & {}>;
|
|
13
15
|
|
|
14
|
-
"nord-button": DefineComponent<WCProps<Components.Button> & {}
|
|
16
|
+
"nord-button": DefineComponent<WCProps<Components.Button> & {}>;
|
|
15
17
|
|
|
16
|
-
"nord-button-group": DefineComponent<WCProps<Components.ButtonGroup> & {}
|
|
18
|
+
"nord-button-group": DefineComponent<WCProps<Components.ButtonGroup> & {}>;
|
|
17
19
|
|
|
18
20
|
"nord-calendar": DefineComponent<
|
|
19
21
|
WCProps<Components.Calendar> & {
|
|
20
22
|
/**
|
|
21
23
|
* Dispatched when a date is selected and the value changes.
|
|
22
24
|
*/
|
|
23
|
-
onChange?: (event: Event) => void
|
|
25
|
+
onChange?: (event: Event) => void;
|
|
24
26
|
|
|
25
27
|
/**
|
|
26
28
|
* Dispatched when the calendar's focused date changes.
|
|
27
29
|
*/
|
|
28
|
-
onNordFocusDate?: (event: Event) => void
|
|
30
|
+
onNordFocusDate?: (event: Event) => void;
|
|
29
31
|
}
|
|
30
|
-
|
|
32
|
+
>;
|
|
31
33
|
|
|
32
|
-
"nord-card": DefineComponent<WCProps<Components.Card> & {}
|
|
34
|
+
"nord-card": DefineComponent<WCProps<Components.Card> & {}>;
|
|
33
35
|
|
|
34
36
|
"nord-checkbox": DefineComponent<
|
|
35
37
|
WCProps<Components.Checkbox> & {
|
|
36
38
|
/**
|
|
37
39
|
* Fired whenever the input's value is changed via user interaction.
|
|
38
40
|
*/
|
|
39
|
-
onChange?: (event: Event) => void
|
|
41
|
+
onChange?: (event: Event) => void;
|
|
40
42
|
|
|
41
43
|
/**
|
|
42
44
|
* Fired as the user types into the input.
|
|
43
45
|
*/
|
|
44
|
-
onInput?: (event: Event) => void
|
|
46
|
+
onInput?: (event: Event) => void;
|
|
45
47
|
}
|
|
46
|
-
|
|
48
|
+
>;
|
|
47
49
|
|
|
48
50
|
"nord-command-menu": DefineComponent<
|
|
49
51
|
WCProps<Components.CommandMenu> & {
|
|
50
52
|
/**
|
|
51
53
|
* The command menu was closed.
|
|
52
54
|
*/
|
|
53
|
-
onClose?: (event: Event) => void
|
|
55
|
+
onClose?: (event: Event) => void;
|
|
54
56
|
|
|
55
57
|
/**
|
|
56
58
|
* Fired as the user types into the search input.
|
|
57
59
|
*/
|
|
58
|
-
onInput?: (event: Event) => void
|
|
60
|
+
onInput?: (event: Event) => void;
|
|
59
61
|
|
|
60
62
|
/**
|
|
61
63
|
* User selected a command from the menu.
|
|
62
64
|
*/
|
|
63
|
-
onNordSelect?: (event: Event) => void
|
|
65
|
+
onNordSelect?: (event: Event) => void;
|
|
64
66
|
|
|
65
67
|
/**
|
|
66
68
|
* The command menu was opened.
|
|
67
69
|
*/
|
|
68
|
-
onOpen?: (event: Event) => void
|
|
70
|
+
onOpen?: (event: Event) => void;
|
|
69
71
|
}
|
|
70
|
-
|
|
72
|
+
>;
|
|
71
73
|
|
|
72
74
|
"nord-date-picker": DefineComponent<
|
|
73
75
|
WCProps<Components.DatePicker> & {
|
|
74
76
|
/**
|
|
75
77
|
* Fired whenever the input's value is changed via user interaction.
|
|
76
78
|
*/
|
|
77
|
-
onChange?: (event: Event) => void
|
|
79
|
+
onChange?: (event: Event) => void;
|
|
78
80
|
|
|
79
81
|
/**
|
|
80
82
|
* Dispatched when the popout is closed.
|
|
81
83
|
*/
|
|
82
|
-
onClose?: (event: Event) => void
|
|
84
|
+
onClose?: (event: Event) => void;
|
|
83
85
|
|
|
84
86
|
/**
|
|
85
87
|
* Fired as the user types into the input.
|
|
86
88
|
*/
|
|
87
|
-
onInput?: (event: Event) => void
|
|
89
|
+
onInput?: (event: Event) => void;
|
|
88
90
|
|
|
89
91
|
/**
|
|
90
92
|
* Dispatched when the calendar's focused date changes.
|
|
91
93
|
*/
|
|
92
|
-
onNordFocusDate?: (event: Event) => void
|
|
94
|
+
onNordFocusDate?: (event: Event) => void;
|
|
93
95
|
|
|
94
96
|
/**
|
|
95
97
|
* Dispatched when the popout is opened.
|
|
96
98
|
*/
|
|
97
|
-
onOpen?: (event: Event) => void
|
|
99
|
+
onOpen?: (event: Event) => void;
|
|
98
100
|
}
|
|
99
|
-
|
|
101
|
+
>;
|
|
100
102
|
|
|
101
|
-
"nord-divider": DefineComponent<WCProps<Components.Divider> & {}
|
|
103
|
+
"nord-divider": DefineComponent<WCProps<Components.Divider> & {}>;
|
|
102
104
|
|
|
103
|
-
"nord-drawer": DefineComponent<WCProps<Components.Drawer> & {}
|
|
105
|
+
"nord-drawer": DefineComponent<WCProps<Components.Drawer> & {}>;
|
|
104
106
|
|
|
105
107
|
"nord-dropdown": DefineComponent<
|
|
106
108
|
WCProps<Components.Dropdown> & {
|
|
107
109
|
/**
|
|
108
110
|
* Dispatched when the popout is closed.
|
|
109
111
|
*/
|
|
110
|
-
onClose?: (event: Event) => void
|
|
112
|
+
onClose?: (event: Event) => void;
|
|
111
113
|
|
|
112
114
|
/**
|
|
113
115
|
* Dispatched when the popout is opened.
|
|
114
116
|
*/
|
|
115
|
-
onOpen?: (event: Event) => void
|
|
117
|
+
onOpen?: (event: Event) => void;
|
|
116
118
|
}
|
|
117
|
-
|
|
119
|
+
>;
|
|
118
120
|
|
|
119
|
-
"nord-dropdown-group": DefineComponent<
|
|
121
|
+
"nord-dropdown-group": DefineComponent<
|
|
122
|
+
WCProps<Components.DropdownGroup> & {}
|
|
123
|
+
>;
|
|
120
124
|
|
|
121
|
-
"nord-dropdown-item": DefineComponent<WCProps<Components.DropdownItem> & {}
|
|
125
|
+
"nord-dropdown-item": DefineComponent<WCProps<Components.DropdownItem> & {}>;
|
|
122
126
|
|
|
123
|
-
"nord-empty-state": DefineComponent<WCProps<Components.EmptyState> & {}
|
|
127
|
+
"nord-empty-state": DefineComponent<WCProps<Components.EmptyState> & {}>;
|
|
124
128
|
|
|
125
|
-
"nord-fieldset": DefineComponent<WCProps<Components.Fieldset> & {}
|
|
129
|
+
"nord-fieldset": DefineComponent<WCProps<Components.Fieldset> & {}>;
|
|
126
130
|
|
|
127
|
-
"nord-footer": DefineComponent<WCProps<Components.Footer> & {}
|
|
131
|
+
"nord-footer": DefineComponent<WCProps<Components.Footer> & {}>;
|
|
128
132
|
|
|
129
|
-
"nord-header": DefineComponent<WCProps<Components.Header> & {}
|
|
133
|
+
"nord-header": DefineComponent<WCProps<Components.Header> & {}>;
|
|
130
134
|
|
|
131
|
-
"nord-icon": DefineComponent<WCProps<Components.Icon> & {}
|
|
135
|
+
"nord-icon": DefineComponent<WCProps<Components.Icon> & {}>;
|
|
132
136
|
|
|
133
137
|
"nord-input": DefineComponent<
|
|
134
138
|
WCProps<Components.Input> & {
|
|
135
139
|
/**
|
|
136
140
|
* Fired whenever the input's value is changed via user interaction.
|
|
137
141
|
*/
|
|
138
|
-
onChange?: (event: Event) => void
|
|
142
|
+
onChange?: (event: Event) => void;
|
|
139
143
|
|
|
140
144
|
/**
|
|
141
145
|
* Fired as the user types into the input.
|
|
142
146
|
*/
|
|
143
|
-
onInput?: (event: Event) => void
|
|
147
|
+
onInput?: (event: Event) => void;
|
|
144
148
|
|
|
145
149
|
/**
|
|
146
150
|
* Fired when some text has been selected.
|
|
147
151
|
*/
|
|
148
|
-
onSelect?: (event: Event) => void
|
|
152
|
+
onSelect?: (event: Event) => void;
|
|
149
153
|
}
|
|
150
|
-
|
|
154
|
+
>;
|
|
151
155
|
|
|
152
|
-
"nord-layout": DefineComponent<WCProps<Components.Layout> & {}
|
|
156
|
+
"nord-layout": DefineComponent<WCProps<Components.Layout> & {}>;
|
|
153
157
|
|
|
154
|
-
"nord-message": DefineComponent<WCProps<Components.Message> & {}
|
|
158
|
+
"nord-message": DefineComponent<WCProps<Components.Message> & {}>;
|
|
155
159
|
|
|
156
160
|
"nord-modal": DefineComponent<
|
|
157
161
|
WCProps<Components.Modal> & {
|
|
158
162
|
/**
|
|
159
163
|
* Dispatched before the modal has closed when a user attempts to dismiss a modal. Call `preventDefault()` on the event to prevent the modal closing.
|
|
160
164
|
*/
|
|
161
|
-
onCancel?: (event: Event) => void
|
|
165
|
+
onCancel?: (event: Event) => void;
|
|
162
166
|
|
|
163
167
|
/**
|
|
164
168
|
* Dispatched when a modal is closed for any reason.
|
|
165
169
|
*/
|
|
166
|
-
onClose?: (event: Event) => void
|
|
170
|
+
onClose?: (event: Event) => void;
|
|
167
171
|
}
|
|
168
|
-
|
|
172
|
+
>;
|
|
169
173
|
|
|
170
174
|
"nord-nav-group": DefineComponent<
|
|
171
175
|
WCProps<Components.NavGroup> & {
|
|
172
176
|
/**
|
|
173
177
|
* Dispatched whenever a nav item has been marked as active
|
|
174
178
|
*/
|
|
175
|
-
onActivate?: (event: Event) => void
|
|
179
|
+
onActivate?: (event: Event) => void;
|
|
176
180
|
|
|
177
181
|
/**
|
|
178
182
|
* Dispatched whenever a nav item's state changes between open and closed.
|
|
179
183
|
*/
|
|
180
|
-
onToggle?: (event: Event) => void
|
|
184
|
+
onToggle?: (event: Event) => void;
|
|
181
185
|
}
|
|
182
|
-
|
|
186
|
+
>;
|
|
183
187
|
|
|
184
188
|
"nord-navigation": DefineComponent<
|
|
185
189
|
WCProps<Components.Navigation> & {
|
|
186
190
|
/**
|
|
187
191
|
* Dispatched whenever a nav item has been marked as active
|
|
188
192
|
*/
|
|
189
|
-
onActivate?: (event: Event) => void
|
|
193
|
+
onActivate?: (event: Event) => void;
|
|
190
194
|
|
|
191
195
|
/**
|
|
192
196
|
* Dispatched whenever a nav item's state changes between open and closed.
|
|
193
197
|
*/
|
|
194
|
-
onToggle?: (event: Event) => void
|
|
198
|
+
onToggle?: (event: Event) => void;
|
|
195
199
|
}
|
|
196
|
-
|
|
200
|
+
>;
|
|
197
201
|
|
|
198
202
|
"nord-nav-item": DefineComponent<
|
|
199
203
|
WCProps<Components.NavItem> & {
|
|
200
204
|
/**
|
|
201
205
|
* Dispatched whenever a nav item has been marked as active
|
|
202
206
|
*/
|
|
203
|
-
onActivate?: (event: Event) => void
|
|
207
|
+
onActivate?: (event: Event) => void;
|
|
204
208
|
|
|
205
209
|
/**
|
|
206
210
|
* Dispatched whenever a nav item's state changes between open and closed.
|
|
207
211
|
*/
|
|
208
|
-
onToggle?: (event: Event) => void
|
|
212
|
+
onToggle?: (event: Event) => void;
|
|
209
213
|
}
|
|
210
|
-
|
|
214
|
+
>;
|
|
211
215
|
|
|
212
|
-
"nord-nav-toggle": DefineComponent<WCProps<Components.NavToggle> & {}
|
|
216
|
+
"nord-nav-toggle": DefineComponent<WCProps<Components.NavToggle> & {}>;
|
|
213
217
|
|
|
214
218
|
"nord-notification": DefineComponent<
|
|
215
219
|
WCProps<Components.Notification> & {
|
|
216
220
|
/**
|
|
217
221
|
* Fired when the notification is dismissed, and its exit animation has completed. This event should be used to remove the dismissed notification from the DOM.
|
|
218
222
|
*/
|
|
219
|
-
onDismiss?: (event: Event) => void
|
|
223
|
+
onDismiss?: (event: Event) => void;
|
|
220
224
|
}
|
|
221
|
-
|
|
225
|
+
>;
|
|
222
226
|
|
|
223
227
|
"nord-notification-group": DefineComponent<
|
|
224
228
|
WCProps<Components.NotificationGroup> & {
|
|
225
229
|
/**
|
|
226
230
|
* Fired when a notification is dismissed, and its exit animation has completed. This event should be used to remove the dismissed notification from the DOM.
|
|
227
231
|
*/
|
|
228
|
-
onDismiss?: (event: Event) => void
|
|
232
|
+
onDismiss?: (event: Event) => void;
|
|
229
233
|
}
|
|
230
|
-
|
|
234
|
+
>;
|
|
231
235
|
|
|
232
236
|
"nord-popout": DefineComponent<
|
|
233
237
|
WCProps<Components.Popout> & {
|
|
234
238
|
/**
|
|
235
239
|
* Dispatched when the popout is closed.
|
|
236
240
|
*/
|
|
237
|
-
onClose?: (event: Event) => void
|
|
241
|
+
onClose?: (event: Event) => void;
|
|
238
242
|
|
|
239
243
|
/**
|
|
240
244
|
* Dispatched when the popout is opened.
|
|
241
245
|
*/
|
|
242
|
-
onOpen?: (event: Event) => void
|
|
246
|
+
onOpen?: (event: Event) => void;
|
|
243
247
|
}
|
|
244
|
-
|
|
248
|
+
>;
|
|
245
249
|
|
|
246
|
-
"nord-progress
|
|
250
|
+
"nord-progress": DefineComponent<WCProps<Components.Progress> & {}>;
|
|
247
251
|
|
|
248
|
-
"nord-
|
|
252
|
+
"nord-progress-bar": DefineComponent<WCProps<Components.ProgressBar> & {}>;
|
|
253
|
+
|
|
254
|
+
"nord-qrcode": DefineComponent<WCProps<Components.Qrcode> & {}>;
|
|
249
255
|
|
|
250
256
|
"nord-radio": DefineComponent<
|
|
251
257
|
WCProps<Components.Radio> & {
|
|
252
258
|
/**
|
|
253
259
|
* Fired whenever the input's value is changed via user interaction.
|
|
254
260
|
*/
|
|
255
|
-
onChange?: (event: Event) => void
|
|
261
|
+
onChange?: (event: Event) => void;
|
|
256
262
|
|
|
257
263
|
/**
|
|
258
264
|
* Fired as the user types into the input.
|
|
259
265
|
*/
|
|
260
|
-
onInput?: (event: Event) => void
|
|
266
|
+
onInput?: (event: Event) => void;
|
|
261
267
|
}
|
|
262
|
-
|
|
268
|
+
>;
|
|
263
269
|
|
|
264
270
|
"nord-range": DefineComponent<
|
|
265
271
|
WCProps<Components.Range> & {
|
|
266
272
|
/**
|
|
267
273
|
* Fired whenever the input's value is changed via user interaction.
|
|
268
274
|
*/
|
|
269
|
-
onChange?: (event: Event) => void
|
|
275
|
+
onChange?: (event: Event) => void;
|
|
270
276
|
|
|
271
277
|
/**
|
|
272
278
|
* Fired as the user types into the input.
|
|
273
279
|
*/
|
|
274
|
-
onInput?: (event: Event) => void
|
|
280
|
+
onInput?: (event: Event) => void;
|
|
275
281
|
}
|
|
276
|
-
|
|
282
|
+
>;
|
|
277
283
|
|
|
278
284
|
"nord-segmented-control": DefineComponent<
|
|
279
285
|
WCProps<Components.SegmentedControl> & {
|
|
280
286
|
/**
|
|
281
287
|
* Fired whenever a segmented control item has been checked.
|
|
282
288
|
*/
|
|
283
|
-
onChange?: (event: Event) => void
|
|
289
|
+
onChange?: (event: Event) => void;
|
|
284
290
|
}
|
|
285
|
-
|
|
291
|
+
>;
|
|
286
292
|
|
|
287
293
|
"nord-segmented-control-item": DefineComponent<
|
|
288
294
|
WCProps<Components.SegmentedControlItem> & {
|
|
289
295
|
/**
|
|
290
296
|
* Fired whenever the segmented control item has been checked.
|
|
291
297
|
*/
|
|
292
|
-
onChange?: (event: Event) => void
|
|
298
|
+
onChange?: (event: Event) => void;
|
|
293
299
|
|
|
294
300
|
/**
|
|
295
301
|
* Fired as the user types into the input.
|
|
296
302
|
*/
|
|
297
|
-
onInput?: (event: Event) => void
|
|
303
|
+
onInput?: (event: Event) => void;
|
|
298
304
|
}
|
|
299
|
-
|
|
305
|
+
>;
|
|
300
306
|
|
|
301
307
|
"nord-select": DefineComponent<
|
|
302
308
|
WCProps<Components.Select> & {
|
|
303
309
|
/**
|
|
304
310
|
* Fired whenever the input's value is changed via user interaction.
|
|
305
311
|
*/
|
|
306
|
-
onChange?: (event: Event) => void
|
|
312
|
+
onChange?: (event: Event) => void;
|
|
307
313
|
|
|
308
314
|
/**
|
|
309
315
|
* Fired as the user types into the input.
|
|
310
316
|
*/
|
|
311
|
-
onInput?: (event: Event) => void
|
|
317
|
+
onInput?: (event: Event) => void;
|
|
312
318
|
}
|
|
313
|
-
|
|
319
|
+
>;
|
|
314
320
|
|
|
315
|
-
"nord-skeleton": DefineComponent<WCProps<Components.Skeleton> & {}
|
|
321
|
+
"nord-skeleton": DefineComponent<WCProps<Components.Skeleton> & {}>;
|
|
316
322
|
|
|
317
|
-
"nord-spinner": DefineComponent<WCProps<Components.Spinner> & {}
|
|
323
|
+
"nord-spinner": DefineComponent<WCProps<Components.Spinner> & {}>;
|
|
318
324
|
|
|
319
|
-
"nord-stack": DefineComponent<WCProps<Components.Stack> & {}
|
|
325
|
+
"nord-stack": DefineComponent<WCProps<Components.Stack> & {}>;
|
|
320
326
|
|
|
321
|
-
"nord-tab": DefineComponent<WCProps<Components.Tab> & {}
|
|
327
|
+
"nord-tab": DefineComponent<WCProps<Components.Tab> & {}>;
|
|
322
328
|
|
|
323
|
-
"nord-tab-group": DefineComponent<WCProps<Components.TabGroup> & {}
|
|
329
|
+
"nord-tab-group": DefineComponent<WCProps<Components.TabGroup> & {}>;
|
|
324
330
|
|
|
325
|
-
"nord-table": DefineComponent<WCProps<Components.Table> & {}
|
|
331
|
+
"nord-table": DefineComponent<WCProps<Components.Table> & {}>;
|
|
326
332
|
|
|
327
|
-
"nord-tab-panel": DefineComponent<WCProps<Components.TabPanel> & {}
|
|
333
|
+
"nord-tab-panel": DefineComponent<WCProps<Components.TabPanel> & {}>;
|
|
328
334
|
|
|
329
335
|
"nord-tag": DefineComponent<
|
|
330
336
|
WCProps<Components.Tag> & {
|
|
331
337
|
/**
|
|
332
338
|
* Fired whenever the tag has been checked or unchecked via user interaction.
|
|
333
339
|
*/
|
|
334
|
-
onChange?: (event: Event) => void
|
|
340
|
+
onChange?: (event: Event) => void;
|
|
335
341
|
|
|
336
342
|
/**
|
|
337
343
|
* Fired when the remove button is activated. This event should be used to remove the tag from the DOM.
|
|
338
344
|
*/
|
|
339
|
-
onRemove?: (event: Event) => void
|
|
345
|
+
onRemove?: (event: Event) => void;
|
|
340
346
|
}
|
|
341
|
-
|
|
347
|
+
>;
|
|
342
348
|
|
|
343
349
|
"nord-tag-group": DefineComponent<
|
|
344
350
|
WCProps<Components.TagGroup> & {
|
|
345
351
|
/**
|
|
346
352
|
* Fired whenever a tag has been checked or unchecked via user interaction.
|
|
347
353
|
*/
|
|
348
|
-
onChange?: (event: Event) => void
|
|
354
|
+
onChange?: (event: Event) => void;
|
|
349
355
|
|
|
350
356
|
/**
|
|
351
357
|
* Fired when the remove button is activated on a tag. This event should be used to remove the tag from the DOM.
|
|
352
358
|
*/
|
|
353
|
-
onRemove?: (event: Event) => void
|
|
359
|
+
onRemove?: (event: Event) => void;
|
|
354
360
|
}
|
|
355
|
-
|
|
361
|
+
>;
|
|
356
362
|
|
|
357
363
|
"nord-textarea": DefineComponent<
|
|
358
364
|
WCProps<Components.Textarea> & {
|
|
359
365
|
/**
|
|
360
366
|
* Fired whenever the input's value is changed via user interaction.
|
|
361
367
|
*/
|
|
362
|
-
onChange?: (event: Event) => void
|
|
368
|
+
onChange?: (event: Event) => void;
|
|
363
369
|
|
|
364
370
|
/**
|
|
365
371
|
* Fired as the user types into the input.
|
|
366
372
|
*/
|
|
367
|
-
onInput?: (event: Event) => void
|
|
373
|
+
onInput?: (event: Event) => void;
|
|
368
374
|
|
|
369
375
|
/**
|
|
370
376
|
* Fired when some text has been selected.
|
|
371
377
|
*/
|
|
372
|
-
onSelect?: (event: Event) => void
|
|
378
|
+
onSelect?: (event: Event) => void;
|
|
373
379
|
}
|
|
374
|
-
|
|
380
|
+
>;
|
|
375
381
|
|
|
376
382
|
"nord-toast": DefineComponent<
|
|
377
383
|
WCProps<Components.Toast> & {
|
|
378
384
|
/**
|
|
379
385
|
* Fired when the toast is dismissed (via user action or auto-dismiss), and its exit animation has completed. This event should be used to remove the dismissed toast from the DOM.
|
|
380
386
|
*/
|
|
381
|
-
onDismiss?: (event: Event) => void
|
|
387
|
+
onDismiss?: (event: Event) => void;
|
|
382
388
|
}
|
|
383
|
-
|
|
389
|
+
>;
|
|
384
390
|
|
|
385
391
|
"nord-toast-group": DefineComponent<
|
|
386
392
|
WCProps<Components.ToastGroup> & {
|
|
387
393
|
/**
|
|
388
394
|
* Fired when a toast is dismissed (via user action or auto-dismiss), and its exit animation has completed. This event should be used to remove the dismissed toast from the DOM.
|
|
389
395
|
*/
|
|
390
|
-
onDismiss?: (event: Event) => void
|
|
396
|
+
onDismiss?: (event: Event) => void;
|
|
391
397
|
}
|
|
392
|
-
|
|
398
|
+
>;
|
|
393
399
|
|
|
394
400
|
"nord-toggle": DefineComponent<
|
|
395
401
|
WCProps<Components.Toggle> & {
|
|
396
402
|
/**
|
|
397
403
|
* Fired whenever the input's value is changed via user interaction.
|
|
398
404
|
*/
|
|
399
|
-
onChange?: (event: Event) => void
|
|
405
|
+
onChange?: (event: Event) => void;
|
|
400
406
|
|
|
401
407
|
/**
|
|
402
408
|
* Fired as the user types into the input.
|
|
403
409
|
*/
|
|
404
|
-
onInput?: (event: Event) => void
|
|
410
|
+
onInput?: (event: Event) => void;
|
|
405
411
|
}
|
|
406
|
-
|
|
412
|
+
>;
|
|
407
413
|
|
|
408
|
-
"nord-tooltip": DefineComponent<WCProps<Components.Tooltip> & {}
|
|
414
|
+
"nord-tooltip": DefineComponent<WCProps<Components.Tooltip> & {}>;
|
|
409
415
|
|
|
410
|
-
"nord-top-bar": DefineComponent<WCProps<Components.TopBar> & {}
|
|
416
|
+
"nord-top-bar": DefineComponent<WCProps<Components.TopBar> & {}>;
|
|
411
417
|
|
|
412
|
-
"nord-visually-hidden": DefineComponent<
|
|
418
|
+
"nord-visually-hidden": DefineComponent<
|
|
419
|
+
WCProps<Components.VisuallyHidden> & {}
|
|
420
|
+
>;
|
|
413
421
|
}
|
|
414
422
|
|
|
415
423
|
declare module "vue" {
|