@nordhealth/components 4.12.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 +8151 -8134
- 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 +1 -1
- package/lib/Progress.js.map +1 -1
- 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 +113 -111
- 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 -58
- 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 +3 -3
- 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 +115 -109
- 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/Progress.test.d.ts +0 -1
- 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,417 +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": DefineComponent<WCProps<Components.Progress> & {}
|
|
250
|
+
"nord-progress": DefineComponent<WCProps<Components.Progress> & {}>;
|
|
247
251
|
|
|
248
|
-
"nord-progress-bar": DefineComponent<WCProps<Components.ProgressBar> & {}
|
|
252
|
+
"nord-progress-bar": DefineComponent<WCProps<Components.ProgressBar> & {}>;
|
|
249
253
|
|
|
250
|
-
"nord-qrcode": DefineComponent<WCProps<Components.Qrcode> & {}
|
|
254
|
+
"nord-qrcode": DefineComponent<WCProps<Components.Qrcode> & {}>;
|
|
251
255
|
|
|
252
256
|
"nord-radio": DefineComponent<
|
|
253
257
|
WCProps<Components.Radio> & {
|
|
254
258
|
/**
|
|
255
259
|
* Fired whenever the input's value is changed via user interaction.
|
|
256
260
|
*/
|
|
257
|
-
onChange?: (event: Event) => void
|
|
261
|
+
onChange?: (event: Event) => void;
|
|
258
262
|
|
|
259
263
|
/**
|
|
260
264
|
* Fired as the user types into the input.
|
|
261
265
|
*/
|
|
262
|
-
onInput?: (event: Event) => void
|
|
266
|
+
onInput?: (event: Event) => void;
|
|
263
267
|
}
|
|
264
|
-
|
|
268
|
+
>;
|
|
265
269
|
|
|
266
270
|
"nord-range": DefineComponent<
|
|
267
271
|
WCProps<Components.Range> & {
|
|
268
272
|
/**
|
|
269
273
|
* Fired whenever the input's value is changed via user interaction.
|
|
270
274
|
*/
|
|
271
|
-
onChange?: (event: Event) => void
|
|
275
|
+
onChange?: (event: Event) => void;
|
|
272
276
|
|
|
273
277
|
/**
|
|
274
278
|
* Fired as the user types into the input.
|
|
275
279
|
*/
|
|
276
|
-
onInput?: (event: Event) => void
|
|
280
|
+
onInput?: (event: Event) => void;
|
|
277
281
|
}
|
|
278
|
-
|
|
282
|
+
>;
|
|
279
283
|
|
|
280
284
|
"nord-segmented-control": DefineComponent<
|
|
281
285
|
WCProps<Components.SegmentedControl> & {
|
|
282
286
|
/**
|
|
283
287
|
* Fired whenever a segmented control item has been checked.
|
|
284
288
|
*/
|
|
285
|
-
onChange?: (event: Event) => void
|
|
289
|
+
onChange?: (event: Event) => void;
|
|
286
290
|
}
|
|
287
|
-
|
|
291
|
+
>;
|
|
288
292
|
|
|
289
293
|
"nord-segmented-control-item": DefineComponent<
|
|
290
294
|
WCProps<Components.SegmentedControlItem> & {
|
|
291
295
|
/**
|
|
292
296
|
* Fired whenever the segmented control item has been checked.
|
|
293
297
|
*/
|
|
294
|
-
onChange?: (event: Event) => void
|
|
298
|
+
onChange?: (event: Event) => void;
|
|
295
299
|
|
|
296
300
|
/**
|
|
297
301
|
* Fired as the user types into the input.
|
|
298
302
|
*/
|
|
299
|
-
onInput?: (event: Event) => void
|
|
303
|
+
onInput?: (event: Event) => void;
|
|
300
304
|
}
|
|
301
|
-
|
|
305
|
+
>;
|
|
302
306
|
|
|
303
307
|
"nord-select": DefineComponent<
|
|
304
308
|
WCProps<Components.Select> & {
|
|
305
309
|
/**
|
|
306
310
|
* Fired whenever the input's value is changed via user interaction.
|
|
307
311
|
*/
|
|
308
|
-
onChange?: (event: Event) => void
|
|
312
|
+
onChange?: (event: Event) => void;
|
|
309
313
|
|
|
310
314
|
/**
|
|
311
315
|
* Fired as the user types into the input.
|
|
312
316
|
*/
|
|
313
|
-
onInput?: (event: Event) => void
|
|
317
|
+
onInput?: (event: Event) => void;
|
|
314
318
|
}
|
|
315
|
-
|
|
319
|
+
>;
|
|
316
320
|
|
|
317
|
-
"nord-skeleton": DefineComponent<WCProps<Components.Skeleton> & {}
|
|
321
|
+
"nord-skeleton": DefineComponent<WCProps<Components.Skeleton> & {}>;
|
|
318
322
|
|
|
319
|
-
"nord-spinner": DefineComponent<WCProps<Components.Spinner> & {}
|
|
323
|
+
"nord-spinner": DefineComponent<WCProps<Components.Spinner> & {}>;
|
|
320
324
|
|
|
321
|
-
"nord-stack": DefineComponent<WCProps<Components.Stack> & {}
|
|
325
|
+
"nord-stack": DefineComponent<WCProps<Components.Stack> & {}>;
|
|
322
326
|
|
|
323
|
-
"nord-tab": DefineComponent<WCProps<Components.Tab> & {}
|
|
327
|
+
"nord-tab": DefineComponent<WCProps<Components.Tab> & {}>;
|
|
324
328
|
|
|
325
|
-
"nord-tab-group": DefineComponent<WCProps<Components.TabGroup> & {}
|
|
329
|
+
"nord-tab-group": DefineComponent<WCProps<Components.TabGroup> & {}>;
|
|
326
330
|
|
|
327
|
-
"nord-table": DefineComponent<WCProps<Components.Table> & {}
|
|
331
|
+
"nord-table": DefineComponent<WCProps<Components.Table> & {}>;
|
|
328
332
|
|
|
329
|
-
"nord-tab-panel": DefineComponent<WCProps<Components.TabPanel> & {}
|
|
333
|
+
"nord-tab-panel": DefineComponent<WCProps<Components.TabPanel> & {}>;
|
|
330
334
|
|
|
331
335
|
"nord-tag": DefineComponent<
|
|
332
336
|
WCProps<Components.Tag> & {
|
|
333
337
|
/**
|
|
334
338
|
* Fired whenever the tag has been checked or unchecked via user interaction.
|
|
335
339
|
*/
|
|
336
|
-
onChange?: (event: Event) => void
|
|
340
|
+
onChange?: (event: Event) => void;
|
|
337
341
|
|
|
338
342
|
/**
|
|
339
343
|
* Fired when the remove button is activated. This event should be used to remove the tag from the DOM.
|
|
340
344
|
*/
|
|
341
|
-
onRemove?: (event: Event) => void
|
|
345
|
+
onRemove?: (event: Event) => void;
|
|
342
346
|
}
|
|
343
|
-
|
|
347
|
+
>;
|
|
344
348
|
|
|
345
349
|
"nord-tag-group": DefineComponent<
|
|
346
350
|
WCProps<Components.TagGroup> & {
|
|
347
351
|
/**
|
|
348
352
|
* Fired whenever a tag has been checked or unchecked via user interaction.
|
|
349
353
|
*/
|
|
350
|
-
onChange?: (event: Event) => void
|
|
354
|
+
onChange?: (event: Event) => void;
|
|
351
355
|
|
|
352
356
|
/**
|
|
353
357
|
* Fired when the remove button is activated on a tag. This event should be used to remove the tag from the DOM.
|
|
354
358
|
*/
|
|
355
|
-
onRemove?: (event: Event) => void
|
|
359
|
+
onRemove?: (event: Event) => void;
|
|
356
360
|
}
|
|
357
|
-
|
|
361
|
+
>;
|
|
358
362
|
|
|
359
363
|
"nord-textarea": DefineComponent<
|
|
360
364
|
WCProps<Components.Textarea> & {
|
|
361
365
|
/**
|
|
362
366
|
* Fired whenever the input's value is changed via user interaction.
|
|
363
367
|
*/
|
|
364
|
-
onChange?: (event: Event) => void
|
|
368
|
+
onChange?: (event: Event) => void;
|
|
365
369
|
|
|
366
370
|
/**
|
|
367
371
|
* Fired as the user types into the input.
|
|
368
372
|
*/
|
|
369
|
-
onInput?: (event: Event) => void
|
|
373
|
+
onInput?: (event: Event) => void;
|
|
370
374
|
|
|
371
375
|
/**
|
|
372
376
|
* Fired when some text has been selected.
|
|
373
377
|
*/
|
|
374
|
-
onSelect?: (event: Event) => void
|
|
378
|
+
onSelect?: (event: Event) => void;
|
|
375
379
|
}
|
|
376
|
-
|
|
380
|
+
>;
|
|
377
381
|
|
|
378
382
|
"nord-toast": DefineComponent<
|
|
379
383
|
WCProps<Components.Toast> & {
|
|
380
384
|
/**
|
|
381
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.
|
|
382
386
|
*/
|
|
383
|
-
onDismiss?: (event: Event) => void
|
|
387
|
+
onDismiss?: (event: Event) => void;
|
|
384
388
|
}
|
|
385
|
-
|
|
389
|
+
>;
|
|
386
390
|
|
|
387
391
|
"nord-toast-group": DefineComponent<
|
|
388
392
|
WCProps<Components.ToastGroup> & {
|
|
389
393
|
/**
|
|
390
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.
|
|
391
395
|
*/
|
|
392
|
-
onDismiss?: (event: Event) => void
|
|
396
|
+
onDismiss?: (event: Event) => void;
|
|
393
397
|
}
|
|
394
|
-
|
|
398
|
+
>;
|
|
395
399
|
|
|
396
400
|
"nord-toggle": DefineComponent<
|
|
397
401
|
WCProps<Components.Toggle> & {
|
|
398
402
|
/**
|
|
399
403
|
* Fired whenever the input's value is changed via user interaction.
|
|
400
404
|
*/
|
|
401
|
-
onChange?: (event: Event) => void
|
|
405
|
+
onChange?: (event: Event) => void;
|
|
402
406
|
|
|
403
407
|
/**
|
|
404
408
|
* Fired as the user types into the input.
|
|
405
409
|
*/
|
|
406
|
-
onInput?: (event: Event) => void
|
|
410
|
+
onInput?: (event: Event) => void;
|
|
407
411
|
}
|
|
408
|
-
|
|
412
|
+
>;
|
|
409
413
|
|
|
410
|
-
"nord-tooltip": DefineComponent<WCProps<Components.Tooltip> & {}
|
|
414
|
+
"nord-tooltip": DefineComponent<WCProps<Components.Tooltip> & {}>;
|
|
411
415
|
|
|
412
|
-
"nord-top-bar": DefineComponent<WCProps<Components.TopBar> & {}
|
|
416
|
+
"nord-top-bar": DefineComponent<WCProps<Components.TopBar> & {}>;
|
|
413
417
|
|
|
414
|
-
"nord-visually-hidden": DefineComponent<
|
|
418
|
+
"nord-visually-hidden": DefineComponent<
|
|
419
|
+
WCProps<Components.VisuallyHidden> & {}
|
|
420
|
+
>;
|
|
415
421
|
}
|
|
416
422
|
|
|
417
423
|
declare module "vue" {
|