@privyid/persona 0.19.0 → 0.20.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/components/avatar/Avatar.vue.d.ts +2 -2
- package/dist/components/breadcrumbs/BreadcrumbItem.vue +3 -2
- package/dist/components/button/Button.vue.d.ts +2 -2
- package/dist/components/caption/Caption.vue +30 -2
- package/dist/components/card/Card.vue +9 -1
- package/dist/components/checkbox/Checkbox.vue.d.ts +6 -6
- package/dist/components/contextual-bar/ContextualBar.vue.d.ts +2 -2
- package/dist/components/cropper/Cropper.vue.d.ts +2 -2
- package/dist/components/dropdown/Dropdown.vue +5 -0
- package/dist/components/dropdown/Dropdown.vue.d.ts +6 -6
- package/dist/components/dropdown/DropdownItem.vue +1 -1
- package/dist/components/dropdown/index.d.ts +1 -1
- package/dist/components/filterbar/pinned/PinnedSelect.vue.d.ts +2 -2
- package/dist/components/filterbar/pinned/PinnedToggle.vue.d.ts +6 -6
- package/dist/components/heading/Heading.vue +26 -2
- package/dist/components/heading/index.d.ts +1 -1
- package/dist/components/input/Input.vue.d.ts +2 -2
- package/dist/components/input-pin/InputPin.vue.d.ts +1 -1
- package/dist/components/label/Label.vue.d.ts +1 -1
- package/dist/components/list-group/ListGroupItem.vue +1 -1
- package/dist/components/main/Main.vue +47 -44
- package/dist/components/modal/Modal.vue.d.ts +1 -1
- package/dist/components/nav/Nav.vue +6 -4
- package/dist/components/nav/NavItem.vue +1 -1
- package/dist/components/nav/NavItem.vue.d.ts +2 -2
- package/dist/components/nav/NavItemDropdown.vue.d.ts +3 -3
- package/dist/components/navbar/NavbarBrand.vue +1 -1
- package/dist/components/navbar-menu/NavbarNavMenu.vue +1 -1
- package/dist/components/navbar-menu/NavbarNavMenu.vue.d.ts +3 -3
- package/dist/components/pagination/index.mjs +3 -1
- package/dist/components/pdf-object/PdfObject.vue +1 -1
- package/dist/components/pdf-text/PdfText.vue.d.ts +1 -1
- package/dist/components/pdf-viewer/utils/use-sticky.mjs +7 -3
- package/dist/components/progressbar/Progressbar.vue +110 -0
- package/dist/components/progressbar/Progressbar.vue.d.ts +63 -0
- package/dist/components/progressbar/index.d.ts +7 -0
- package/dist/components/progressbar/index.mjs +11 -0
- package/dist/components/radio/Radio.vue.d.ts +4 -4
- package/dist/components/ringbar/Ringbar.vue +148 -0
- package/dist/components/ringbar/Ringbar.vue.d.ts +66 -0
- package/dist/components/select/Select.vue.d.ts +2 -2
- package/dist/components/sidebar/SidebarBrand.vue +1 -1
- package/dist/components/sidebar/SidebarNav.vue +6 -4
- package/dist/components/signature-draw/SignatureDrawMobile.vue +6 -1
- package/dist/components/signature-text/SignatureText.vue.d.ts +1 -1
- package/dist/components/spread/Spread.vue +1 -1
- package/dist/components/spread/Spread.vue.d.ts +2 -2
- package/dist/components/subheading/Subheading.vue +36 -2
- package/dist/components/table/Table.vue +53 -9
- package/dist/components/table/Table.vue.d.ts +21 -3
- package/dist/components/table/index.d.ts +23 -6
- package/dist/components/table/index.mjs +18 -1
- package/dist/components/table-flex/TableFlex.vue +321 -0
- package/dist/components/table-static/TableStatic.vue +316 -0
- package/dist/components/text/Text.vue +46 -13
- package/dist/components/text/Text.vue.d.ts +2 -2
- package/dist/components/toggle/Toggle.vue.d.ts +7 -7
- package/dist/components/tour/TourDialog.vue.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.mjs +6 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +0 -1
- package/package.json +17 -17
|
@@ -22,7 +22,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
imgClass: {
|
|
25
|
-
type: (StringConstructor |
|
|
25
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
26
26
|
default: undefined;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
53
|
imgClass: {
|
|
54
|
-
type: (StringConstructor |
|
|
54
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
55
55
|
default: undefined;
|
|
56
56
|
};
|
|
57
57
|
}>> & {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
:class="classNames">
|
|
6
6
|
<component
|
|
7
7
|
:is="tagName"
|
|
8
|
-
:href="permalink"
|
|
8
|
+
:href="permalink"
|
|
9
|
+
:class="{ 'breadcrumbs__item__link' : permalink }">
|
|
9
10
|
<slot />
|
|
10
11
|
</component>
|
|
11
12
|
<div
|
|
@@ -82,7 +83,7 @@ export default defineComponent({
|
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
|
|
85
|
-
& >
|
|
86
|
+
& > .breadcrumbs__item__link {
|
|
86
87
|
@apply text-subtle cursor-pointer underline decoration-solid hover:no-underline;
|
|
87
88
|
@apply dark:text-dark-subtle;
|
|
88
89
|
}
|
|
@@ -64,11 +64,11 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
}>>, {
|
|
66
66
|
variant: StyleVariant;
|
|
67
|
-
size: SizeVariant;
|
|
68
67
|
type: TypeVariant;
|
|
69
|
-
color: ColorVariant;
|
|
70
68
|
icon: boolean;
|
|
69
|
+
size: SizeVariant;
|
|
71
70
|
href: RouteLocationRaw;
|
|
72
71
|
pill: boolean;
|
|
72
|
+
color: ColorVariant;
|
|
73
73
|
}, {}>;
|
|
74
74
|
export default _default;
|
|
@@ -44,8 +44,12 @@ export default defineComponent({
|
|
|
44
44
|
|
|
45
45
|
<style lang="postcss">
|
|
46
46
|
.caption {
|
|
47
|
-
@apply block text-
|
|
48
|
-
|
|
47
|
+
@apply block text-xs tracking-wide;
|
|
48
|
+
|
|
49
|
+
&:not([class^='text-'], [class*='text-']) {
|
|
50
|
+
@apply text-muted;
|
|
51
|
+
@apply dark:text-dark-muted;
|
|
52
|
+
}
|
|
49
53
|
|
|
50
54
|
/**
|
|
51
55
|
* Caption in tiny size
|
|
@@ -57,10 +61,26 @@ export default defineComponent({
|
|
|
57
61
|
/**
|
|
58
62
|
* Weight of caption
|
|
59
63
|
*/
|
|
64
|
+
&--thin {
|
|
65
|
+
@apply font-thin;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&--extralight {
|
|
69
|
+
@apply font-extralight;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&--light {
|
|
73
|
+
@apply font-light;
|
|
74
|
+
}
|
|
75
|
+
|
|
60
76
|
&--normal {
|
|
61
77
|
@apply font-normal;
|
|
62
78
|
}
|
|
63
79
|
|
|
80
|
+
&--semibold {
|
|
81
|
+
@apply font-semibold;
|
|
82
|
+
}
|
|
83
|
+
|
|
64
84
|
&--medium {
|
|
65
85
|
@apply font-medium;
|
|
66
86
|
}
|
|
@@ -69,6 +89,14 @@ export default defineComponent({
|
|
|
69
89
|
@apply font-bold;
|
|
70
90
|
}
|
|
71
91
|
|
|
92
|
+
&--extrabold {
|
|
93
|
+
@apply font-extrabold;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&--black {
|
|
97
|
+
@apply font-black;
|
|
98
|
+
}
|
|
99
|
+
|
|
72
100
|
/**
|
|
73
101
|
* Text transform
|
|
74
102
|
* of caption
|
|
@@ -139,9 +139,17 @@ export default defineComponent({
|
|
|
139
139
|
--p-card-color: theme(textColor.default);
|
|
140
140
|
--p-card-color-dark: theme(textColor.dark.default);
|
|
141
141
|
|
|
142
|
-
@apply border bg-[color:var(--p-card-bg)] border-[color:var(--p-card-border)] text-[color:var(--p-card-color)] rounded;
|
|
142
|
+
@apply border bg-[color:var(--p-card-bg)] border-[color:var(--p-card-border)] text-[color:var(--p-card-color)] rounded-md;
|
|
143
143
|
@apply dark:bg-[color:var(--p-card-bg-dark)] dark:border-[color:var(--p-card-border-dark)] dark:text-[color:var(--p-card-color-dark)];
|
|
144
144
|
|
|
145
|
+
/**
|
|
146
|
+
* Card inside card
|
|
147
|
+
* has 8px rounded
|
|
148
|
+
*/
|
|
149
|
+
.card {
|
|
150
|
+
@apply rounded;
|
|
151
|
+
}
|
|
152
|
+
|
|
145
153
|
/*
|
|
146
154
|
* Card Body & Card Header
|
|
147
155
|
* by default have 24px (1.5rem) padding
|
|
@@ -4,15 +4,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
4
4
|
default: undefined;
|
|
5
5
|
};
|
|
6
6
|
modelValue: {
|
|
7
|
-
type: (NumberConstructor | StringConstructor |
|
|
7
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
value: {
|
|
11
|
-
type: (NumberConstructor | StringConstructor |
|
|
11
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
uncheckedValue: {
|
|
15
|
-
type: (NumberConstructor | StringConstructor |
|
|
15
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
checked: {
|
|
@@ -41,15 +41,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
41
41
|
default: undefined;
|
|
42
42
|
};
|
|
43
43
|
modelValue: {
|
|
44
|
-
type: (NumberConstructor | StringConstructor |
|
|
44
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
47
|
value: {
|
|
48
|
-
type: (NumberConstructor | StringConstructor |
|
|
48
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
51
|
uncheckedValue: {
|
|
52
|
-
type: (NumberConstructor | StringConstructor |
|
|
52
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
55
|
checked: {
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
36
36
|
close: (event: Event) => void;
|
|
37
37
|
onEnter: (target: HTMLDivElement) => void;
|
|
38
38
|
onLeave: (target: HTMLDivElement) => void;
|
|
39
|
-
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("
|
|
39
|
+
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("show" | "close" | "update:modelValue" | "hide")[], "show" | "close" | "update:modelValue" | "hide", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
40
40
|
variant: {
|
|
41
41
|
type: PropType<StyleVariant>;
|
|
42
42
|
default: string;
|
|
@@ -67,8 +67,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
67
67
|
};
|
|
68
68
|
}>> & {
|
|
69
69
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
variant: StyleVariant;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
40
40
|
default: number;
|
|
41
41
|
};
|
|
42
42
|
imgClass: {
|
|
43
|
-
type: (StringConstructor |
|
|
43
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
44
44
|
default: undefined;
|
|
45
45
|
};
|
|
46
46
|
rounded: {
|
|
@@ -112,7 +112,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
112
112
|
default: number;
|
|
113
113
|
};
|
|
114
114
|
imgClass: {
|
|
115
|
-
type: (StringConstructor |
|
|
115
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
116
116
|
default: undefined;
|
|
117
117
|
};
|
|
118
118
|
rounded: {
|
|
@@ -284,6 +284,7 @@ export default defineComponent({
|
|
|
284
284
|
<style lang="postcss">
|
|
285
285
|
.dropdown {
|
|
286
286
|
--p-dropdown-z-index: theme(zIndex.dropdown);
|
|
287
|
+
--p-dropdown-size-xl: 36rem; /* 576px */
|
|
287
288
|
--p-dropdown-size-lg: 30rem; /* 480px */
|
|
288
289
|
--p-dropdown-size-md: 20rem; /* 320px */
|
|
289
290
|
--p-dropdown-size-sm: 15rem; /* 240px */
|
|
@@ -309,6 +310,10 @@ export default defineComponent({
|
|
|
309
310
|
}
|
|
310
311
|
}
|
|
311
312
|
|
|
313
|
+
&--xl {
|
|
314
|
+
@apply w-[var(--p-dropdown-size-xl)];
|
|
315
|
+
}
|
|
316
|
+
|
|
312
317
|
&--lg {
|
|
313
318
|
@apply w-[var(--p-dropdown-size-lg)];
|
|
314
319
|
}
|
|
@@ -48,11 +48,11 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
50
|
menuClass: {
|
|
51
|
-
type: (StringConstructor |
|
|
51
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
54
|
buttonClass: {
|
|
55
|
-
type: (StringConstructor |
|
|
55
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
56
56
|
default: undefined;
|
|
57
57
|
};
|
|
58
58
|
menuSize: {
|
|
@@ -113,11 +113,11 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
menuClass: {
|
|
116
|
-
type: (StringConstructor |
|
|
116
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
117
117
|
default: undefined;
|
|
118
118
|
};
|
|
119
119
|
buttonClass: {
|
|
120
|
-
type: (StringConstructor |
|
|
120
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
121
121
|
default: undefined;
|
|
122
122
|
};
|
|
123
123
|
menuSize: {
|
|
@@ -130,12 +130,12 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
130
130
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
variant: StyleVariant;
|
|
133
|
-
size: SizeVariant;
|
|
134
|
-
color: ColorVariant;
|
|
135
133
|
icon: boolean;
|
|
134
|
+
size: SizeVariant;
|
|
136
135
|
divider: boolean;
|
|
137
136
|
text: string;
|
|
138
137
|
pill: boolean;
|
|
138
|
+
color: ColorVariant;
|
|
139
139
|
modelValue: boolean;
|
|
140
140
|
disabled: boolean;
|
|
141
141
|
placement: Placement;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
11
11
|
default: () => never[];
|
|
12
12
|
};
|
|
13
13
|
modelValue: {
|
|
14
|
-
type: (NumberConstructor | StringConstructor |
|
|
14
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
15
15
|
default: undefined;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
default: () => never[];
|
|
31
31
|
};
|
|
32
32
|
modelValue: {
|
|
33
|
-
type: (NumberConstructor | StringConstructor |
|
|
33
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
34
34
|
default: undefined;
|
|
35
35
|
};
|
|
36
36
|
}>> & {
|
|
@@ -6,15 +6,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
modelValue: {
|
|
9
|
-
type: (NumberConstructor | StringConstructor |
|
|
9
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
12
|
value: {
|
|
13
|
-
type: (NumberConstructor | StringConstructor |
|
|
13
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
uncheckedValue: {
|
|
17
|
-
type: (NumberConstructor | StringConstructor |
|
|
17
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
20
|
checked: {
|
|
@@ -30,15 +30,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
modelValue: {
|
|
33
|
-
type: (NumberConstructor | StringConstructor |
|
|
33
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
value: {
|
|
37
|
-
type: (NumberConstructor | StringConstructor |
|
|
37
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
uncheckedValue: {
|
|
41
|
-
type: (NumberConstructor | StringConstructor |
|
|
41
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor)[];
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
checked: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<component
|
|
3
3
|
:is="elementNames"
|
|
4
4
|
data-testid="heading"
|
|
5
|
+
class="heading"
|
|
5
6
|
:class="classNames">
|
|
6
7
|
<slot />
|
|
7
8
|
</component>
|
|
@@ -73,16 +74,31 @@ export default defineComponent({
|
|
|
73
74
|
* Weight variant
|
|
74
75
|
* of heading
|
|
75
76
|
*/
|
|
76
|
-
|
|
77
|
-
:where(&--normal, &--medium, &--bold) {
|
|
77
|
+
&:not([class^='text-'], [class*='text-']) {
|
|
78
78
|
@apply text-default;
|
|
79
79
|
@apply dark:text-dark-default;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
&--thin {
|
|
83
|
+
@apply font-thin;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&--extralight {
|
|
87
|
+
@apply font-extralight;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&--light {
|
|
91
|
+
@apply font-light;
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
&--normal {
|
|
83
95
|
@apply font-normal;
|
|
84
96
|
}
|
|
85
97
|
|
|
98
|
+
&--semibold {
|
|
99
|
+
@apply font-semibold;
|
|
100
|
+
}
|
|
101
|
+
|
|
86
102
|
&--medium {
|
|
87
103
|
@apply font-medium;
|
|
88
104
|
}
|
|
@@ -91,6 +107,14 @@ export default defineComponent({
|
|
|
91
107
|
@apply font-bold;
|
|
92
108
|
}
|
|
93
109
|
|
|
110
|
+
&--extrabold {
|
|
111
|
+
@apply font-extrabold;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&--black {
|
|
115
|
+
@apply font-black;
|
|
116
|
+
}
|
|
117
|
+
|
|
94
118
|
/**
|
|
95
119
|
* Text transform
|
|
96
120
|
* of heading
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type ElementVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
2
|
-
export type WeightVariant = 'normal' | 'medium' | 'bold';
|
|
2
|
+
export type WeightVariant = 'thin' | 'extralight' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
3
3
|
export type TransformVariant = 'normalcase' | 'lowercase' | 'capitalize' | 'uppercase';
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
containerClass: {
|
|
30
|
-
type: (StringConstructor |
|
|
30
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
33
|
accept: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
65
65
|
default: boolean;
|
|
66
66
|
};
|
|
67
67
|
containerClass: {
|
|
68
|
-
type: (StringConstructor |
|
|
68
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
69
69
|
default: undefined;
|
|
70
70
|
};
|
|
71
71
|
accept: {
|
|
@@ -72,8 +72,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
72
72
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
error: boolean;
|
|
76
75
|
length: string | number;
|
|
76
|
+
error: boolean;
|
|
77
77
|
size: SizeVariant;
|
|
78
78
|
modelValue: string;
|
|
79
79
|
disabled: boolean;
|
|
@@ -43,8 +43,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
43
43
|
onDismissed?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
variant: StyleVariant;
|
|
46
|
+
dismissable: boolean;
|
|
46
47
|
size: SizeVariant;
|
|
47
48
|
color: ColorVariant;
|
|
48
|
-
dismissable: boolean;
|
|
49
49
|
}, {}>;
|
|
50
50
|
export default _default;
|
|
@@ -76,7 +76,7 @@ export default defineComponent({
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
a& {
|
|
79
|
-
@apply cursor-pointer text-default hover:bg-default-alpha;
|
|
79
|
+
@apply no-underline hover:no-underline cursor-pointer text-default hover:bg-default-alpha;
|
|
80
80
|
@apply dark:text-dark-default dark:hover:bg-dark-default-alpha;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -5,56 +5,59 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<style lang="postcss">
|
|
8
|
-
|
|
8
|
+
.main {
|
|
9
9
|
--p-spacer: 1rem;
|
|
10
|
-
}
|
|
11
10
|
|
|
12
|
-
/**
|
|
13
|
-
* Heading
|
|
14
|
-
*/
|
|
15
|
-
h1, h2, h3, h4, h5, h6 {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Heading
|
|
13
|
+
*/
|
|
14
|
+
h1, h2, h3, h4, h5, h6 {
|
|
15
|
+
--p-heading-margin-bottom: calc(var(--p-spacer) * .5);
|
|
16
|
+
@apply mb-[var(--p-heading-margin-bottom)];
|
|
17
|
+
}
|
|
19
18
|
|
|
20
|
-
/**
|
|
21
|
-
* Permalink
|
|
22
|
-
*/
|
|
23
|
-
a {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Permalink
|
|
21
|
+
*/
|
|
22
|
+
a {
|
|
23
|
+
&:not(.navbar__brand, .sidebar__brand, .dropdown__item, .list-group__item, .btn, .nav__link, .breadcrumbs__item__link) {
|
|
24
|
+
--p-color-link-hover: darken(theme(textColor.link), 5%);
|
|
25
|
+
--p-color-dark-link-hover: darken(theme(textColor.link), 5%);
|
|
26
|
+
@apply underline text-link hover:text-[color:var(--p-color-link-hover)];
|
|
27
|
+
@apply dark:text-dark-link hover:dark:text-[color:var(--p-color-dark-link-hover)];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
29
30
|
|
|
30
|
-
/**
|
|
31
|
-
* Paragraph
|
|
32
|
-
*/
|
|
33
|
-
p {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
31
|
+
/**
|
|
32
|
+
* Paragraph
|
|
33
|
+
*/
|
|
34
|
+
p {
|
|
35
|
+
--p-paragraph-margin-bottom: var(--p-spacer);
|
|
36
|
+
@apply mt-0 mb-[var(--p-paragraph-margin-bottom)] text-base text-default;
|
|
37
|
+
@apply dark:text-dark-default;
|
|
38
|
+
}
|
|
38
39
|
|
|
39
|
-
/**
|
|
40
|
-
* Small
|
|
41
|
-
*/
|
|
42
|
-
small {
|
|
43
|
-
|
|
44
|
-
}
|
|
40
|
+
/**
|
|
41
|
+
* Small
|
|
42
|
+
*/
|
|
43
|
+
small {
|
|
44
|
+
@apply text-tn;
|
|
45
|
+
}
|
|
45
46
|
|
|
46
|
-
/**
|
|
47
|
-
* Strong
|
|
48
|
-
*/
|
|
49
|
-
strong {
|
|
50
|
-
|
|
51
|
-
}
|
|
47
|
+
/**
|
|
48
|
+
* Strong
|
|
49
|
+
*/
|
|
50
|
+
strong {
|
|
51
|
+
@apply font-bold;
|
|
52
|
+
}
|
|
52
53
|
|
|
53
|
-
/**
|
|
54
|
-
* Caption
|
|
55
|
-
*/
|
|
56
|
-
caption {
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Caption
|
|
56
|
+
*/
|
|
57
|
+
caption {
|
|
58
|
+
@apply text-xs text-muted;
|
|
59
|
+
@apply dark:text-dark-muted;
|
|
60
|
+
}
|
|
59
61
|
}
|
|
62
|
+
|
|
60
63
|
</style>
|
|
@@ -91,9 +91,9 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
91
91
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
92
92
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
size: SizeVariant;
|
|
95
94
|
dismissable: boolean;
|
|
96
95
|
banner: boolean;
|
|
96
|
+
size: SizeVariant;
|
|
97
97
|
text: string;
|
|
98
98
|
modelValue: boolean;
|
|
99
99
|
title: string;
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
data-testid="nav"
|
|
4
4
|
:class="classNames">
|
|
5
5
|
<li
|
|
6
|
-
v-if="title"
|
|
7
6
|
class="nav__title">
|
|
8
|
-
<span
|
|
7
|
+
<span
|
|
8
|
+
class="nav__title__item"
|
|
9
|
+
:class="[ (!title && titleActionLabel) ? 'justify-end' : 'justify-between' ]">
|
|
9
10
|
<Caption
|
|
11
|
+
v-if="title"
|
|
10
12
|
weight="bold"
|
|
11
13
|
transform="capitalize">
|
|
12
14
|
{{ title }}
|
|
@@ -84,7 +86,7 @@ export default defineComponent({
|
|
|
84
86
|
result.push(`nav--align-${props.align}`);
|
|
85
87
|
if (props.vertical)
|
|
86
88
|
result.push("nav--vertical");
|
|
87
|
-
if (props.title)
|
|
89
|
+
if (props.title || props.titleActionLabel)
|
|
88
90
|
result.push("nav--has-title");
|
|
89
91
|
if (props.condensed)
|
|
90
92
|
result.push("nav--condensed");
|
|
@@ -385,7 +387,7 @@ export default defineComponent({
|
|
|
385
387
|
@apply absolute left-5 top-0 text-base w-[calc(100%-1.75rem)]; /* 1.25rem + 0.75rem (padding) */
|
|
386
388
|
|
|
387
389
|
&__item {
|
|
388
|
-
@apply flex items-center w-full
|
|
390
|
+
@apply flex items-center w-full space-x-2;
|
|
389
391
|
}
|
|
390
392
|
|
|
391
393
|
.caption {
|
|
@@ -118,7 +118,7 @@ export default defineComponent({
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
&__link {
|
|
121
|
-
@apply block relative py-[10px] px-3 -mb-[1px] border border-transparent rounded-t text-base font-normal cursor-pointer hover:no-underline text-subtle hover:text-default;
|
|
121
|
+
@apply block relative py-[10px] px-3 -mb-[1px] border border-transparent rounded-t text-base font-normal cursor-pointer no-underline hover:no-underline text-subtle hover:text-default;
|
|
122
122
|
@apply dark:text-dark-subtle hover:dark:text-dark-default;
|
|
123
123
|
|
|
124
124
|
&&--active {
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
linkClass: {
|
|
21
|
-
type: (StringConstructor |
|
|
21
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
24
|
exact: {
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
47
47
|
default: string;
|
|
48
48
|
};
|
|
49
49
|
linkClass: {
|
|
50
|
-
type: (StringConstructor |
|
|
50
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
51
51
|
default: undefined;
|
|
52
52
|
};
|
|
53
53
|
exact: {
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
menuClass: {
|
|
35
|
-
type: (StringConstructor |
|
|
35
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
36
36
|
default: undefined;
|
|
37
37
|
};
|
|
38
38
|
menuSize: {
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
menuClass: {
|
|
78
|
-
type: (StringConstructor |
|
|
78
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
79
79
|
default: undefined;
|
|
80
80
|
};
|
|
81
81
|
menuSize: {
|
|
@@ -90,8 +90,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
90
90
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
variant: StyleVariant;
|
|
93
|
-
size: SizeVariant;
|
|
94
93
|
icon: boolean;
|
|
94
|
+
size: SizeVariant;
|
|
95
95
|
divider: boolean;
|
|
96
96
|
text: string;
|
|
97
97
|
modelValue: boolean;
|