@skf-design-system/ui-components 1.0.0-alpha.28 → 1.0.0-alpha.30
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/dist/components/accordion/accordion-item.d.ts +1 -1
- package/dist/components/accordion/accordion.component.d.ts +4 -4
- package/dist/components/accordion/accordion.component.js +18 -17
- package/dist/components/accordion/accordion.styles.d.ts +1 -2
- package/dist/components/accordion/accordion.styles.js +5 -4
- package/dist/components/alert/alert.component.d.ts +3 -3
- package/dist/components/alert/alert.component.js +44 -33
- package/dist/components/alert/alert.styles.d.ts +1 -2
- package/dist/components/alert/alert.styles.js +29 -24
- package/dist/components/button/button.component.d.ts +6 -4
- package/dist/components/button/button.component.js +59 -47
- package/dist/components/button/button.styles.js +55 -45
- package/dist/components/card/card.component.d.ts +4 -4
- package/dist/components/card/card.component.js +35 -24
- package/dist/components/card/card.styles.d.ts +1 -2
- package/dist/components/card/card.styles.js +14 -12
- package/dist/components/checkbox/checkbox.component.d.ts +3 -3
- package/dist/components/collapse/collapse.component.d.ts +8 -8
- package/dist/components/collapse/collapse.component.js +42 -34
- package/dist/components/collapse/collapse.styles.js +15 -14
- package/dist/components/dialog/dialog.component.d.ts +75 -0
- package/dist/components/dialog/dialog.component.js +189 -0
- package/dist/components/dialog/dialog.d.ts +8 -0
- package/dist/components/dialog/dialog.js +6 -0
- package/dist/components/dialog/dialog.styles.d.ts +1 -0
- package/dist/components/dialog/dialog.styles.js +91 -0
- package/dist/components/divider/divider.component.d.ts +3 -3
- package/dist/components/divider/divider.component.js +39 -27
- package/dist/components/divider/divider.styles.d.ts +1 -2
- package/dist/components/divider/divider.styles.js +26 -26
- package/dist/components/heading/heading.component.d.ts +2 -2
- package/dist/components/icon/icon.component.d.ts +3 -6
- package/dist/components/icon/icon.component.js +28 -19
- package/dist/components/icon/icon.styles.js +53 -47
- package/dist/components/input/input.component.d.ts +4 -4
- package/dist/components/link/link.component.d.ts +7 -6
- package/dist/components/link/link.component.js +33 -27
- package/dist/components/link/link.styles.js +36 -40
- package/dist/components/loader/loader.component.d.ts +2 -2
- package/dist/components/loader/loader.component.js +32 -25
- package/dist/components/loader/loader.styles.js +11 -10
- package/dist/components/logo/logo.component.d.ts +3 -3
- package/dist/components/logo/logo.component.js +25 -14
- package/dist/components/logo/logo.styles.d.ts +1 -2
- package/dist/components/logo/logo.styles.js +11 -9
- package/dist/components/menu/menu.component.d.ts +24 -0
- package/dist/components/menu/menu.component.js +18 -0
- package/dist/components/menu/menu.d.ts +8 -0
- package/dist/components/menu/menu.js +6 -0
- package/dist/components/menu/menu.styles.d.ts +1 -0
- package/dist/components/menu/menu.styles.js +11 -0
- package/dist/components/menu-item/menu-item.component.d.ts +25 -0
- package/dist/components/menu-item/menu-item.component.js +13 -0
- package/dist/components/menu-item/menu-item.d.ts +8 -0
- package/dist/components/menu-item/menu-item.js +6 -0
- package/dist/components/menu-item/menu-item.styles.d.ts +1 -0
- package/dist/components/menu-item/menu-item.styles.js +19 -0
- package/dist/components/popover/popover.component.d.ts +29 -0
- package/dist/components/popover/popover.component.js +37 -0
- package/dist/components/popover/popover.d.ts +8 -0
- package/dist/components/popover/popover.js +6 -0
- package/dist/components/popover/popover.styles.d.ts +1 -0
- package/dist/components/popover/popover.styles.js +12 -0
- package/dist/components/progress/progress.component.d.ts +2 -2
- package/dist/components/progress/progress.component.js +31 -22
- package/dist/components/progress/progress.styles.js +19 -18
- package/dist/components/radio/radio.component.d.ts +3 -3
- package/dist/components/select/select.component.d.ts +10 -12
- package/dist/components/select/select.component.js +115 -118
- package/dist/components/select/select.controllers.d.ts +1 -26
- package/dist/components/select/select.controllers.js +35 -95
- package/dist/components/select-option/select-option.component.d.ts +1 -1
- package/dist/components/select-option/select-option.controllers.d.ts +1 -1
- package/dist/components/select-option-group/select-option-group.component.d.ts +1 -1
- package/dist/components/stepper/stepper.component.d.ts +38 -0
- package/dist/components/stepper/stepper.component.js +91 -0
- package/dist/components/stepper/stepper.d.ts +8 -0
- package/dist/components/stepper/stepper.helpers.d.ts +16 -0
- package/dist/components/stepper/stepper.helpers.js +18 -0
- package/dist/components/stepper/stepper.js +6 -0
- package/dist/components/stepper/stepper.styles.d.ts +1 -0
- package/dist/components/stepper/stepper.styles.js +15 -0
- package/dist/components/stepper-item/stepper-item.component.d.ts +47 -0
- package/dist/components/stepper-item/stepper-item.component.js +113 -0
- package/dist/components/stepper-item/stepper-item.d.ts +8 -0
- package/dist/components/stepper-item/stepper-item.js +6 -0
- package/dist/components/stepper-item/stepper-item.styles.d.ts +1 -0
- package/dist/components/stepper-item/stepper-item.styles.js +98 -0
- package/dist/components/switch/switch.component.d.ts +2 -2
- package/dist/components/switch/switch.component.js +13 -6
- package/dist/components/switch/switch.styles.js +16 -13
- package/dist/components/tab/tab.component.d.ts +2 -2
- package/dist/components/tab-group/tab-group.component.d.ts +2 -2
- package/dist/components/tab-panel/tab-panel.component.d.ts +1 -1
- package/dist/components/tag/tag.component.d.ts +2 -2
- package/dist/components/tag/tag.component.js +61 -45
- package/dist/components/tag/tag.styles.js +30 -28
- package/dist/components/textarea/textarea.component.d.ts +4 -4
- package/dist/components/toast/toast.component.d.ts +1 -1
- package/dist/components/toast/toast.singleton.d.ts +3 -3
- package/dist/components/toast-item/toast-item.component.d.ts +1 -1
- package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +2 -2
- package/dist/components/tooltip/tooltip.component.d.ts +24 -0
- package/dist/components/tooltip/tooltip.component.js +18 -0
- package/dist/components/tooltip/tooltip.d.ts +8 -0
- package/dist/components/tooltip/tooltip.js +6 -0
- package/dist/components/tooltip/tooltip.styles.d.ts +1 -0
- package/dist/components/tooltip/tooltip.styles.js +12 -0
- package/dist/custom-elements.json +1316 -79
- package/dist/index.d.ts +7 -0
- package/dist/index.js +73 -52
- package/dist/internal/base-classes/popover/popover.base.d.ts +29 -0
- package/dist/internal/base-classes/popover/popover.base.js +116 -0
- package/dist/internal/base-classes/popover/popover.styles.d.ts +1 -0
- package/dist/internal/base-classes/popover/popover.styles.js +29 -0
- package/dist/internal/components/hint/hint.component.d.ts +2 -2
- package/dist/internal/components/skf-element.js +26 -25
- package/dist/internal/controllers/popover.controller.d.ts +16 -0
- package/dist/internal/controllers/popover.controller.js +44 -0
- package/dist/internal/helpers/hintSeverity.d.ts +2 -2
- package/dist/internal/templates/asterisk.d.ts +1 -1
- package/dist/internal/templates/asterisk.js +7 -6
- package/dist/react/index.d.ts +7 -0
- package/dist/react/index.js +7 -0
- package/dist/react/skf-dialog/index.d.ts +15 -0
- package/dist/react/skf-dialog/index.js +19 -0
- package/dist/react/skf-menu/index.d.ts +12 -0
- package/dist/react/skf-menu/index.js +18 -0
- package/dist/react/skf-menu-item/index.d.ts +27 -0
- package/dist/react/skf-menu-item/index.js +23 -0
- package/dist/react/skf-popover/index.d.ts +12 -0
- package/dist/react/skf-popover/index.js +18 -0
- package/dist/react/skf-stepper/index.d.ts +9 -0
- package/dist/react/skf-stepper/index.js +17 -0
- package/dist/react/skf-stepper-item/index.d.ts +9 -0
- package/dist/react/skf-stepper-item/index.js +17 -0
- package/dist/react/skf-tooltip/index.d.ts +12 -0
- package/dist/react/skf-tooltip/index.js +18 -0
- package/dist/styles/component.styles.js +15 -2
- package/dist/types/jsx/custom-element-jsx.d.ts +1605 -53
- package/dist/types/vue/index.d.ts +260 -2
- package/dist/vscode.html-custom-data.json +335 -8
- package/dist/web-types.json +623 -38
- package/package.json +31 -30
- package/custom-elements.json +0 -18265
@@ -6,6 +6,7 @@ import type { SkfButton } from "../../components/button/button.component.js";
|
|
6
6
|
import type { SkfCard } from "../../components/card/card.component.js";
|
7
7
|
import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
|
8
8
|
import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
|
9
|
+
import type { SkfDialog } from "../../components/dialog/dialog.component.js";
|
9
10
|
import type { SkfDivider } from "../../components/divider/divider.component.js";
|
10
11
|
import type { SkfHeading } from "../../components/heading/heading.component.js";
|
11
12
|
import type { SkfIcon } from "../../components/icon/icon.component.js";
|
@@ -13,11 +14,16 @@ import type { SkfInput } from "../../components/input/input.component.js";
|
|
13
14
|
import type { SkfLink } from "../../components/link/link.component.js";
|
14
15
|
import type { SkfLoader } from "../../components/loader/loader.component.js";
|
15
16
|
import type { SkfLogo } from "../../components/logo/logo.component.js";
|
17
|
+
import type { SkfMenu } from "../../components/menu/menu.component.js";
|
18
|
+
import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
|
19
|
+
import type { SkfPopover } from "../../components/popover/popover.component.js";
|
16
20
|
import type { SkfProgress } from "../../components/progress/progress.component.js";
|
17
21
|
import type { SkfRadio } from "../../components/radio/radio.component.js";
|
18
22
|
import type { SkfSelect } from "../../components/select/select.component.js";
|
19
23
|
import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
|
20
24
|
import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
|
25
|
+
import type { SkfStepper } from "../../components/stepper/stepper.component.js";
|
26
|
+
import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
|
21
27
|
import type { SkfSwitch } from "../../components/switch/switch.component.js";
|
22
28
|
import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
|
23
29
|
import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
|
@@ -26,6 +32,7 @@ import type { SkfTag } from "../../components/tag/tag.component.js";
|
|
26
32
|
import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
|
27
33
|
import type { SkfToast } from "../../components/toast/toast.component.js";
|
28
34
|
import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
|
35
|
+
import type { SkfTooltip } from "../../components/tooltip/tooltip.component.js";
|
29
36
|
|
30
37
|
type SkfAccordionProps = {
|
31
38
|
/** If true, will animate the expand/collapse state */
|
@@ -63,6 +70,8 @@ type SkfButtonProps = {
|
|
63
70
|
disabled?: SkfButton["disabled"];
|
64
71
|
/** If provided, renders an icon before or after the text */
|
65
72
|
icon?: SkfButton["icon"];
|
73
|
+
/** If true, removes border */
|
74
|
+
iconOnly?: SkfButton["iconOnly"];
|
66
75
|
/** If provided, determines the positioning of the icon in relation to the text */
|
67
76
|
"icon-position"?: SkfButton["iconPosition"];
|
68
77
|
/** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
|
@@ -139,6 +148,33 @@ type SkfCollapseProps = {
|
|
139
148
|
"onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
|
140
149
|
};
|
141
150
|
|
151
|
+
type SkfDialogProps = {
|
152
|
+
/** If defined, sets the aria-label for the close button */
|
153
|
+
"close-button-aria-label"?: SkfDialog["closeButtonAriaLabel"];
|
154
|
+
/** Title for the modal/dialog */
|
155
|
+
heading?: SkfDialog["heading"];
|
156
|
+
/** If true, makes the dialog stretch edge to edge on screen */
|
157
|
+
fullscreen?: SkfDialog["fullscreen"];
|
158
|
+
/** If true, removes the close button */
|
159
|
+
"no-close-button"?: SkfDialog["noCloseButton"];
|
160
|
+
/** If defined, removes the inner padding */
|
161
|
+
"no-padding"?: SkfDialog["noPadding"];
|
162
|
+
/** */
|
163
|
+
open?: SkfDialog["open"];
|
164
|
+
/** If provided, will run function on dialog close */
|
165
|
+
onClose?: SkfDialog["onClose"];
|
166
|
+
/** Method that opens the dialog in modal state */
|
167
|
+
showModal?: SkfDialog["showModal"];
|
168
|
+
/** Method that closes the dialog */
|
169
|
+
close?: SkfDialog["close"];
|
170
|
+
/** Fires when the dialog is opened (after transitioned in) */
|
171
|
+
"onskf-dialog-open"?: (e: CustomEvent<never>) => void;
|
172
|
+
/** Fires when the dialog is closed (before transitioned out) */
|
173
|
+
"onskf-dialog-close"?: (e: CustomEvent<never>) => void;
|
174
|
+
/** Fires when the dialog is closed (after transitioned out) */
|
175
|
+
onclose?: (e: CustomEvent<never>) => void;
|
176
|
+
};
|
177
|
+
|
142
178
|
type SkfDividerProps = {
|
143
179
|
/** Defines the Divider color */
|
144
180
|
color?: SkfDivider["color"];
|
@@ -247,7 +283,7 @@ type SkfLinkProps = {
|
|
247
283
|
icon?: SkfLink["icon"];
|
248
284
|
/** Defines the position of the icon in relation to the text */
|
249
285
|
"icon-placement"?: SkfLink["iconPlacement"];
|
250
|
-
/**
|
286
|
+
/** If defined, describes the relationship between a linked resource and the current document */
|
251
287
|
rel?: SkfLink["rel"];
|
252
288
|
/** If defined, used on conjunction with onClick property, second argument */
|
253
289
|
route?: SkfLink["route"];
|
@@ -277,10 +313,85 @@ type SkfLoaderProps = {
|
|
277
313
|
type SkfLogoProps = {
|
278
314
|
/** Defines the title of the logo */
|
279
315
|
title?: SkfLogo["title"];
|
280
|
-
/**
|
316
|
+
/** Defines the color of the logo */
|
281
317
|
color?: SkfLogo["color"];
|
282
318
|
};
|
283
319
|
|
320
|
+
type SkfMenuProps = {
|
321
|
+
/** The placement of the menu */
|
322
|
+
placement?: SkfMenu["placement"];
|
323
|
+
/** Whether the menu is open */
|
324
|
+
isOpen?: SkfMenu["isOpen"];
|
325
|
+
/** The id of the element the menu will be anchored to */
|
326
|
+
anchor?: SkfMenu["anchor"];
|
327
|
+
/** Fired when the menu is opened */
|
328
|
+
onopen?: (e: CustomEvent<never>) => void;
|
329
|
+
/** Fired when the menu is closed */
|
330
|
+
onclose?: (e: CustomEvent<never>) => void;
|
331
|
+
};
|
332
|
+
|
333
|
+
type SkfMenuItemProps = {
|
334
|
+
/** Defines the semantic element to render */
|
335
|
+
as?: SkfMenuItem["as"];
|
336
|
+
/** Defines the text-color */
|
337
|
+
color?: SkfMenuItem["color"];
|
338
|
+
/** If true, disables the link */
|
339
|
+
disabled?: SkfMenuItem["disabled"];
|
340
|
+
/** If defined, downloads the url */
|
341
|
+
download?: SkfMenuItem["download"];
|
342
|
+
/** If defined, loads url on click */
|
343
|
+
href?: SkfMenuItem["href"];
|
344
|
+
/** If defined, renders an icon before or after the text */
|
345
|
+
icon?: SkfMenuItem["icon"];
|
346
|
+
/** Defines the position of the icon in relation to the text */
|
347
|
+
"icon-placement"?: SkfMenuItem["iconPlacement"];
|
348
|
+
/** If defined, describes the relationship between a linked resource and the current document */
|
349
|
+
rel?: SkfMenuItem["rel"];
|
350
|
+
/** If defined, used on conjunction with onClick property, second argument */
|
351
|
+
route?: SkfMenuItem["route"];
|
352
|
+
/** If true, fills the parents horizontal axis */
|
353
|
+
stretch?: SkfMenuItem["stretch"];
|
354
|
+
/** If defined, specifies where to open the linked document */
|
355
|
+
target?: SkfMenuItem["target"];
|
356
|
+
/** Defines the type of button */
|
357
|
+
type?: SkfMenuItem["type"];
|
358
|
+
/** If provided, custom function triggered by click where the second return parameter enables custom routing. */
|
359
|
+
onClick?: SkfMenuItem["onClick"];
|
360
|
+
/** Fired when something happens */
|
361
|
+
"onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
|
362
|
+
/** Fired when the component is clicked */
|
363
|
+
onclick?: (e: CustomEvent<never>) => void;
|
364
|
+
/** Fired when the mouse is over the component */
|
365
|
+
onmouseover?: (e: CustomEvent<never>) => void;
|
366
|
+
/** Fired when the mouse is out of the component */
|
367
|
+
onmouseout?: (e: CustomEvent<never>) => void;
|
368
|
+
/** Fired when the component is focused */
|
369
|
+
onfocus?: (e: CustomEvent<never>) => void;
|
370
|
+
/** Fired when the component is blurred */
|
371
|
+
onblur?: (e: CustomEvent<never>) => void;
|
372
|
+
/** Fired when the component's value changes */
|
373
|
+
onchange?: (e: CustomEvent<never>) => void;
|
374
|
+
};
|
375
|
+
|
376
|
+
type SkfPopoverProps = {
|
377
|
+
/** If defined, sets a custom offset for the popover */
|
378
|
+
offset?: SkfPopover["offset"];
|
379
|
+
/** If true, hides the arrow */
|
380
|
+
hideArrow?: SkfPopover["hideArrow"];
|
381
|
+
/** */
|
382
|
+
arrow?: SkfPopover["arrow"];
|
383
|
+
/** The placement of the menu */
|
384
|
+
placement?: SkfPopover["placement"];
|
385
|
+
/** Whether the menu is open */
|
386
|
+
isOpen?: SkfPopover["isOpen"];
|
387
|
+
/** The id of the element the menu will be anchored to */
|
388
|
+
anchor?: SkfPopover["anchor"];
|
389
|
+
/** Fired when the menu is opened */
|
390
|
+
onopen?: (e: CustomEvent<never>) => void;
|
391
|
+
/** Fired when the menu is closed */
|
392
|
+
onclose?: (e: CustomEvent<never>) => void;
|
393
|
+
};
|
394
|
+
|
284
395
|
type SkfProgressProps = {
|
285
396
|
/** If true, the progress-bar's fill value is animated */
|
286
397
|
animated?: SkfProgress["animated"];
|
@@ -401,6 +512,29 @@ type SkfSelectOptionGroupProps = {
|
|
401
512
|
label?: SkfSelectOptionGroup["label"];
|
402
513
|
};
|
403
514
|
|
515
|
+
type SkfStepperProps = {
|
516
|
+
/** Sets the active item */
|
517
|
+
activeIndex?: SkfStepper["activeIndex"];
|
518
|
+
/** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
|
519
|
+
linear?: SkfStepper["linear"];
|
520
|
+
|
521
|
+
/** Dispatched when the stepper item is selected */
|
522
|
+
"onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
|
523
|
+
};
|
524
|
+
|
525
|
+
type SkfStepperItemProps = {
|
526
|
+
/** If defined, gives the supplied appearance */
|
527
|
+
state?: SkfStepperItem["state"];
|
528
|
+
/** If true, item marked as completed */
|
529
|
+
completed?: SkfStepperItem["completed"];
|
530
|
+
/** */
|
531
|
+
_setInternalState?: SkfStepperItem["_setInternalState"];
|
532
|
+
/** */
|
533
|
+
role?: SkfStepperItem["role"];
|
534
|
+
/** Dispatched when the stepper item is selected */
|
535
|
+
"onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
|
536
|
+
};
|
537
|
+
|
404
538
|
type SkfSwitchProps = {
|
405
539
|
/** If true, sets disabled state */
|
406
540
|
disabled?: SkfSwitch["undefined"];
|
@@ -542,6 +676,21 @@ type SkfToastWrapperProps = {
|
|
542
676
|
debug?: SkfToastWrapper["debug"];
|
543
677
|
};
|
544
678
|
|
679
|
+
type SkfTooltipProps = {
|
680
|
+
/** */
|
681
|
+
offset?: SkfTooltip["offset"];
|
682
|
+
/** The placement of the dropdown */
|
683
|
+
placement?: SkfTooltip["placement"];
|
684
|
+
/** Whether the dropdown is open */
|
685
|
+
isOpen?: SkfTooltip["isOpen"];
|
686
|
+
/** The id of the element the dropdown will be anchored to */
|
687
|
+
anchor?: SkfTooltip["anchor"];
|
688
|
+
/** Fired when the dropdown is opened */
|
689
|
+
onopen?: (e: CustomEvent<never>) => void;
|
690
|
+
/** Fired when the dropdown is closed */
|
691
|
+
onclose?: (e: CustomEvent<never>) => void;
|
692
|
+
};
|
693
|
+
|
545
694
|
export type CustomElements = {
|
546
695
|
/**
|
547
696
|
* The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
|
@@ -627,6 +776,27 @@ export type CustomElements = {
|
|
627
776
|
*/
|
628
777
|
"skf-collapse": DefineComponent<SkfCollapseProps>;
|
629
778
|
|
779
|
+
/**
|
780
|
+
* The `<skf-dialog>` is a component that open up a dialog with the content provided
|
781
|
+
* ---
|
782
|
+
*
|
783
|
+
*
|
784
|
+
* ### **Events:**
|
785
|
+
* - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
|
786
|
+
* - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
|
787
|
+
* - **close** - Fires when the dialog is closed (after transitioned out)
|
788
|
+
*
|
789
|
+
* ### **Slots:**
|
790
|
+
* - _default_ - The dialog component's content
|
791
|
+
* - **heading** - The dialog component's heading
|
792
|
+
* - **footer** - The dialog component's buttons goes here
|
793
|
+
*
|
794
|
+
* ### **CSS Properties:**
|
795
|
+
* - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_
|
796
|
+
* - **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_
|
797
|
+
*/
|
798
|
+
"skf-dialog": DefineComponent<SkfDialogProps>;
|
799
|
+
|
630
800
|
/**
|
631
801
|
* The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
|
632
802
|
* ---
|
@@ -697,6 +867,54 @@ export type CustomElements = {
|
|
697
867
|
*/
|
698
868
|
"skf-logo": DefineComponent<SkfLogoProps>;
|
699
869
|
|
870
|
+
/**
|
871
|
+
* The `<skf-menu>` is a component that displays a list of actions or options.
|
872
|
+
* ---
|
873
|
+
*
|
874
|
+
*
|
875
|
+
* ### **Events:**
|
876
|
+
* - **open** - Fired when the menu is opened
|
877
|
+
* - **close** - Fired when the menu is closed
|
878
|
+
*
|
879
|
+
* ### **Slots:**
|
880
|
+
* - _default_ - The menu popover content
|
881
|
+
*/
|
882
|
+
"skf-menu": DefineComponent<SkfMenuProps>;
|
883
|
+
|
884
|
+
/**
|
885
|
+
* The `<skf-menu-item>` is a component that displays a list of actions or options.
|
886
|
+
* ---
|
887
|
+
*
|
888
|
+
*
|
889
|
+
* ### **Events:**
|
890
|
+
* - **my-tag-my-event** - Fired when something happens
|
891
|
+
* - **click** - Fired when the component is clicked
|
892
|
+
* - **mouseover** - Fired when the mouse is over the component
|
893
|
+
* - **mouseout** - Fired when the mouse is out of the component
|
894
|
+
* - **focus** - Fired when the component is focused
|
895
|
+
* - **blur** - Fired when the component is blurred
|
896
|
+
* - **change** - Fired when the component's value changes
|
897
|
+
*
|
898
|
+
* ### **Slots:**
|
899
|
+
* - _default_ - The component's main content
|
900
|
+
* - **my-named-slot** - A named slot of the component
|
901
|
+
*/
|
902
|
+
"skf-menu-item": DefineComponent<SkfMenuItemProps>;
|
903
|
+
|
904
|
+
/**
|
905
|
+
* The `<skf-popover>` is a general purpose component that displays the slot content.
|
906
|
+
* ---
|
907
|
+
*
|
908
|
+
*
|
909
|
+
* ### **Events:**
|
910
|
+
* - **open** - Fired when the menu is opened
|
911
|
+
* - **close** - Fired when the menu is closed
|
912
|
+
*
|
913
|
+
* ### **Slots:**
|
914
|
+
* - _default_ - The popover content
|
915
|
+
*/
|
916
|
+
"skf-popover": DefineComponent<SkfPopoverProps>;
|
917
|
+
|
700
918
|
/**
|
701
919
|
* The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar
|
702
920
|
* ---
|
@@ -758,6 +976,32 @@ export type CustomElements = {
|
|
758
976
|
*/
|
759
977
|
"skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
|
760
978
|
|
979
|
+
/**
|
980
|
+
* The `<skf-stepper>` is a component that displays a list of actions or options.
|
981
|
+
* ---
|
982
|
+
*
|
983
|
+
*
|
984
|
+
* ### **Events:**
|
985
|
+
* - **skf-stepper-item-select** - Dispatched when the stepper item is selected
|
986
|
+
*
|
987
|
+
* ### **Slots:**
|
988
|
+
* - _default_ - One or more `<skf-stepper-item>`
|
989
|
+
*/
|
990
|
+
"skf-stepper": DefineComponent<SkfStepperProps>;
|
991
|
+
|
992
|
+
/**
|
993
|
+
* The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
|
994
|
+
* ---
|
995
|
+
*
|
996
|
+
*
|
997
|
+
* ### **Events:**
|
998
|
+
* - **skf-stepper-item-select** - Dispatched when the stepper item is selected
|
999
|
+
*
|
1000
|
+
* ### **Slots:**
|
1001
|
+
* - _default_ - Label of the stepper item
|
1002
|
+
*/
|
1003
|
+
"skf-stepper-item": DefineComponent<SkfStepperItemProps>;
|
1004
|
+
|
761
1005
|
/**
|
762
1006
|
* The `<skf-switch>` is a component that displays a list of actions or options
|
763
1007
|
* ---
|
@@ -846,6 +1090,20 @@ export type CustomElements = {
|
|
846
1090
|
* - _default_ - The alert components that the toast creates will render here.
|
847
1091
|
*/
|
848
1092
|
"skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
|
1093
|
+
|
1094
|
+
/**
|
1095
|
+
* The `<skf-tooltip>` is a component that displays a list of actions or options.
|
1096
|
+
* ---
|
1097
|
+
*
|
1098
|
+
*
|
1099
|
+
* ### **Events:**
|
1100
|
+
* - **open** - Fired when the dropdown is opened
|
1101
|
+
* - **close** - Fired when the dropdown is closed
|
1102
|
+
*
|
1103
|
+
* ### **Slots:**
|
1104
|
+
* - _default_ - The tooltip popover content
|
1105
|
+
*/
|
1106
|
+
"skf-tooltip": DefineComponent<SkfTooltipProps>;
|
849
1107
|
};
|
850
1108
|
|
851
1109
|
declare module "vue" {
|