@dialpad/dialtone-vue 4.7.0 → 4.8.0
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/common/phone/index.cjs +2 -0
- package/dist/common/phone/index.cjs.map +1 -0
- package/dist/common/phone/index.d.ts +4 -0
- package/dist/common/phone/index.d.ts.map +1 -0
- package/dist/common/phone/index.js +25 -0
- package/dist/common/phone/index.js.map +1 -0
- package/dist/component-documentation.json +1 -1
- package/dist/components/FilterPill/FilterPill.vue.d.ts +9 -0
- package/dist/components/FilterPill/FilterPill.vue.d.ts.map +1 -1
- package/dist/components/RichTextEditor/Extensions/Channels/ChannelComponent.vue.d.ts +9 -0
- package/dist/components/RichTextEditor/Extensions/Channels/ChannelSuggestion.vue.d.ts +9 -0
- package/dist/components/RichTextEditor/Extensions/Channels/ChannelSuggestion.vue.d.ts.map +1 -1
- package/dist/components/RichTextEditor/Extensions/Emoji/EmojiSuggestion.vue.d.ts +9 -0
- package/dist/components/RichTextEditor/Extensions/Mentions/MentionSuggestion.vue.d.ts +9 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +20 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts.map +1 -1
- package/dist/components/Stack/Stack.vue.d.ts +9 -0
- package/dist/components/Stack/Stack.vue.d.ts.map +1 -1
- package/dist/components/Stack/StackConstants.d.ts +2 -0
- package/dist/components/Stack/StackConstants.d.ts.map +1 -1
- package/dist/components/Stack/Utils.d.ts +2 -1
- package/dist/components/Stack/Utils.d.ts.map +1 -1
- package/dist/components/Stack/Validators.d.ts +1 -0
- package/dist/components/Stack/Validators.d.ts.map +1 -1
- package/dist/dialtone-vue.cjs +1 -1
- package/dist/dialtone-vue.js +131 -130
- package/dist/index.d.ts +1 -0
- package/dist/lib/stack/stack-constants.cjs +1 -1
- package/dist/lib/stack/stack-constants.cjs.map +1 -1
- package/dist/lib/stack/stack-constants.js +5 -4
- package/dist/lib/stack/stack-constants.js.map +1 -1
- package/dist/lib/stack/stack.cjs +1 -1
- package/dist/lib/stack/stack.cjs.map +1 -1
- package/dist/lib/stack/stack.js +26 -18
- package/dist/lib/stack/stack.js.map +1 -1
- package/dist/lib/stack/utils.cjs +1 -1
- package/dist/lib/stack/utils.cjs.map +1 -1
- package/dist/lib/stack/utils.js +44 -36
- package/dist/lib/stack/utils.js.map +1 -1
- package/dist/lib/stack/validators.cjs +1 -1
- package/dist/lib/stack/validators.cjs.map +1 -1
- package/dist/lib/stack/validators.js +16 -13
- package/dist/lib/stack/validators.js.map +1 -1
- package/package.json +6 -5
package/dist/dialtone-vue.js
CHANGED
|
@@ -13,179 +13,180 @@ import { SKELETON_HEADING_HEIGHTS as $, SKELETON_RIPPLE_DURATION as ee, SKELETON
|
|
|
13
13
|
import ie from "./common/mixins/skeleton.js";
|
|
14
14
|
import ae from "./common/mixins/mode.js";
|
|
15
15
|
import { durationInHHMM as oe, getDateMedium as se, relativeDate as ce, setDateLocale as le } from "./common/dates/index.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import Ze from "./lib/avatar/avatar.js";
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import rt from "./lib/icon/icon.js";
|
|
24
|
-
import it from "./lib/
|
|
25
|
-
import
|
|
26
|
-
import st from "./lib/notice/notice-
|
|
27
|
-
import
|
|
28
|
-
import wt from "./lib/text/text.js";
|
|
29
|
-
import Tt from "./lib/
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import Ot from "./
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import Wt from "./lib/link/link.js";
|
|
36
|
-
import Gt from "./lib/
|
|
37
|
-
import Kt from "./lib/
|
|
38
|
-
import qt from "./lib/notice/notice.js";
|
|
39
|
-
import Jt from "./lib/
|
|
16
|
+
import { formatPhoneNumber as ue } from "./common/phone/index.js";
|
|
17
|
+
import { codeToEmojiData as de, customEmojiAssetUrl as fe, defaultEmojiAssetUrl as pe, emojiFileExtensionLarge as me, emojiFileExtensionSmall as he, emojiImageUrlLarge as ge, emojiImageUrlSmall as _e, emojiJson as ve, emojiRegex as ye, emojiShortCodeRegex as be, emojiVersion as xe, filterValidShortCodes as Se, findEmojis as Ce, findShortCodes as we, getEmojiData as Te, getEmojiShortCode as Ee, setCustomEmojiJson as De, setCustomEmojiUrl as Oe, setEmojiAssetUrlLarge as ke, setEmojiAssetUrlSmall as Ae, shortcodeToEmojiData as je, stringToUnicode as Me, unicodeToString as Ne, validateCustomEmojiJson as Pe } from "./common/emoji/index.js";
|
|
18
|
+
import { PRESENCE_STATES as Fe, PRESENCE_STATES_LIST as Ie } from "./lib/presence/presence-constants.js";
|
|
19
|
+
import { t as Le } from "./Presence-CGgyodnC.js";
|
|
20
|
+
import { AVATAR_CHROMA as Re, AVATAR_FAMILY_COUNT as ze, AVATAR_GROUP_VALIDATOR as Be, AVATAR_HUE_OFFSETS as Ve, AVATAR_ICON_SIZES as He, AVATAR_KIND_MODIFIERS as Ue, AVATAR_LIGHTNESS as We, AVATAR_PRESENCE_SIZE_MODIFIERS as Ge, AVATAR_PRESENCE_STATES as Ke, AVATAR_SIZE_MODIFIERS as qe, AVATAR_VARIANT_COUNT as Je, colorToFamilyVariant as Ye, computeAvatarHex as Xe, getRandomFamilyVariant as Ze } from "./lib/avatar/avatar-constants.js";
|
|
21
|
+
import Qe from "./lib/avatar/avatar.js";
|
|
22
|
+
import { BADGE_DECORATION_MODIFIERS as $e, BADGE_KIND_MODIFIERS as et, BADGE_TYPE_MODIFIERS as tt } from "./lib/badge/badge-constants.js";
|
|
23
|
+
import { ICON_NAMES as nt, ICON_SIZE_MODIFIERS as rt } from "./lib/icon/icon-constants.js";
|
|
24
|
+
import it from "./lib/icon/icon.js";
|
|
25
|
+
import at from "./lib/badge/badge.js";
|
|
26
|
+
import { NOTICE_KINDS as ot, NOTICE_ROLES as st } from "./lib/notice/notice-constants.js";
|
|
27
|
+
import ct from "./lib/notice/notice-icon.js";
|
|
28
|
+
import { TEXT_ALIGN_MODIFIERS as lt, TEXT_BOX_TRIM_MODIFIERS as ut, TEXT_DENSITY_MODIFIERS as dt, TEXT_FAMILY_MODIFIERS as ft, TEXT_FONT_SIZE_MODIFIERS as pt, TEXT_HEADLINE_ONLY_SIZES as mt, TEXT_ITALIC_CLASS as ht, TEXT_KIND_MODIFIERS as gt, TEXT_LINE_CLAMP_CLASS as _t, TEXT_NUMERIC_CLASS as vt, TEXT_SIZE_MODIFIERS as yt, TEXT_STRENGTH_MODIFIERS as bt, TEXT_TONE_MODIFIERS as xt, TEXT_TRUNCATE_CLASS as St, TEXT_VARIANT_MODIFIERS as Ct, TEXT_WRAP_MODIFIERS as wt } from "./lib/text/text-constants.js";
|
|
29
|
+
import Tt from "./lib/text/text.js";
|
|
30
|
+
import Et from "./lib/notice/notice-content.js";
|
|
31
|
+
import { LOADER_KIND_MODIFIERS as Dt } from "./lib/loader/loader-constants.js";
|
|
32
|
+
import { DialtoneLocalization as Ot } from "./localization/index.js";
|
|
33
|
+
import kt from "./lib/loader/loader.js";
|
|
34
|
+
import { BUTTON_ICON_SIZES as At, BUTTON_IMPORTANCE_MODIFIERS as jt, BUTTON_KIND_MODIFIERS as Mt, BUTTON_SIZE_MODIFIERS as Nt, BUTTON_TYPES as Pt, ICON_POSITION_MODIFIERS as Ft, INVALID_COMBINATION as It } from "./lib/button/button-constants.js";
|
|
35
|
+
import { CRITICAL as Lt, LINK_KIND_MODIFIERS as Rt, LINK_VARIANTS as zt, MENTION as Bt, MUTED as Vt, POSITIVE as Ht, WARNING as Ut, getLinkKindModifier as Wt } from "./lib/link/link-constants.js";
|
|
36
|
+
import Gt from "./lib/link/link.js";
|
|
37
|
+
import Kt from "./lib/button/button.js";
|
|
38
|
+
import qt from "./lib/notice/notice-action.js";
|
|
39
|
+
import Jt from "./lib/notice/notice.js";
|
|
40
|
+
import Yt from "./lib/banner/banner.js";
|
|
40
41
|
import "./lib/banner/index.js";
|
|
41
|
-
import { DT_BOX_AS_VALUES as
|
|
42
|
-
import
|
|
42
|
+
import { DT_BOX_AS_VALUES as Xt, DT_BOX_BORDER_COLOR_VALUES as Zt, DT_BOX_BORDER_RADIUS_VALUES as Qt, DT_BOX_BORDER_WIDTH_VALUES as $t, DT_BOX_INSET_SIDE_VALUES as en, DT_BOX_INSET_VALUES as tn, DT_BOX_LAYOUT_VALUES as nn, DT_BOX_OVERFLOW_VALUES as rn, DT_BOX_POSITION_VALUES as an, DT_BOX_SCROLLBAR_VALUES as on, DT_BOX_SHADOW_VALUES as sn, DT_BOX_SPACING_VALUES as cn, DT_BOX_SURFACE_VALUES as ln, DT_BOX_Z_INDEX_VALUES as un } from "./lib/box/box-constants.js";
|
|
43
|
+
import dn from "./lib/box/box.js";
|
|
43
44
|
import "./lib/box/index.js";
|
|
44
|
-
import { BREADCRUMBS_INVERTED_MODIFIER as
|
|
45
|
-
import
|
|
46
|
-
import
|
|
45
|
+
import { BREADCRUMBS_INVERTED_MODIFIER as fn, BREADCRUMB_ITEM_SELECTED_MODIFIER as pn } from "./lib/breadcrumbs/breadcrumbs-constants.js";
|
|
46
|
+
import mn from "./lib/breadcrumbs/breadcrumb-item.js";
|
|
47
|
+
import hn from "./lib/breadcrumbs/breadcrumbs.js";
|
|
47
48
|
import "./lib/breadcrumbs/index.js";
|
|
48
|
-
import { BUTTON_GROUP_ALIGNMENT as
|
|
49
|
-
import
|
|
49
|
+
import { BUTTON_GROUP_ALIGNMENT as gn } from "./lib/button-group/button-group-constants.js";
|
|
50
|
+
import _n from "./lib/button-group/button-group.js";
|
|
50
51
|
import "./lib/button-group/index.js";
|
|
51
|
-
import
|
|
52
|
+
import vn from "./lib/card/card.js";
|
|
52
53
|
import "./lib/card/index.js";
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import { CHIP_CLOSE_BUTTON_SIZE_MODIFIERS as
|
|
57
|
-
import
|
|
54
|
+
import yn from "./lib/checkbox/checkbox.js";
|
|
55
|
+
import bn from "./lib/input-group/input-group.js";
|
|
56
|
+
import xn from "./lib/checkbox-group/checkbox-group.js";
|
|
57
|
+
import { CHIP_CLOSE_BUTTON_SIZE_MODIFIERS as Sn, CHIP_ICON_SIZES as Cn, CHIP_SIZE_MODIFIERS as wn } from "./lib/chip/chip-constants.js";
|
|
58
|
+
import Tn from "./lib/chip/chip.js";
|
|
58
59
|
import "./lib/chip/index.js";
|
|
59
|
-
import
|
|
60
|
+
import En from "./lib/codeblock/codeblock.js";
|
|
60
61
|
import "./lib/codeblock/index.js";
|
|
61
|
-
import
|
|
62
|
+
import Dn from "./lib/collapsible/collapsible.js";
|
|
62
63
|
import "./lib/collapsible/index.js";
|
|
63
|
-
import { LIST_ITEM_NAVIGATION_TYPES as
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import { t as
|
|
72
|
-
import { COMBOBOX_LABEL_SIZES as
|
|
73
|
-
import { DT_STACK_DIRECTION as
|
|
74
|
-
import
|
|
75
|
-
import { TOOLTIP_DELAY_MS as
|
|
76
|
-
import { POPOVER_APPEND_TO_VALUES as
|
|
77
|
-
import
|
|
78
|
-
import { t as
|
|
79
|
-
import { formatLong as
|
|
64
|
+
import { LIST_ITEM_NAVIGATION_TYPES as On, LIST_ITEM_ROLES as kn, LIST_ITEM_TYPES as An } from "./lib/list-item/list-item-constants.js";
|
|
65
|
+
import jn from "./lib/item-layout/item-layout.js";
|
|
66
|
+
import Mn from "./lib/list-item/list-item.js";
|
|
67
|
+
import Nn from "./lib/skeleton/skeleton-shape.js";
|
|
68
|
+
import Pn from "./lib/skeleton/skeleton-text.js";
|
|
69
|
+
import Fn from "./lib/skeleton/skeleton-paragraph.js";
|
|
70
|
+
import In from "./lib/skeleton/skeleton-list-item.js";
|
|
71
|
+
import Ln from "./lib/skeleton/skeleton.js";
|
|
72
|
+
import { t as Rn } from "./Combobox-WsLvegw6.js";
|
|
73
|
+
import { COMBOBOX_LABEL_SIZES as zn } from "./lib/combobox/combobox-constants.js";
|
|
74
|
+
import { DT_STACK_DIRECTION as Bn, DT_STACK_GAP as Vn, DT_STACK_RESPONSIVE_BREAKPOINTS as Hn } from "./lib/stack/stack-constants.js";
|
|
75
|
+
import Un from "./lib/stack/stack.js";
|
|
76
|
+
import { TOOLTIP_DELAY_MS as Wn, TOOLTIP_DIRECTIONS as Gn, TOOLTIP_HIDE_ON_CLICK_VARIANTS as Kn, TOOLTIP_KIND_MODIFIERS as qn, TOOLTIP_STICKY_VALUES as Jn } from "./lib/tooltip/tooltip-constants.js";
|
|
77
|
+
import { POPOVER_APPEND_TO_VALUES as Yn, POPOVER_CONTENT_WIDTHS as Xn, POPOVER_DIRECTIONS as Zn, POPOVER_HEADER_FOOTER_PADDING_CLASSES as Qn, POPOVER_INITIAL_FOCUS_STRINGS as $n, POPOVER_PADDING_CLASSES as er, POPOVER_ROLES as tr, POPOVER_STICKY_VALUES as nr } from "./lib/popover/popover-constants.js";
|
|
78
|
+
import rr from "./lib/tooltip/tooltip.js";
|
|
79
|
+
import { t as ir } from "./Datepicker-D-Lgvthq.js";
|
|
80
|
+
import { formatLong as ar, formatMedium as or, formatNoYear as sr, formatNumerical as cr, formatShort as lr } from "./lib/datepicker/format-utils.js";
|
|
80
81
|
import "./lib/datepicker/index.js";
|
|
81
|
-
import { DT_DESCRIPTION_LIST_DIRECTION as
|
|
82
|
-
import
|
|
82
|
+
import { DT_DESCRIPTION_LIST_DIRECTION as ur } from "./lib/description-list/description-list-constants.js";
|
|
83
|
+
import dr from "./lib/description-list/description-list.js";
|
|
83
84
|
import "./lib/description-list/index.js";
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { DROPDOWN_PADDING_CLASSES as
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import { INPUT_SIZES as
|
|
91
|
-
import
|
|
92
|
-
import { t as
|
|
93
|
-
import { TAB_ACTIVATION_MODES as
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import { ARROW_KEYS as
|
|
85
|
+
import fr from "./lib/lazy-show/lazy-show.js";
|
|
86
|
+
import pr from "./lib/popover/popover.js";
|
|
87
|
+
import { DROPDOWN_PADDING_CLASSES as mr } from "./lib/dropdown/dropdown-constants.js";
|
|
88
|
+
import hr from "./lib/dropdown/dropdown.js";
|
|
89
|
+
import gr from "./lib/dropdown/dropdown-separator.js";
|
|
90
|
+
import _r from "./lib/emoji/emoji.js";
|
|
91
|
+
import { INPUT_SIZES as vr, INPUT_TYPES as yr } from "./lib/input/input-constants.js";
|
|
92
|
+
import br from "./lib/input/input.js";
|
|
93
|
+
import { t as xr } from "./EmojiPicker-D46lLRMp.js";
|
|
94
|
+
import { TAB_ACTIVATION_MODES as Sr, TAB_GROUP_KINDS as Cr, TAB_LIST_IMPORTANCE_MODIFIERS as wr, TAB_LIST_KIND_MODIFIERS as Tr, TAB_LIST_SIZES as Er, TAB_LIST_SIZE_MODIFIERS as Dr, TAB_SPREADS as Or } from "./lib/tab/tabs-constants.js";
|
|
95
|
+
import kr from "./lib/tab/tab-group.js";
|
|
96
|
+
import Ar from "./lib/tab/tab.js";
|
|
97
|
+
import jr from "./lib/tab/tab-panel.js";
|
|
98
|
+
import { ARROW_KEYS as Mr, CDN_URL as Nr, EMOJIS_PER_ROW as Pr, EMOJI_PICKER_SKIN_TONE_MODIFIERS as Fr } from "./lib/emoji-picker/emoji-picker-constants.js";
|
|
98
99
|
import "./lib/emoji-picker/index.js";
|
|
99
|
-
import
|
|
100
|
+
import Ir from "./lib/emoji-text-wrapper/emoji-text-wrapper.js";
|
|
100
101
|
import "./lib/emoji-text-wrapper/index.js";
|
|
101
|
-
import { EMPTY_STATE_SIZE_MODIFIERS as
|
|
102
|
-
import
|
|
102
|
+
import { EMPTY_STATE_SIZE_MODIFIERS as Lr } from "./lib/empty-state/empty-state-constants.js";
|
|
103
|
+
import Rr from "./lib/empty-state/empty-state.js";
|
|
103
104
|
import "./lib/empty-state/index.js";
|
|
104
|
-
import
|
|
105
|
+
import zr from "./lib/filter-pill/filter-pill.js";
|
|
105
106
|
import "./lib/filter-pill/index.js";
|
|
106
|
-
import
|
|
107
|
+
import Br from "./lib/hovercard/hovercard.js";
|
|
107
108
|
import "./lib/hovercard/index.js";
|
|
108
|
-
import { ILLUSTRATION_NAMES as
|
|
109
|
-
import
|
|
109
|
+
import { ILLUSTRATION_NAMES as Vr } from "./lib/illustration/illustration-constants.js";
|
|
110
|
+
import Hr from "./lib/illustration/illustration.js";
|
|
110
111
|
import "./lib/illustration/index.js";
|
|
111
|
-
import
|
|
112
|
+
import Ur from "./lib/image-viewer/image-viewer.js";
|
|
112
113
|
import "./lib/image-viewer/index.js";
|
|
113
|
-
import
|
|
114
|
-
import { SHORTCUTS_ALIASES_LIST as
|
|
114
|
+
import Wr from "./lib/keyboard-shortcut/keyboard-shortcut.js";
|
|
115
|
+
import { SHORTCUTS_ALIASES_LIST as Gr } from "./lib/keyboard-shortcut/keyboard-shortcut-constants.js";
|
|
115
116
|
import "./lib/keyboard-shortcut/index.js";
|
|
116
|
-
import
|
|
117
|
+
import Kr from "./lib/list-item-group/list-item-group.js";
|
|
117
118
|
import "./lib/list-item-group/index.js";
|
|
118
119
|
import "./lib/loader/index.js";
|
|
119
|
-
import { MODAL_BANNER_KINDS as
|
|
120
|
-
import
|
|
120
|
+
import { MODAL_BANNER_KINDS as qr, MODAL_KIND_MODIFIERS as Jr } from "./lib/modal/modal-constants.js";
|
|
121
|
+
import Yr from "./lib/modal/modal.js";
|
|
121
122
|
import "./lib/modal/index.js";
|
|
122
|
-
import { DT_MODE_ISLAND_TYPES as
|
|
123
|
-
import
|
|
123
|
+
import { DT_MODE_ISLAND_TYPES as Xr } from "./lib/mode-island/mode-island-constants.js";
|
|
124
|
+
import Zr from "./lib/mode-island/mode-island.js";
|
|
124
125
|
import "./lib/mode-island/index.js";
|
|
125
|
-
import
|
|
126
|
+
import Qr from "./lib/pagination/pagination.js";
|
|
126
127
|
import "./lib/pagination/index.js";
|
|
127
|
-
import { PROGRESS_CIRCLE_KINDS as
|
|
128
|
-
import
|
|
128
|
+
import { PROGRESS_CIRCLE_KINDS as $r, PROGRESS_CIRCLE_KIND_DEFAULT as ei, PROGRESS_CIRCLE_SIZES as ti, PROGRESS_CIRCLE_SIZE_DEFAULT as ni } from "./lib/progress-circle/progress-circle-constants.js";
|
|
129
|
+
import ri from "./lib/progress-circle/progress-circle.js";
|
|
129
130
|
import "./lib/progress-circle/index.js";
|
|
130
|
-
import { PROSE_ALLOWED_ATTRIBUTES as
|
|
131
|
-
import
|
|
131
|
+
import { PROSE_ALLOWED_ATTRIBUTES as ii, PROSE_DENSITY_MODIFIERS as ai, PROSE_DISALLOWED_ELEMENTS as oi, PROSE_SIZE_MODIFIERS as si } from "./lib/prose/prose-constants.js";
|
|
132
|
+
import ci from "./lib/prose/prose.js";
|
|
132
133
|
import "./lib/prose/index.js";
|
|
133
|
-
import { RADIO_INPUT_VALIDATION_CLASSES as
|
|
134
|
-
import
|
|
134
|
+
import { RADIO_INPUT_VALIDATION_CLASSES as li } from "./lib/radio/radio-constants.js";
|
|
135
|
+
import ui from "./lib/radio/radio.js";
|
|
135
136
|
import "./lib/radio/index.js";
|
|
136
|
-
import
|
|
137
|
+
import di from "./lib/radio-group/radio-group.js";
|
|
137
138
|
import "./lib/radio-group/index.js";
|
|
138
|
-
import { a as
|
|
139
|
-
import { t as
|
|
140
|
-
import { t as
|
|
141
|
-
import
|
|
139
|
+
import { a as fi, c as pi, d as mi, f as hi, i as gi, l as _i, n as vi, o as yi, p as bi, r as xi, s as Si, t as Ci, u as wi } from "./ResizableUtils-C9qEZRN5.js";
|
|
140
|
+
import { t as Ti } from "./Resizable-EY7mWluI.js";
|
|
141
|
+
import { t as Ei } from "./ResizableHandle-v-oU-sj-.js";
|
|
142
|
+
import Di from "./lib/resizable/resizable-panel.js";
|
|
142
143
|
import "./lib/resizable/index.js";
|
|
143
|
-
import { t as
|
|
144
|
-
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as
|
|
144
|
+
import { t as Oi } from "./RichTextEditor-D8DfONFm.js";
|
|
145
|
+
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ki, RICH_TEXT_EDITOR_OUTPUT_FORMATS as Ai } from "./lib/rich-text-editor/rich-text-editor-constants.js";
|
|
145
146
|
import "./lib/rich-text-editor/index.js";
|
|
146
|
-
import { ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS as
|
|
147
|
-
import
|
|
147
|
+
import { ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS as ji, ROOT_LAYOUT_SIDEBAR_POSITIONS as Mi } from "./lib/root-layout/root-layout-constants.js";
|
|
148
|
+
import Ni from "./lib/root-layout/root-layout.js";
|
|
148
149
|
import "./lib/root-layout/index.js";
|
|
149
|
-
import { t as
|
|
150
|
+
import { t as Pi } from "./Scroller-B1xwv6TG.js";
|
|
150
151
|
import "./lib/scroller/index.js";
|
|
151
|
-
import { SEGMENTED_CONTROL_ACTIVATION_MODES as
|
|
152
|
-
import
|
|
153
|
-
import
|
|
152
|
+
import { SEGMENTED_CONTROL_ACTIVATION_MODES as Fi, SEGMENTED_CONTROL_ACTIVATION_MODE_DEFAULT as Ii, SEGMENTED_CONTROL_CONTEXT_KEY as Li, SEGMENTED_CONTROL_FOCUS_KEY as Ri, SEGMENTED_CONTROL_ORIENTATIONS as zi, SEGMENTED_CONTROL_ORIENTATION_DEFAULT as Bi, SEGMENTED_CONTROL_SELECT_KEY as Vi, SEGMENTED_CONTROL_SIZES as Hi, SEGMENTED_CONTROL_SIZE_DEFAULT as Ui, SEGMENTED_CONTROL_SIZE_MODIFIERS as Wi, SEGMENTED_CONTROL_SPREADS as Gi, SEGMENTED_CONTROL_SPREAD_DEFAULT as Ki } from "./lib/segmented-control/segmented-control-constants.js";
|
|
153
|
+
import qi from "./lib/segmented-control/segmented-control.js";
|
|
154
|
+
import Ji from "./lib/segmented-control/segmented-control-item.js";
|
|
154
155
|
import "./lib/segmented-control/index.js";
|
|
155
|
-
import { SELECT_SIZE_MODIFIERS as
|
|
156
|
-
import
|
|
156
|
+
import { SELECT_SIZE_MODIFIERS as Yi, SELECT_STATE_MODIFIERS as Xi } from "./lib/select-menu/select-menu-constants.js";
|
|
157
|
+
import Zi from "./lib/select-menu/select-menu.js";
|
|
157
158
|
import "./lib/select-menu/index.js";
|
|
158
|
-
import { a as
|
|
159
|
+
import { a as Qi, i as $i, n as ea, o as ta, r as na, s as ra, t as ia } from "./Slider-Du45PVLU.js";
|
|
159
160
|
import "./lib/slider/index.js";
|
|
160
|
-
import { SPLIT_BUTTON_ICON_SIZES as
|
|
161
|
-
import
|
|
161
|
+
import { SPLIT_BUTTON_ICON_SIZES as aa } from "./lib/split-button/split-button-constants.js";
|
|
162
|
+
import oa from "./lib/split-button/split-button.js";
|
|
162
163
|
import "./lib/split-button/index.js";
|
|
163
|
-
import { DT_TEXT_LIST_DEFAULT_TYPE as
|
|
164
|
-
import { t as
|
|
165
|
-
import { t as
|
|
164
|
+
import { DT_TEXT_LIST_DEFAULT_TYPE as sa, DT_TEXT_LIST_GAP as ca, DT_TEXT_LIST_MARKERS as la, DT_TEXT_LIST_MARKER_TONES as ua, DT_TEXT_LIST_ORDERED_MARKERS as da, DT_TEXT_LIST_TYPES as fa, DT_TEXT_LIST_UNORDERED_MARKERS as pa } from "./lib/text-list/text-list-constants.js";
|
|
165
|
+
import { t as ma } from "./TextList-7RwngSie.js";
|
|
166
|
+
import { t as ha } from "./TextListItem-D0UmIR_q.js";
|
|
166
167
|
import "./lib/text-list/index.js";
|
|
167
|
-
import { TOAST_MIN_DURATION as
|
|
168
|
-
import { t as
|
|
168
|
+
import { TOAST_MIN_DURATION as ga, TOAST_ROLES as _a } from "./lib/toast/toast-constants.js";
|
|
169
|
+
import { t as va } from "./Toast-BNhGD6l8.js";
|
|
169
170
|
import "./lib/toast/index.js";
|
|
170
|
-
import { TOGGLE_CHECKED_VALUES as
|
|
171
|
-
import
|
|
171
|
+
import { TOGGLE_CHECKED_VALUES as ya, TOGGLE_SIZE_MODIFIERS as ba } from "./lib/toggle/toggle-constants.js";
|
|
172
|
+
import xa from "./lib/toggle/toggle.js";
|
|
172
173
|
import "./lib/toggle/index.js";
|
|
173
|
-
import
|
|
174
|
-
import { CHIP_SIZES as
|
|
175
|
-
import
|
|
174
|
+
import Sa from "./lib/combobox-with-popover/combobox-with-popover.js";
|
|
175
|
+
import { CHIP_SIZES as Ca, CHIP_TOP_POSITION as wa, MULTI_SELECT_SIZES as Ta } from "./lib/combobox-multi-select/combobox-multi-select-constants.js";
|
|
176
|
+
import Ea from "./lib/combobox-multi-select/combobox-multi-select.js";
|
|
176
177
|
import "./lib/combobox-multi-select/index.js";
|
|
177
178
|
import "./lib/combobox-with-popover/index.js";
|
|
178
|
-
import { DtTooltipDirective as
|
|
179
|
+
import { DtTooltipDirective as Da } from "./lib/tooltip-directive/tooltip.js";
|
|
179
180
|
import "./lib/tooltip-directive/index.js";
|
|
180
|
-
import { DtScrollbarDirective as
|
|
181
|
+
import { DtScrollbarDirective as Oa } from "./lib/scrollbar-directive/scrollbar.js";
|
|
181
182
|
import "./lib/scrollbar-directive/index.js";
|
|
182
|
-
import { DtModeDirective as
|
|
183
|
+
import { DtModeDirective as ka } from "./lib/mode-directive/mode.js";
|
|
183
184
|
import "./lib/mode-directive/index.js";
|
|
184
|
-
import { DtFocusgroupDirective as
|
|
185
|
+
import { DtFocusgroupDirective as Aa } from "./lib/focusgroup-directive/focusgroup.js";
|
|
185
186
|
import "./lib/focusgroup-directive/index.js";
|
|
186
|
-
import { DtFocustrapDirective as
|
|
187
|
+
import { DtFocustrapDirective as ja } from "./lib/focustrap-directive/focustrap.js";
|
|
187
188
|
import "./lib/focustrap-directive/index.js";
|
|
188
|
-
import { MOTION_TEXT_ANIMATION_MODES as
|
|
189
|
-
import
|
|
189
|
+
import { MOTION_TEXT_ANIMATION_MODES as Ma, MOTION_TEXT_MODE_SETTINGS as Na, MOTION_TEXT_SPEEDS as Pa, MOTION_TEXT_TIMING_PRESETS as Fa, MOTION_TEXT_TRACKS as Ia } from "./lib/motion-text/motion-text-constants.js";
|
|
190
|
+
import La from "./lib/motion-text/motion-text.js";
|
|
190
191
|
import "./lib/motion-text/index.js";
|
|
191
|
-
export {
|
|
192
|
+
export { Mr as ARROW_KEYS, Re as AVATAR_CHROMA, ze as AVATAR_FAMILY_COUNT, Be as AVATAR_GROUP_VALIDATOR, Ve as AVATAR_HUE_OFFSETS, He as AVATAR_ICON_SIZES, Ue as AVATAR_KIND_MODIFIERS, We as AVATAR_LIGHTNESS, Ge as AVATAR_PRESENCE_SIZE_MODIFIERS, Ke as AVATAR_PRESENCE_STATES, qe as AVATAR_SIZE_MODIFIERS, Je as AVATAR_VARIANT_COUNT, $e as BADGE_DECORATION_MODIFIERS, et as BADGE_KIND_MODIFIERS, tt as BADGE_TYPE_MODIFIERS, fn as BREADCRUMBS_INVERTED_MODIFIER, pn as BREADCRUMB_ITEM_SELECTED_MODIFIER, gn as BUTTON_GROUP_ALIGNMENT, At as BUTTON_ICON_SIZES, jt as BUTTON_IMPORTANCE_MODIFIERS, Mt as BUTTON_KIND_MODIFIERS, Nt as BUTTON_SIZE_MODIFIERS, Pt as BUTTON_TYPES, Nr as CDN_URL, Sn as CHIP_CLOSE_BUTTON_SIZE_MODIFIERS, Cn as CHIP_ICON_SIZES, Ca as CHIP_SIZES, wn as CHIP_SIZE_MODIFIERS, wa as CHIP_TOP_POSITION, zn as COMBOBOX_LABEL_SIZES, t as COMPONENT_SIZES, Lt as CRITICAL, _i as DEFAULT_PANEL_SIZE, o as DEFAULT_PREFIX, s as DEFAULT_VALIDATION_MESSAGE_TYPE, c as DESCRIPTION_SIZE_MODIFIERS, l as DESCRIPTION_SIZE_TYPES, mr as DROPDOWN_PADDING_CLASSES, Xt as DT_BOX_AS_VALUES, Zt as DT_BOX_BORDER_COLOR_VALUES, Qt as DT_BOX_BORDER_RADIUS_VALUES, $t as DT_BOX_BORDER_WIDTH_VALUES, en as DT_BOX_INSET_SIDE_VALUES, tn as DT_BOX_INSET_VALUES, nn as DT_BOX_LAYOUT_VALUES, rn as DT_BOX_OVERFLOW_VALUES, an as DT_BOX_POSITION_VALUES, on as DT_BOX_SCROLLBAR_VALUES, sn as DT_BOX_SHADOW_VALUES, cn as DT_BOX_SPACING_VALUES, ln as DT_BOX_SURFACE_VALUES, un as DT_BOX_Z_INDEX_VALUES, ur as DT_DESCRIPTION_LIST_DIRECTION, Xr as DT_MODE_ISLAND_TYPES, Bn as DT_STACK_DIRECTION, Vn as DT_STACK_GAP, Hn as DT_STACK_RESPONSIVE_BREAKPOINTS, sa as DT_TEXT_LIST_DEFAULT_TYPE, ca as DT_TEXT_LIST_GAP, la as DT_TEXT_LIST_MARKERS, ua as DT_TEXT_LIST_MARKER_TONES, da as DT_TEXT_LIST_ORDERED_MARKERS, fa as DT_TEXT_LIST_TYPES, pa as DT_TEXT_LIST_UNORDERED_MARKERS, Ot as DialtoneLocalization, Qe as DtAvatar, at as DtBadge, Yt as DtBanner, dn as DtBox, mn as DtBreadcrumbItem, hn as DtBreadcrumbs, Kt as DtButton, _n as DtButtonGroup, vn as DtCard, K as DtCheckableInputMixin, yn as DtCheckbox, xn as DtCheckboxGroup, Tn as DtChip, En as DtCodeblock, Dn as DtCollapsible, Rn as DtCombobox, Ea as DtComboboxMultiSelect, Sa as DtComboboxWithPopover, e as DtDOMMixin, ir as DtDatepicker, dr as DtDescriptionList, hr as DtDropdown, gr as DtDropdownSeparator, _r as DtEmoji, xr as DtEmojiPicker, Ir as DtEmojiTextWrapper, Rr as DtEmptyState, zr as DtFilterPill, Aa as DtFocusgroupDirective, ja as DtFocustrapDirective, q as DtGroupableInputMixin, Br as DtHovercard, it as DtIcon, Hr as DtIllustration, Ur as DtImageViewer, br as DtInput, bn as DtInputGroup, X as DtInputGroupMixin, J as DtInputMixin, jn as DtItemLayout, Z as DtKeyboardListNavigationMixin, Wr as DtKeyboardShortcut, fr as DtLazyShow, Gt as DtLink, Mn as DtListItem, Kr as DtListItemGroup, kt as DtLoader, Yr as DtModal, Q as DtModalMixin, ka as DtModeDirective, Zr as DtModeIsland, ae as DtModeMixin, La as DtMotionText, Jt as DtNotice, qt as DtNoticeAction, Et as DtNoticeContent, ct as DtNoticeIcon, Qr as DtPagination, pr as DtPopover, Le as DtPresence, ri as DtProgressCircle, ci as DtProse, ui as DtRadio, di as DtRadioGroup, Ti as DtResizable, Ei as DtResizableHandle, Di as DtResizablePanel, Oi as DtRichTextEditor, Ni as DtRootLayout, Oa as DtScrollbarDirective, Pi as DtScroller, qi as DtSegmentedControl, Ji as DtSegmentedControlItem, Zi as DtSelectMenu, Ln as DtSkeleton, In as DtSkeletonListItem, ie as DtSkeletonMixin, Fn as DtSkeletonParagraph, Nn as DtSkeletonShape, Pn as DtSkeletonText, ia as DtSlider, oa as DtSplitButton, Un as DtStack, Ar as DtTab, kr as DtTabGroup, jr as DtTabPanel, Tt as DtText, ma as DtTextList, ha as DtTextListItem, va as DtToast, xa as DtToggle, rr as DtTooltip, Da as DtTooltipDirective, Y as DtValidationMessages, Pr as EMOJIS_PER_ROW, Fr as EMOJI_PICKER_SKIN_TONE_MODIFIERS, Lr as EMPTY_STATE_SIZE_MODIFIERS, u as EVENT_KEYNAMES, d as HTML_ELEMENT_TYPE, nt as ICON_NAMES, Ft as ICON_POSITION_MODIFIERS, rt as ICON_SIZE_MODIFIERS, Vr as ILLUSTRATION_NAMES, vr as INPUT_SIZES, yr as INPUT_TYPES, It as INVALID_COMBINATION, f as LABEL_SIZE_MODIFIERS, r as LAYOUT_PERCENT_VALUES, i as LAYOUT_SIZE_VALUES, a as LAYOUT_VALUES, Rt as LINK_KIND_MODIFIERS, zt as LINK_VARIANTS, On as LIST_ITEM_NAVIGATION_TYPES, kn as LIST_ITEM_ROLES, An as LIST_ITEM_TYPES, Dt as LOADER_KIND_MODIFIERS, Bt as MENTION, wi as MIN_PANEL_SIZE_PX, qr as MODAL_BANNER_KINDS, Jr as MODAL_KIND_MODIFIERS, Ma as MOTION_TEXT_ANIMATION_MODES, Na as MOTION_TEXT_MODE_SETTINGS, Pa as MOTION_TEXT_SPEEDS, Fa as MOTION_TEXT_TIMING_PRESETS, Ia as MOTION_TEXT_TRACKS, Ta as MULTI_SELECT_SIZES, Vt as MUTED, ot as NOTICE_KINDS, st as NOTICE_ROLES, Yn as POPOVER_APPEND_TO_VALUES, Xn as POPOVER_CONTENT_WIDTHS, Zn as POPOVER_DIRECTIONS, Qn as POPOVER_HEADER_FOOTER_PADDING_CLASSES, $n as POPOVER_INITIAL_FOCUS_STRINGS, er as POPOVER_PADDING_CLASSES, tr as POPOVER_ROLES, nr as POPOVER_STICKY_VALUES, Ht as POSITIVE, Fe as PRESENCE_STATES, Ie as PRESENCE_STATES_LIST, $r as PROGRESS_CIRCLE_KINDS, ei as PROGRESS_CIRCLE_KIND_DEFAULT, ti as PROGRESS_CIRCLE_SIZES, ni as PROGRESS_CIRCLE_SIZE_DEFAULT, ii as PROSE_ALLOWED_ATTRIBUTES, ai as PROSE_DENSITY_MODIFIERS, oi as PROSE_DISALLOWED_ELEMENTS, si as PROSE_SIZE_MODIFIERS, li as RADIO_INPUT_VALIDATION_CLASSES, mi as RESIZABLE_CONTEXT_KEY, hi as RESIZABLE_HANDLE_CENTER_OFFSET_PX, ki as RICH_TEXT_EDITOR_AUTOFOCUS_TYPES, Ai as RICH_TEXT_EDITOR_OUTPUT_FORMATS, ji as ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS, Mi as ROOT_LAYOUT_SIDEBAR_POSITIONS, Fi as SEGMENTED_CONTROL_ACTIVATION_MODES, Ii as SEGMENTED_CONTROL_ACTIVATION_MODE_DEFAULT, Li as SEGMENTED_CONTROL_CONTEXT_KEY, Ri as SEGMENTED_CONTROL_FOCUS_KEY, zi as SEGMENTED_CONTROL_ORIENTATIONS, Bi as SEGMENTED_CONTROL_ORIENTATION_DEFAULT, Vi as SEGMENTED_CONTROL_SELECT_KEY, Hi as SEGMENTED_CONTROL_SIZES, Ui as SEGMENTED_CONTROL_SIZE_DEFAULT, Wi as SEGMENTED_CONTROL_SIZE_MODIFIERS, Gi as SEGMENTED_CONTROL_SPREADS, Ki as SEGMENTED_CONTROL_SPREAD_DEFAULT, Yi as SELECT_SIZE_MODIFIERS, Xi as SELECT_STATE_MODIFIERS, Gr as SHORTCUTS_ALIASES_LIST, $ as SKELETON_HEADING_HEIGHTS, ee as SKELETON_RIPPLE_DURATION, te as SKELETON_SHAPES, ne as SKELETON_SHAPE_SIZES, re as SKELETON_TEXT_TYPES, ea as SLIDER_DEFAULT_LARGE_STEP, na as SLIDER_EDGE_CLAMP_TOLERANCE_PX, $i as SLIDER_FILL_ORIGINS, Qi as SLIDER_ORIENTATIONS, ta as SLIDER_READOUT_EDGE_CLAMP_TOLERANCE_PX, ra as SLIDER_READOUT_MODES, aa as SPLIT_BUTTON_ICON_SIZES, Sr as TAB_ACTIVATION_MODES, Cr as TAB_GROUP_KINDS, wr as TAB_LIST_IMPORTANCE_MODIFIERS, Tr as TAB_LIST_KIND_MODIFIERS, Er as TAB_LIST_SIZES, Dr as TAB_LIST_SIZE_MODIFIERS, Or as TAB_SPREADS, lt as TEXT_ALIGN_MODIFIERS, ut as TEXT_BOX_TRIM_MODIFIERS, dt as TEXT_DENSITY_MODIFIERS, ft as TEXT_FAMILY_MODIFIERS, pt as TEXT_FONT_SIZE_MODIFIERS, mt as TEXT_HEADLINE_ONLY_SIZES, n as TEXT_HEADLINE_SIZES, ht as TEXT_ITALIC_CLASS, gt as TEXT_KIND_MODIFIERS, _t as TEXT_LINE_CLAMP_CLASS, vt as TEXT_NUMERIC_CLASS, yt as TEXT_SIZE_MODIFIERS, bt as TEXT_STRENGTH_MODIFIERS, xt as TEXT_TONE_MODIFIERS, St as TEXT_TRUNCATE_CLASS, Ct as TEXT_VARIANT_MODIFIERS, wt as TEXT_WRAP_MODIFIERS, ga as TOAST_MIN_DURATION, _a as TOAST_ROLES, ya as TOGGLE_CHECKED_VALUES, ba as TOGGLE_SIZE_MODIFIERS, Wn as TOOLTIP_DELAY_MS, Gn as TOOLTIP_DIRECTIONS, Kn as TOOLTIP_HIDE_ON_CLICK_VARIANTS, qn as TOOLTIP_KIND_MODIFIERS, Jn as TOOLTIP_STICKY_VALUES, p as VALIDATION_MESSAGE_TYPES, Ut as WARNING, bi as buildHandleId, h as capitalizeFirstLetter, de as codeToEmojiData, Ye as colorToFamilyVariant, Xe as computeAvatarHex, fe as customEmojiAssetUrl, g as debounce, pe as defaultEmojiAssetUrl, _ as disableRootScrolling, oe as durationInHHMM, me as emojiFileExtensionLarge, he as emojiFileExtensionSmall, ge as emojiImageUrlLarge, _e as emojiImageUrlSmall, ve as emojiJson, ye as emojiRegex, be as emojiShortCodeRegex, xe as emojiVersion, v as enableRootScrolling, y as extractNonListeners, b as extractVueListeners, x as filterFormattedMessages, Se as filterValidShortCodes, Ce as findEmojis, S as findFirstFocusableNode, we as findShortCodes, C as flushPromises, ar as formatLong, or as formatMedium, w as formatMessages, sr as formatNoYear, cr as formatNumerical, ue as formatPhoneNumber, lr as formatShort, se as getDateMedium, Te as getEmojiData, Ee as getEmojiShortCode, Wt as getLinkKindModifier, T as getPhoneNumberRegex, E as getRandomElement, Ze as getRandomFamilyVariant, D as getRandomInt, O as getUniqueString, k as getValidationState, A as hasFormattedMessageOfType, Ci as hasPercentageMinSize, j as hasSlotContent, M as htmlFragment, vi as invalidateTokenCache, xi as isCSSValue, N as isEmailAddress, P as isOutOfViewPort, gi as isPercentageValue, F as isPhoneNumber, I as isURL, fi as isValidSizing, L as javaHashCode, R as kebabCaseToPascalCase, z as linkRegex, yi as parseSizeToPixels, B as pascalCaseToKebabCase, Si as pixelsToPercentage, ce as relativeDate, V as removeClassStyleAttrs, H as returnFirstEl, U as safeConcatStrings, De as setCustomEmojiJson, Oe as setCustomEmojiUrl, le as setDateLocale, ke as setEmojiAssetUrlLarge, Ae as setEmojiAssetUrlSmall, je as shortcodeToEmojiData, Me as stringToUnicode, W as toFluentKeyString, Ne as unicodeToString, pi as validateContainerSize, Pe as validateCustomEmojiJson, m as validationMessageValidator, G as warnIfUnmounted };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './common/mixins';
|
|
|
2
2
|
export * from './common/constants';
|
|
3
3
|
export * from './common/utils';
|
|
4
4
|
export * from './common/dates';
|
|
5
|
+
export * from './common/phone';
|
|
5
6
|
export * from './common/emoji';
|
|
6
7
|
export * from './components/Avatar';
|
|
7
8
|
export * from './components/Badge';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e={default:`column`,column:`column`,row:`row`,"row-reverse":`row-reverse`,"column-reverse":`column-reverse`},t=[`sm`,`md`,`lg`,`xl`],n=[`0`,`1`,`25`,`50`,`75`,`100`,`125`,`150`,`175`,`200`,`250`,`300`,`350`,`400`,`450`,`500`,`525`,`550`,`600`,`650`,`700`,`750`,`800`],r=[`start`,`center`,`end`,`stretch`,`baseline`],i=[`start`,`center`,`end`,`space-around`,`space-between`,`space-evenly`,`around`,`between`,`evenly`],
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e={default:`column`,column:`column`,row:`row`,"row-reverse":`row-reverse`,"column-reverse":`column-reverse`},t=[`sm`,`md`,`lg`,`xl`],n=[`0`,`1`,`25`,`50`,`75`,`100`,`125`,`150`,`175`,`200`,`250`,`300`,`350`,`400`,`450`,`500`,`525`,`550`,`600`,`650`,`700`,`750`,`800`],r=[`start`,`center`,`end`,`stretch`,`baseline`],i=[...r,`auto`],a=[`start`,`center`,`end`,`space-around`,`space-between`,`space-evenly`,`around`,`between`,`evenly`],o={DT_STACK_DIRECTION:e,DT_STACK_RESPONSIVE_BREAKPOINTS:t,DT_STACK_GAP:n,DT_STACK_ALIGN:r,DT_STACK_ALIGN_SELF:i,DT_STACK_JUSTIFY:a};exports.DT_STACK_ALIGN=r,exports.DT_STACK_ALIGN_SELF=i,exports.DT_STACK_DIRECTION=e,exports.DT_STACK_GAP=n,exports.DT_STACK_JUSTIFY=a,exports.DT_STACK_RESPONSIVE_BREAKPOINTS=t,exports.default=o;
|
|
2
2
|
//# sourceMappingURL=stack-constants.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-constants.cjs","names":[],"sources":["../../../components/Stack/StackConstants.js"],"sourcesContent":["/**\n * Direction values for the stack component.\n * Uses object format for historical compatibility - changing to array would be breaking.\n * The object keys are the valid values, and the values are the CSS class suffixes.\n * @type {Object<string, string>}\n */\nexport const DT_STACK_DIRECTION = {\n default: 'column',\n column: 'column',\n row: 'row',\n 'row-reverse': 'row-reverse',\n 'column-reverse': 'column-reverse',\n};\n\n/**\n * Responsive breakpoint names used for all responsive props.\n * @type {string[]}\n */\nexport const DT_STACK_RESPONSIVE_BREAKPOINTS = ['sm', 'md', 'lg', 'xl'];\n\n/**\n * Gap values for spacing between stack items.\n * Uses array format.\n * @type {string[]}\n */\nexport const DT_STACK_GAP = ['0', '1', '25', '50', '75', '100', '125', '150', '175', '200', '250', '300', '350', '400', '450', '500', '525', '550', '600', '650', '700', '750', '800'];\n\n/**\n * Align values for the stack component (cross-axis alignment).\n * Uses array format - simpler structure for newer props.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN = ['start', 'center', 'end', 'stretch', 'baseline'];\n\n/**\n * Justify values for the stack component (main-axis distribution).\n * Uses array format - simpler structure for newer props.\n * Primary values align with CSS justify-content values.\n * @type {string[]}\n */\nexport const DT_STACK_JUSTIFY = ['start', 'center', 'end', 'space-around', 'space-between', 'space-evenly', 'around', 'between', 'evenly'];\n\nexport default {\n DT_STACK_DIRECTION,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_GAP,\n DT_STACK_ALIGN,\n DT_STACK_JUSTIFY,\n};\n"],"mappings":"+FAMA,IAAa,EAAqB,CAChC,QAAS,SACT,OAAQ,SACR,IAAK,MACL,cAAe,cACf,iBAAkB,iBACnB,CAMY,EAAkC,CAAC,KAAM,KAAM,KAAM,KAAK,CAO1D,EAAe,CAAC,IAAK,IAAK,KAAM,KAAM,KAAM,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAM,CAOzK,EAAiB,CAAC,QAAS,SAAU,MAAO,UAAW,WAAW,
|
|
1
|
+
{"version":3,"file":"stack-constants.cjs","names":[],"sources":["../../../components/Stack/StackConstants.js"],"sourcesContent":["/**\n * Direction values for the stack component.\n * Uses object format for historical compatibility - changing to array would be breaking.\n * The object keys are the valid values, and the values are the CSS class suffixes.\n * @type {Object<string, string>}\n */\nexport const DT_STACK_DIRECTION = {\n default: 'column',\n column: 'column',\n row: 'row',\n 'row-reverse': 'row-reverse',\n 'column-reverse': 'column-reverse',\n};\n\n/**\n * Responsive breakpoint names used for all responsive props.\n * @type {string[]}\n */\nexport const DT_STACK_RESPONSIVE_BREAKPOINTS = ['sm', 'md', 'lg', 'xl'];\n\n/**\n * Gap values for spacing between stack items.\n * Uses array format.\n * @type {string[]}\n */\nexport const DT_STACK_GAP = ['0', '1', '25', '50', '75', '100', '125', '150', '175', '200', '250', '300', '350', '400', '450', '500', '525', '550', '600', '650', '700', '750', '800'];\n\n/**\n * Align values for the stack component (cross-axis alignment).\n * Uses array format - simpler structure for newer props.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN = ['start', 'center', 'end', 'stretch', 'baseline'];\n\n/**\n * Align-self values for the stack component (placement of the stack itself in a flex parent).\n * Same as the align values, plus `auto` to reset the parent's `align-items` at a breakpoint.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN_SELF = [...DT_STACK_ALIGN, 'auto'];\n\n/**\n * Justify values for the stack component (main-axis distribution).\n * Uses array format - simpler structure for newer props.\n * Primary values align with CSS justify-content values.\n * @type {string[]}\n */\nexport const DT_STACK_JUSTIFY = ['start', 'center', 'end', 'space-around', 'space-between', 'space-evenly', 'around', 'between', 'evenly'];\n\nexport default {\n DT_STACK_DIRECTION,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_GAP,\n DT_STACK_ALIGN,\n DT_STACK_ALIGN_SELF,\n DT_STACK_JUSTIFY,\n};\n"],"mappings":"+FAMA,IAAa,EAAqB,CAChC,QAAS,SACT,OAAQ,SACR,IAAK,MACL,cAAe,cACf,iBAAkB,iBACnB,CAMY,EAAkC,CAAC,KAAM,KAAM,KAAM,KAAK,CAO1D,EAAe,CAAC,IAAK,IAAK,KAAM,KAAM,KAAM,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAM,CAOzK,EAAiB,CAAC,QAAS,SAAU,MAAO,UAAW,WAAW,CAOlE,EAAsB,CAAC,GAAG,EAAgB,OAAO,CAQjD,EAAmB,CAAC,QAAS,SAAU,MAAO,eAAgB,gBAAiB,eAAgB,SAAU,UAAW,SAAS,CAE1I,EAAe,CACb,qBACA,kCACA,eACA,iBACA,sBACA,mBACD"}
|
|
@@ -40,7 +40,7 @@ var e = {
|
|
|
40
40
|
"end",
|
|
41
41
|
"stretch",
|
|
42
42
|
"baseline"
|
|
43
|
-
], i = [
|
|
43
|
+
], i = [...r, "auto"], a = [
|
|
44
44
|
"start",
|
|
45
45
|
"center",
|
|
46
46
|
"end",
|
|
@@ -50,14 +50,15 @@ var e = {
|
|
|
50
50
|
"around",
|
|
51
51
|
"between",
|
|
52
52
|
"evenly"
|
|
53
|
-
],
|
|
53
|
+
], o = {
|
|
54
54
|
DT_STACK_DIRECTION: e,
|
|
55
55
|
DT_STACK_RESPONSIVE_BREAKPOINTS: t,
|
|
56
56
|
DT_STACK_GAP: n,
|
|
57
57
|
DT_STACK_ALIGN: r,
|
|
58
|
-
|
|
58
|
+
DT_STACK_ALIGN_SELF: i,
|
|
59
|
+
DT_STACK_JUSTIFY: a
|
|
59
60
|
};
|
|
60
61
|
//#endregion
|
|
61
|
-
export { r as DT_STACK_ALIGN, e as DT_STACK_DIRECTION, n as DT_STACK_GAP,
|
|
62
|
+
export { r as DT_STACK_ALIGN, i as DT_STACK_ALIGN_SELF, e as DT_STACK_DIRECTION, n as DT_STACK_GAP, a as DT_STACK_JUSTIFY, t as DT_STACK_RESPONSIVE_BREAKPOINTS, o as default };
|
|
62
63
|
|
|
63
64
|
//# sourceMappingURL=stack-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-constants.js","names":[],"sources":["../../../components/Stack/StackConstants.js"],"sourcesContent":["/**\n * Direction values for the stack component.\n * Uses object format for historical compatibility - changing to array would be breaking.\n * The object keys are the valid values, and the values are the CSS class suffixes.\n * @type {Object<string, string>}\n */\nexport const DT_STACK_DIRECTION = {\n default: 'column',\n column: 'column',\n row: 'row',\n 'row-reverse': 'row-reverse',\n 'column-reverse': 'column-reverse',\n};\n\n/**\n * Responsive breakpoint names used for all responsive props.\n * @type {string[]}\n */\nexport const DT_STACK_RESPONSIVE_BREAKPOINTS = ['sm', 'md', 'lg', 'xl'];\n\n/**\n * Gap values for spacing between stack items.\n * Uses array format.\n * @type {string[]}\n */\nexport const DT_STACK_GAP = ['0', '1', '25', '50', '75', '100', '125', '150', '175', '200', '250', '300', '350', '400', '450', '500', '525', '550', '600', '650', '700', '750', '800'];\n\n/**\n * Align values for the stack component (cross-axis alignment).\n * Uses array format - simpler structure for newer props.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN = ['start', 'center', 'end', 'stretch', 'baseline'];\n\n/**\n * Justify values for the stack component (main-axis distribution).\n * Uses array format - simpler structure for newer props.\n * Primary values align with CSS justify-content values.\n * @type {string[]}\n */\nexport const DT_STACK_JUSTIFY = ['start', 'center', 'end', 'space-around', 'space-between', 'space-evenly', 'around', 'between', 'evenly'];\n\nexport default {\n DT_STACK_DIRECTION,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_GAP,\n DT_STACK_ALIGN,\n DT_STACK_JUSTIFY,\n};\n"],"mappings":";AAMA,IAAa,IAAqB;CAChC,SAAS;CACT,QAAQ;CACR,KAAK;CACL,eAAe;CACf,kBAAkB;CACnB,EAMY,IAAkC;CAAC;CAAM;CAAM;CAAM;CAAK,EAO1D,IAAe;CAAC;CAAK;CAAK;CAAM;CAAM;CAAM;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAM,EAOzK,IAAiB;CAAC;CAAS;CAAU;CAAO;CAAW;CAAW,
|
|
1
|
+
{"version":3,"file":"stack-constants.js","names":[],"sources":["../../../components/Stack/StackConstants.js"],"sourcesContent":["/**\n * Direction values for the stack component.\n * Uses object format for historical compatibility - changing to array would be breaking.\n * The object keys are the valid values, and the values are the CSS class suffixes.\n * @type {Object<string, string>}\n */\nexport const DT_STACK_DIRECTION = {\n default: 'column',\n column: 'column',\n row: 'row',\n 'row-reverse': 'row-reverse',\n 'column-reverse': 'column-reverse',\n};\n\n/**\n * Responsive breakpoint names used for all responsive props.\n * @type {string[]}\n */\nexport const DT_STACK_RESPONSIVE_BREAKPOINTS = ['sm', 'md', 'lg', 'xl'];\n\n/**\n * Gap values for spacing between stack items.\n * Uses array format.\n * @type {string[]}\n */\nexport const DT_STACK_GAP = ['0', '1', '25', '50', '75', '100', '125', '150', '175', '200', '250', '300', '350', '400', '450', '500', '525', '550', '600', '650', '700', '750', '800'];\n\n/**\n * Align values for the stack component (cross-axis alignment).\n * Uses array format - simpler structure for newer props.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN = ['start', 'center', 'end', 'stretch', 'baseline'];\n\n/**\n * Align-self values for the stack component (placement of the stack itself in a flex parent).\n * Same as the align values, plus `auto` to reset the parent's `align-items` at a breakpoint.\n * @type {string[]}\n */\nexport const DT_STACK_ALIGN_SELF = [...DT_STACK_ALIGN, 'auto'];\n\n/**\n * Justify values for the stack component (main-axis distribution).\n * Uses array format - simpler structure for newer props.\n * Primary values align with CSS justify-content values.\n * @type {string[]}\n */\nexport const DT_STACK_JUSTIFY = ['start', 'center', 'end', 'space-around', 'space-between', 'space-evenly', 'around', 'between', 'evenly'];\n\nexport default {\n DT_STACK_DIRECTION,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_GAP,\n DT_STACK_ALIGN,\n DT_STACK_ALIGN_SELF,\n DT_STACK_JUSTIFY,\n};\n"],"mappings":";AAMA,IAAa,IAAqB;CAChC,SAAS;CACT,QAAQ;CACR,KAAK;CACL,eAAe;CACf,kBAAkB;CACnB,EAMY,IAAkC;CAAC;CAAM;CAAM;CAAM;CAAK,EAO1D,IAAe;CAAC;CAAK;CAAK;CAAM;CAAM;CAAM;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAM,EAOzK,IAAiB;CAAC;CAAS;CAAU;CAAO;CAAW;CAAW,EAOlE,IAAsB,CAAC,GAAG,GAAgB,OAAO,EAQjD,IAAmB;CAAC;CAAS;CAAU;CAAO;CAAgB;CAAiB;CAAgB;CAAU;CAAW;CAAS,EAE1I,IAAe;CACb;CACA;CACA;CACA;CACA;CACA;CACD"}
|
package/dist/lib/stack/stack.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),t=require(`./stack-constants.cjs`),n=require(`./validators.cjs`),r=require(`./utils.cjs`);let i=require(`vue`);var a={name:`DtStack`,props:{direction:{type:[String,Object],default:`column`,validator:e=>n.directionValidator(e)},as:{type:String,default:`div`},wrap:{type:Boolean,default:!1},gap:{type:[String,Object],default:`0`,validator:e=>n.gapValidator(e)},align:{type:[String,Object],validator:e=>n.alignValidator(e)},justify:{type:[String,Object],default:`start`,validator:e=>n.justifyValidator(e)}},data(){return{DT_STACK_DIRECTION:t.DT_STACK_DIRECTION,DT_STACK_GAP:t.DT_STACK_GAP,DT_STACK_RESPONSIVE_BREAKPOINTS:t.DT_STACK_RESPONSIVE_BREAKPOINTS,DT_STACK_ALIGN:t.DT_STACK_ALIGN,DT_STACK_JUSTIFY:t.DT_STACK_JUSTIFY}},computed:{defaultGap(){return r.getDefaultGapClass(this.gap)},defaultDirection(){return r.getDefaultDirectionClass(this.direction)},defaultAlign(){return r.getDefaultAlignClass(this.align)},defaultJustify(){return r.getDefaultJustifyClass(this.justify)},stackResponsive(){return r.getResponsiveClasses(this.direction,this.gap,this.align,this.justify)}}};function o(e,t,n,r,a,o){return(0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(n.as),{"data-qa":`dt-stack`,class:(0,i.normalizeClass)([`d-stack`,{"d-stack--wrap":n.wrap},o.defaultDirection,o.defaultGap,o.defaultAlign,o.defaultJustify,o.stackResponsive])},{default:(0,i.withCtx)(()=>[(0,i.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])}var s=e.t(a,[[`render`,o]]);exports.default=s;
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),t=require(`./stack-constants.cjs`),n=require(`./validators.cjs`),r=require(`./utils.cjs`);let i=require(`vue`);var a={name:`DtStack`,props:{direction:{type:[String,Object],default:`column`,validator:e=>n.directionValidator(e)},as:{type:String,default:`div`},wrap:{type:Boolean,default:!1},gap:{type:[String,Object],default:`0`,validator:e=>n.gapValidator(e)},align:{type:[String,Object],validator:e=>n.alignValidator(e)},alignSelf:{type:[String,Object],validator:e=>n.alignSelfValidator(e)},justify:{type:[String,Object],default:`start`,validator:e=>n.justifyValidator(e)}},data(){return{DT_STACK_DIRECTION:t.DT_STACK_DIRECTION,DT_STACK_GAP:t.DT_STACK_GAP,DT_STACK_RESPONSIVE_BREAKPOINTS:t.DT_STACK_RESPONSIVE_BREAKPOINTS,DT_STACK_ALIGN:t.DT_STACK_ALIGN,DT_STACK_JUSTIFY:t.DT_STACK_JUSTIFY}},computed:{defaultGap(){return r.getDefaultGapClass(this.gap)},defaultDirection(){return r.getDefaultDirectionClass(this.direction)},defaultAlign(){return r.getDefaultAlignClass(this.align)},defaultJustify(){return r.getDefaultJustifyClass(this.justify)},defaultAlignSelf(){return r.getDefaultAlignSelfClass(this.alignSelf)},stackResponsive(){return r.getResponsiveClasses(this.direction,this.gap,this.align,this.justify,this.alignSelf)}}};function o(e,t,n,r,a,o){return(0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(n.as),{"data-qa":`dt-stack`,class:(0,i.normalizeClass)([`d-stack`,{"d-stack--wrap":n.wrap},o.defaultDirection,o.defaultGap,o.defaultAlign,o.defaultJustify,o.defaultAlignSelf,o.stackResponsive])},{default:(0,i.withCtx)(()=>[(0,i.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])}var s=e.t(a,[[`render`,o]]);exports.default=s;
|
|
2
2
|
//# sourceMappingURL=stack.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.cjs","names":[],"sources":["../../../components/Stack/Stack.vue"],"sourcesContent":["<template>\n <component\n :is=\"as\"\n data-qa=\"dt-stack\"\n :class=\"[\n 'd-stack',\n { 'd-stack--wrap': wrap },\n defaultDirection,\n defaultGap,\n defaultAlign,\n defaultJustify,\n stackResponsive,\n ]\"\n >\n <!-- @slot Slot for main content -->\n <slot />\n </component>\n</template>\n\n<script>\nimport { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS, DT_STACK_ALIGN, DT_STACK_JUSTIFY } from './StackConstants';\nimport { directionValidator, gapValidator, alignValidator, justifyValidator } from './Validators';\nimport { getDefaultDirectionClass, getResponsiveClasses, getDefaultGapClass, getDefaultAlignClass, getDefaultJustifyClass } from './Utils';\n\nexport default {\n name: 'DtStack',\n\n props: {\n /**\n * Set this prop to the direction to stack the items.\n * You can override the default direction with 'default' key.\n * All the undefined breakpoints will have 'default' value.\n * By default, for the column direction it will have `justify-content: flex-start`\n * and for the row direction `align-items: center`. This can be overridden\n * using the `align` and `justify` props.\n *\n * @values column, row, row-reverse, column-reverse\n */\n direction: {\n type: [String, Object],\n default: 'column',\n validator: (direction) => directionValidator(direction),\n },\n\n /**\n * Set this prop to render stack as a specific HTML element.\n */\n as: {\n type: String,\n default: 'div',\n },\n\n /**\n * Allow items to wrap onto additional lines when they exceed the available space.\n */\n wrap: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The gap property controls the spacing between items in the stack.\n * The gap can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default gap with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * @values 0, 1, 25, 50, 75, 100, 125, 150, 175, 200, 250, 300, 350, 400, 450, 500, 525, 550, 600, 650, 700, 750, 800\n */\n gap: {\n type: [String, Object],\n default: '0',\n validator: (gap) => gapValidator(gap),\n },\n\n /**\n * The align property controls the alignment of items along the cross axis.\n * The align can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default align with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * If not specified, alignment uses CSS defaults: stretch for column direction,\n * center for row/row-reverse directions (set by CSS).\n * @values start, center, end, stretch, baseline\n */\n align: {\n type: [String, Object],\n validator: (align) => alignValidator(align),\n },\n\n /**\n * The justify property controls the justification of items along the main axis.\n * The justify can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default justify with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * The around, between, and evenly values are deprecated and will ideally be removed in the next major version.\n * Please use space-around, space-between, and space-evenly instead.\n * @values start, center, end, space-around, space-between, space-evenly, around, between, evenly\n */\n justify: {\n type: [String, Object],\n default: 'start',\n validator: (justify) => justifyValidator(justify),\n },\n },\n\n data () {\n return {\n DT_STACK_DIRECTION,\n DT_STACK_GAP,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_ALIGN,\n DT_STACK_JUSTIFY,\n };\n },\n\n computed: {\n defaultGap () {\n return getDefaultGapClass(this.gap);\n },\n\n defaultDirection () {\n return getDefaultDirectionClass(this.direction);\n },\n\n defaultAlign () {\n return getDefaultAlignClass(this.align);\n },\n\n defaultJustify () {\n return getDefaultJustifyClass(this.justify);\n },\n\n stackResponsive () {\n return getResponsiveClasses(this.direction, this.gap, this.align, this.justify);\n },\n },\n};\n</script>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"stack.cjs","names":[],"sources":["../../../components/Stack/Stack.vue"],"sourcesContent":["<template>\n <component\n :is=\"as\"\n data-qa=\"dt-stack\"\n :class=\"[\n 'd-stack',\n { 'd-stack--wrap': wrap },\n defaultDirection,\n defaultGap,\n defaultAlign,\n defaultJustify,\n defaultAlignSelf,\n stackResponsive,\n ]\"\n >\n <!-- @slot Slot for main content -->\n <slot />\n </component>\n</template>\n\n<script>\nimport { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS, DT_STACK_ALIGN, DT_STACK_JUSTIFY } from './StackConstants';\nimport { directionValidator, gapValidator, alignValidator, alignSelfValidator, justifyValidator } from './Validators';\nimport { getDefaultDirectionClass, getResponsiveClasses, getDefaultGapClass, getDefaultAlignClass, getDefaultAlignSelfClass, getDefaultJustifyClass } from './Utils';\n\nexport default {\n name: 'DtStack',\n\n props: {\n /**\n * Set this prop to the direction to stack the items.\n * You can override the default direction with 'default' key.\n * All the undefined breakpoints will have 'default' value.\n * By default, for the column direction it will have `justify-content: flex-start`\n * and for the row direction `align-items: center`. This can be overridden\n * using the `align` and `justify` props.\n *\n * @values column, row, row-reverse, column-reverse\n */\n direction: {\n type: [String, Object],\n default: 'column',\n validator: (direction) => directionValidator(direction),\n },\n\n /**\n * Set this prop to render stack as a specific HTML element.\n */\n as: {\n type: String,\n default: 'div',\n },\n\n /**\n * Allow items to wrap onto additional lines when they exceed the available space.\n */\n wrap: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The gap property controls the spacing between items in the stack.\n * The gap can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default gap with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * @values 0, 1, 25, 50, 75, 100, 125, 150, 175, 200, 250, 300, 350, 400, 450, 500, 525, 550, 600, 650, 700, 750, 800\n */\n gap: {\n type: [String, Object],\n default: '0',\n validator: (gap) => gapValidator(gap),\n },\n\n /**\n * The align property controls the alignment of items along the cross axis.\n * The align can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default align with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * If not specified, alignment uses CSS defaults: stretch for column direction,\n * center for row/row-reverse directions (set by CSS).\n * @values start, center, end, stretch, baseline\n */\n align: {\n type: [String, Object],\n validator: (align) => alignValidator(align),\n },\n\n /**\n * The alignSelf property places the stack itself along the cross axis of its flex parent\n * (`align-self`). It does not change how the stack aligns its own children; use `align` for that.\n * The alignSelf can be set to a string, or object with breakpoints.\n * You can set the base value with 'default' key.\n * Each breakpoint value stays active until a later breakpoint value overrides it,\n * so an undefined breakpoint keeps the previous value instead of resetting to 'default'.\n * Use `auto` to reset.\n * In case of string, it will be applied to all the breakpoints.\n * If not specified, the parent's `align-items` applies.\n * @values start, center, end, stretch, baseline, auto\n */\n alignSelf: {\n type: [String, Object],\n validator: (alignSelf) => alignSelfValidator(alignSelf),\n },\n\n /**\n * The justify property controls the justification of items along the main axis.\n * The justify can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default justify with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * The around, between, and evenly values are deprecated and will ideally be removed in the next major version.\n * Please use space-around, space-between, and space-evenly instead.\n * @values start, center, end, space-around, space-between, space-evenly, around, between, evenly\n */\n justify: {\n type: [String, Object],\n default: 'start',\n validator: (justify) => justifyValidator(justify),\n },\n },\n\n data () {\n return {\n DT_STACK_DIRECTION,\n DT_STACK_GAP,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n DT_STACK_ALIGN,\n DT_STACK_JUSTIFY,\n };\n },\n\n computed: {\n defaultGap () {\n return getDefaultGapClass(this.gap);\n },\n\n defaultDirection () {\n return getDefaultDirectionClass(this.direction);\n },\n\n defaultAlign () {\n return getDefaultAlignClass(this.align);\n },\n\n defaultJustify () {\n return getDefaultJustifyClass(this.justify);\n },\n\n defaultAlignSelf () {\n return getDefaultAlignSelfClass(this.alignSelf);\n },\n\n stackResponsive () {\n return getResponsiveClasses(this.direction, this.gap, this.align, this.justify, this.alignSelf);\n },\n },\n};\n</script>\n"],"mappings":"kTAyBA,IAAK,EAAU,CACb,KAAM,UAEN,MAAO,CAWL,UAAW,CACT,KAAM,CAAC,OAAQ,OAAO,CACtB,QAAS,SACT,UAAY,GAAc,EAAA,mBAAmB,EAAU,CACxD,CAKD,GAAI,CACF,KAAM,OACN,QAAS,MACV,CAKD,KAAM,CACJ,KAAM,QACN,QAAS,GACV,CAUD,IAAK,CACH,KAAM,CAAC,OAAQ,OAAO,CACtB,QAAS,IACT,UAAY,GAAQ,EAAA,aAAa,EAAI,CACtC,CAYD,MAAO,CACL,KAAM,CAAC,OAAQ,OAAO,CACtB,UAAY,GAAU,EAAA,eAAe,EAAM,CAC5C,CAcD,UAAW,CACT,KAAM,CAAC,OAAQ,OAAO,CACtB,UAAY,GAAc,EAAA,mBAAmB,EAAU,CACxD,CAYD,QAAS,CACP,KAAM,CAAC,OAAQ,OAAO,CACtB,QAAS,QACT,UAAY,GAAY,EAAA,iBAAiB,EAAQ,CAClD,CACF,CAED,MAAQ,CACN,MAAO,CACL,mBAAA,EAAA,mBACA,aAAA,EAAA,aACA,gCAAA,EAAA,gCACA,eAAA,EAAA,eACA,iBAAA,EAAA,iBACD,EAGH,SAAU,CACR,YAAc,CACZ,OAAO,EAAA,mBAAmB,KAAK,IAAI,EAGrC,kBAAoB,CAClB,OAAO,EAAA,yBAAyB,KAAK,UAAU,EAGjD,cAAgB,CACd,OAAO,EAAA,qBAAqB,KAAK,MAAM,EAGzC,gBAAkB,CAChB,OAAO,EAAA,uBAAuB,KAAK,QAAQ,EAG7C,kBAAoB,CAClB,OAAO,EAAA,yBAAyB,KAAK,UAAU,EAGjD,iBAAmB,CACjB,OAAO,EAAA,qBAAqB,KAAK,UAAW,KAAK,IAAK,KAAK,MAAO,KAAK,QAAS,KAAK,UAAU,EAElG,CACF,iGA7JQ,EAAA,GAAE,CAAA,CACP,UAAQ,WACP,OAAA,EAAA,EAAA,gBAAK,4BAA8C,EAAA,KAAI,CAAU,EAAA,iBAAwB,EAAA,WAAkB,EAAA,aAAoB,EAAA,eAAsB,EAAA,iBAAwB,EAAA,8CAYtK,EAAA,EAAA,EAAA,YAAA,EAAA,OAAA,UAAA,CAAA,CAAA"}
|