fds-vue-core 2.0.58 → 2.0.63
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/apply.css +60 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Bold.woff +0 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Light.woff +0 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Regular.woff +0 -0
- package/dist/assets/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/dist/assets/assets/fonts/Raleway-ExtraBold.woff +0 -0
- package/dist/assets/assets/fonts/Raleway-ExtraBold.woff2 +0 -0
- package/dist/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue.d.ts.map +1 -1
- package/dist/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue.d.ts.map +1 -1
- package/dist/components/Blocks/FdsBlockLink/FdsBlockLink.vue.d.ts +1 -1
- package/dist/components/Buttons/ButtonBaseProps.d.ts +2 -0
- package/dist/components/Buttons/ButtonBaseProps.d.ts.map +1 -1
- package/dist/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue.d.ts +2 -0
- package/dist/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue.d.ts.map +1 -1
- package/dist/components/Form/FdsSelect/FdsSelect.vue.d.ts.map +1 -1
- package/dist/components/Form/FdsTextarea/FdsTextarea.vue.d.ts.map +1 -1
- package/dist/fds-vue-core.cjs.js +63 -42
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +63 -42
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/fonts.css +28 -0
- package/dist/slot-styles.css +1 -1
- package/package.json +4 -2
package/dist/apply.css
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import './tokens.css';
|
|
2
|
+
|
|
3
|
+
/** Create stencil components for this */
|
|
4
|
+
@layer components {
|
|
5
|
+
h1,
|
|
6
|
+
.h1 {
|
|
7
|
+
@apply font-heading text-2xl sm:text-4xl lg:text-6xl/tight font-extrabold mb-3 mt-0;
|
|
8
|
+
}
|
|
9
|
+
h2,
|
|
10
|
+
.h2 {
|
|
11
|
+
@apply font-heading text-xl sm:text-3xl font-extrabold mt-4 mb-4;
|
|
12
|
+
}
|
|
13
|
+
.h2--small {
|
|
14
|
+
@apply font-heading text-xl font-extrabold mt-4 mb-4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
h3,
|
|
18
|
+
.h3 {
|
|
19
|
+
@apply font-heading text-xl font-extrabold mt-4 mb-4;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.h3--small {
|
|
23
|
+
@apply font-heading text-lg font-extrabold mt-4 mb-2;
|
|
24
|
+
}
|
|
25
|
+
h1:focus,
|
|
26
|
+
h2:focus,
|
|
27
|
+
h3:focus {
|
|
28
|
+
@apply focus:outline-0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.label {
|
|
32
|
+
@apply font-bold mb-2! tracking-wide;
|
|
33
|
+
}
|
|
34
|
+
p {
|
|
35
|
+
@apply mb-4;
|
|
36
|
+
}
|
|
37
|
+
li:not(:last-child) {
|
|
38
|
+
@apply mb-2;
|
|
39
|
+
}
|
|
40
|
+
.link,
|
|
41
|
+
.html a {
|
|
42
|
+
@apply text-blue-600 hover:text-blue-700 active:text-blue-800 underline focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.capitalize-first::first-letter {
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@layer utilities {
|
|
51
|
+
/** Override browser background color when autocomplete field */
|
|
52
|
+
input:not(input[type='checkbox'], input[type='radio']),
|
|
53
|
+
textarea {
|
|
54
|
+
box-shadow: 0 0 0 1000px #fff inset !important;
|
|
55
|
+
}
|
|
56
|
+
/** Style active router link in main nav */
|
|
57
|
+
.nav-items .router-link-active {
|
|
58
|
+
@apply bg-blue-100 text-blue-700 font-bold;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsBlockExpander.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"FdsBlockExpander.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAoKpD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuB/C,QAAA,MAAM,eAAe;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsBlockInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue"],"names":[],"mappings":"AAkFA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAyBhD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,MAAM,CAAC,EAAE,IAAI,CAAA;IACb,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"FdsBlockInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue"],"names":[],"mappings":"AAkFA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAyBhD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,MAAM,CAAC,EAAE,IAAI,CAAA;IACb,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAC;AA6LF,QAAA,MAAM,eAAe;;;;4EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const __VLS_component: import("vue").DefineComponent<FdsInteractionBlock
|
|
|
16
16
|
target: string;
|
|
17
17
|
as: "button" | "a" | "router-link";
|
|
18
18
|
href: string;
|
|
19
|
-
arrow: boolean;
|
|
20
19
|
rel: string;
|
|
20
|
+
arrow: boolean;
|
|
21
21
|
interactive: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -11,6 +11,8 @@ export interface FdsButtonBaseProps {
|
|
|
11
11
|
textSelection?: boolean;
|
|
12
12
|
as?: 'button' | 'a' | 'router-link';
|
|
13
13
|
href?: string | undefined;
|
|
14
|
+
target?: string;
|
|
15
|
+
rel?: string;
|
|
14
16
|
type?: 'button' | 'submit' | 'reset';
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=ButtonBaseProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBaseProps.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/ButtonBaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IAChD,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,aAAa,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACrC"}
|
|
1
|
+
{"version":3,"file":"ButtonBaseProps.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/ButtonBaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IAChD,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,aAAa,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACrC"}
|
|
@@ -11,6 +11,7 @@ declare const _default: import("vue").DefineComponent<FdsButtonMinorProps, {}, {
|
|
|
11
11
|
type: "button" | "submit" | "reset";
|
|
12
12
|
icon: import("../../..").FdsIconName | undefined;
|
|
13
13
|
loading: boolean;
|
|
14
|
+
target: string;
|
|
14
15
|
invert: boolean;
|
|
15
16
|
block: boolean;
|
|
16
17
|
state: "hover" | "focus" | "active" | undefined;
|
|
@@ -18,6 +19,7 @@ declare const _default: import("vue").DefineComponent<FdsButtonMinorProps, {}, {
|
|
|
18
19
|
textSelection: boolean;
|
|
19
20
|
as: "button" | "a" | "router-link";
|
|
20
21
|
href: string | undefined;
|
|
22
|
+
rel: string;
|
|
21
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
24
|
export default _default;
|
|
23
25
|
//# sourceMappingURL=FdsButtonMinor.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsButtonMinor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue"],"names":[],"mappings":"AAwGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAI5D,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;;;;;;;;;;;YADU,OAAO;;;;;;;;;AAsMlB,wBAIG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AAgFlC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AAgFlC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA4IF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;gBAnQrB,CArHqD;;;;;;4EA4XnD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsTextarea/FdsTextarea.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAuEpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsTextarea/FdsTextarea.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAuEpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;AAgJF,wBAIG"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1229,7 +1229,7 @@ const _hoisted_6$3 = {
|
|
|
1229
1229
|
};
|
|
1230
1230
|
const _hoisted_7$3 = { class: "flex flex-col gap-2" };
|
|
1231
1231
|
const _hoisted_8$2 = ["onClick"];
|
|
1232
|
-
const _hoisted_9$
|
|
1232
|
+
const _hoisted_9$2 = { key: 0 };
|
|
1233
1233
|
const popoverWidth = 327;
|
|
1234
1234
|
const popoverHeight = 80;
|
|
1235
1235
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -1547,7 +1547,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
1547
1547
|
])) : vue.createCommentVNode("", true)
|
|
1548
1548
|
])
|
|
1549
1549
|
], 4),
|
|
1550
|
-
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
1550
|
+
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
|
|
1551
1551
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredNodes.value, (child) => {
|
|
1552
1552
|
return vue.openBlock(), vue.createBlock(_component_TreeNode, {
|
|
1553
1553
|
key: child.nodeId,
|
|
@@ -1688,6 +1688,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1688
1688
|
textSelection: { type: Boolean, default: false },
|
|
1689
1689
|
as: { default: "button" },
|
|
1690
1690
|
href: { default: void 0 },
|
|
1691
|
+
target: { default: void 0 },
|
|
1692
|
+
rel: { default: void 0 },
|
|
1691
1693
|
type: { default: "button" }
|
|
1692
1694
|
},
|
|
1693
1695
|
emits: ["click"],
|
|
@@ -1733,6 +1735,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1733
1735
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.as), vue.mergeProps(linkAttrs.value, {
|
|
1734
1736
|
type: _ctx.as === "button" ? _ctx.type : void 0,
|
|
1735
1737
|
disabled: _ctx.as === "button" ? _ctx.disabled : void 0,
|
|
1738
|
+
target: _ctx.as === "a" ? _ctx.target : void 0,
|
|
1739
|
+
rel: _ctx.as === "a" ? _ctx.rel : void 0,
|
|
1736
1740
|
class: buttonClasses.value,
|
|
1737
1741
|
onClick
|
|
1738
1742
|
}), {
|
|
@@ -1756,7 +1760,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1756
1760
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text), 1)
|
|
1757
1761
|
]),
|
|
1758
1762
|
_: 1
|
|
1759
|
-
}, 16, ["type", "disabled", "class"]))
|
|
1763
|
+
}, 16, ["type", "disabled", "target", "rel", "class"]))
|
|
1760
1764
|
], 10, _hoisted_1$k);
|
|
1761
1765
|
};
|
|
1762
1766
|
}
|
|
@@ -2173,6 +2177,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
2173
2177
|
textSelection: { type: Boolean, default: false },
|
|
2174
2178
|
as: { default: "button" },
|
|
2175
2179
|
href: { default: void 0 },
|
|
2180
|
+
target: {},
|
|
2181
|
+
rel: {},
|
|
2176
2182
|
type: { default: "button" }
|
|
2177
2183
|
},
|
|
2178
2184
|
emits: ["click"],
|
|
@@ -2266,6 +2272,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
2266
2272
|
textSelection: { type: Boolean, default: false },
|
|
2267
2273
|
as: { default: "button" },
|
|
2268
2274
|
href: { default: void 0 },
|
|
2275
|
+
target: {},
|
|
2276
|
+
rel: {},
|
|
2269
2277
|
type: { default: "button" }
|
|
2270
2278
|
},
|
|
2271
2279
|
emits: ["click"],
|
|
@@ -2438,6 +2446,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2438
2446
|
size: {},
|
|
2439
2447
|
textSelection: { type: Boolean },
|
|
2440
2448
|
href: { default: void 0 },
|
|
2449
|
+
target: {},
|
|
2450
|
+
rel: {},
|
|
2441
2451
|
type: {},
|
|
2442
2452
|
downloadOptions: { default: void 0 }
|
|
2443
2453
|
},
|
|
@@ -2573,7 +2583,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2573
2583
|
};
|
|
2574
2584
|
}
|
|
2575
2585
|
});
|
|
2576
|
-
const _hoisted_1$c = { class: "w-full" };
|
|
2586
|
+
const _hoisted_1$c = { class: "w-full mb-4" };
|
|
2577
2587
|
const _hoisted_2$9 = ["for"];
|
|
2578
2588
|
const _hoisted_3$6 = {
|
|
2579
2589
|
key: 1,
|
|
@@ -2680,21 +2690,22 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2680
2690
|
};
|
|
2681
2691
|
}
|
|
2682
2692
|
});
|
|
2683
|
-
const _hoisted_1$b =
|
|
2684
|
-
const _hoisted_2$8 =
|
|
2693
|
+
const _hoisted_1$b = { class: "w-full mb-4" };
|
|
2694
|
+
const _hoisted_2$8 = ["for"];
|
|
2695
|
+
const _hoisted_3$5 = {
|
|
2685
2696
|
key: 1,
|
|
2686
2697
|
class: "font-thin mb-1"
|
|
2687
2698
|
};
|
|
2688
|
-
const
|
|
2689
|
-
const
|
|
2690
|
-
const
|
|
2699
|
+
const _hoisted_4$5 = { class: "relative" };
|
|
2700
|
+
const _hoisted_5$3 = ["id", "name", "disabled", "aria-invalid"];
|
|
2701
|
+
const _hoisted_6$1 = {
|
|
2691
2702
|
key: 0,
|
|
2692
2703
|
value: "",
|
|
2693
2704
|
disabled: ""
|
|
2694
2705
|
};
|
|
2695
|
-
const
|
|
2696
|
-
const
|
|
2697
|
-
const
|
|
2706
|
+
const _hoisted_7$1 = ["value", "disabled"];
|
|
2707
|
+
const _hoisted_8$1 = { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" };
|
|
2708
|
+
const _hoisted_9$1 = {
|
|
2698
2709
|
key: 2,
|
|
2699
2710
|
class: "text-red-600 font-bold mt-1"
|
|
2700
2711
|
};
|
|
@@ -2750,14 +2761,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2750
2761
|
emit("input", ev);
|
|
2751
2762
|
}
|
|
2752
2763
|
return (_ctx, _cache) => {
|
|
2753
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
2764
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
2754
2765
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
2755
2766
|
key: 0,
|
|
2756
2767
|
for: selectId.value,
|
|
2757
2768
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2758
|
-
}, vue.toDisplayString(_ctx.label), 11,
|
|
2759
|
-
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div",
|
|
2760
|
-
vue.createElementVNode("div",
|
|
2769
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$8)) : vue.createCommentVNode("", true),
|
|
2770
|
+
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2771
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
2761
2772
|
vue.withDirectives(vue.createElementVNode("select", vue.mergeProps({
|
|
2762
2773
|
id: selectId.value,
|
|
2763
2774
|
name: _ctx.name || void 0,
|
|
@@ -2769,18 +2780,18 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2769
2780
|
onChange: handleChange,
|
|
2770
2781
|
onInput: _cache[1] || (_cache[1] = (e) => emit("input", e))
|
|
2771
2782
|
}), [
|
|
2772
|
-
_ctx.placeholder && !hasDefaultSlot.value ? (vue.openBlock(), vue.createElementBlock("option",
|
|
2783
|
+
_ctx.placeholder && !hasDefaultSlot.value ? (vue.openBlock(), vue.createElementBlock("option", _hoisted_6$1, vue.toDisplayString(_ctx.placeholder), 1)) : vue.createCommentVNode("", true),
|
|
2773
2784
|
!hasDefaultSlot.value && _ctx.options ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(_ctx.options, (option) => {
|
|
2774
2785
|
return vue.openBlock(), vue.createElementBlock("option", {
|
|
2775
2786
|
key: option.value,
|
|
2776
2787
|
value: option.value,
|
|
2777
2788
|
disabled: option.disabled
|
|
2778
|
-
}, vue.toDisplayString(option.label), 9,
|
|
2789
|
+
}, vue.toDisplayString(option.label), 9, _hoisted_7$1);
|
|
2779
2790
|
}), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 2 })
|
|
2780
|
-
], 16,
|
|
2791
|
+
], 16, _hoisted_5$3), [
|
|
2781
2792
|
[vue.vModelSelect, internalValue.value]
|
|
2782
2793
|
]),
|
|
2783
|
-
vue.createElementVNode("div",
|
|
2794
|
+
vue.createElementVNode("div", _hoisted_8$1, [
|
|
2784
2795
|
vue.createVNode(_sfc_main$u, {
|
|
2785
2796
|
name: "arrowDown",
|
|
2786
2797
|
size: 24,
|
|
@@ -2792,7 +2803,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2792
2803
|
}, null, 8, ["class"])
|
|
2793
2804
|
])
|
|
2794
2805
|
]),
|
|
2795
|
-
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
2806
|
+
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, vue.toDisplayString(_ctx.invalidMessage), 1)) : vue.createCommentVNode("", true)
|
|
2796
2807
|
]);
|
|
2797
2808
|
};
|
|
2798
2809
|
}
|
|
@@ -2875,16 +2886,23 @@ const _hoisted_2$6 = {
|
|
|
2875
2886
|
class: "flex items-start gap-4"
|
|
2876
2887
|
};
|
|
2877
2888
|
const _hoisted_3$3 = { class: "flex-1" };
|
|
2878
|
-
const _hoisted_4$3 = {
|
|
2889
|
+
const _hoisted_4$3 = {
|
|
2890
|
+
key: 0,
|
|
2891
|
+
class: "mb-1"
|
|
2892
|
+
};
|
|
2879
2893
|
const _hoisted_5$1 = { class: "flex items-start justify-between gap-4" };
|
|
2880
2894
|
const _hoisted_6 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
2881
2895
|
const _hoisted_7 = { class: "flex items-start gap-3" };
|
|
2882
|
-
const _hoisted_8 = {
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
const
|
|
2887
|
-
const
|
|
2896
|
+
const _hoisted_8 = {
|
|
2897
|
+
key: 1,
|
|
2898
|
+
class: "mb-0-last-child"
|
|
2899
|
+
};
|
|
2900
|
+
const _hoisted_9 = { key: 1 };
|
|
2901
|
+
const _hoisted_10 = { class: "flex items-start justify-between gap-4" };
|
|
2902
|
+
const _hoisted_11 = { class: "flex items-center gap-3" };
|
|
2903
|
+
const _hoisted_12 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
2904
|
+
const _hoisted_13 = { class: "flex items-start gap-3" };
|
|
2905
|
+
const _hoisted_14 = { class: "mb-0-last-child" };
|
|
2888
2906
|
const smallIconSize = 24;
|
|
2889
2907
|
const largeIconSize = 48;
|
|
2890
2908
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2919,36 +2937,39 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2919
2937
|
class: "fill-blue-500"
|
|
2920
2938
|
}, null, 8, ["name"]),
|
|
2921
2939
|
vue.createElementVNode("div", _hoisted_3$3, [
|
|
2922
|
-
vue.
|
|
2940
|
+
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
|
|
2923
2941
|
vue.createElementVNode("header", _hoisted_5$1, [
|
|
2924
2942
|
vue.createElementVNode("h3", _hoisted_6, vue.toDisplayString(_ctx.heading), 1),
|
|
2925
2943
|
vue.createElementVNode("div", _hoisted_7, [
|
|
2926
2944
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
2927
2945
|
])
|
|
2928
2946
|
])
|
|
2929
|
-
]),
|
|
2930
|
-
vue.unref(hasSlot) ? vue.
|
|
2947
|
+
])) : vue.createCommentVNode("", true),
|
|
2948
|
+
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
2949
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
2950
|
+
])) : vue.createCommentVNode("", true)
|
|
2931
2951
|
])
|
|
2932
|
-
])) : (vue.openBlock(), vue.createElementBlock("div",
|
|
2933
|
-
vue.
|
|
2952
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
2953
|
+
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
2954
|
+
key: 0,
|
|
2934
2955
|
class: vue.normalizeClass({ "mb-4": vue.unref(hasSlot) })
|
|
2935
2956
|
}, [
|
|
2936
|
-
vue.createElementVNode("header",
|
|
2937
|
-
vue.createElementVNode("div",
|
|
2957
|
+
vue.createElementVNode("header", _hoisted_10, [
|
|
2958
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
2938
2959
|
_ctx.icon && _ctx.size === "small" ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
2939
2960
|
key: 0,
|
|
2940
2961
|
name: _ctx.icon,
|
|
2941
2962
|
size: smallIconSize,
|
|
2942
2963
|
class: "fill-blue-500"
|
|
2943
2964
|
}, null, 8, ["name"])) : vue.createCommentVNode("", true),
|
|
2944
|
-
vue.createElementVNode("h3",
|
|
2965
|
+
vue.createElementVNode("h3", _hoisted_12, vue.toDisplayString(_ctx.heading), 1)
|
|
2945
2966
|
]),
|
|
2946
|
-
vue.createElementVNode("div",
|
|
2967
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
2947
2968
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
2948
2969
|
])
|
|
2949
2970
|
])
|
|
2950
|
-
], 2),
|
|
2951
|
-
vue.createElementVNode("div",
|
|
2971
|
+
], 2)) : vue.createCommentVNode("", true),
|
|
2972
|
+
vue.createElementVNode("div", _hoisted_14, [
|
|
2952
2973
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2953
2974
|
])
|
|
2954
2975
|
]))
|
|
@@ -3089,7 +3110,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3089
3110
|
props.disabled && "shadow-none border-2 border-gray-200 border-dashed"
|
|
3090
3111
|
]);
|
|
3091
3112
|
const headerClasses = vue.computed(() => [
|
|
3092
|
-
"flex w-full
|
|
3113
|
+
"flex w-full items-start text-left justify-between bg-white text-blue-600 rounded-2xl p-4 border-2 border-white transition-colors border-2 border-white hover:border-blue-500 active:bg-blue_t-100 active:border-white focus-visible:border-blue-500 focus-visible:border-dashed focus-visible:outline-0",
|
|
3093
3114
|
props.disabled ? "cursor-not-allowed hover:border-2 hover:border-transparent active:bg-white" : "cursor-pointer",
|
|
3094
3115
|
isOpen.value ? "rounded-b-none" : "rounded-b-2xl"
|
|
3095
3116
|
]);
|
|
@@ -3124,7 +3145,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3124
3145
|
vue.createVNode(_sfc_main$u, {
|
|
3125
3146
|
name: "arrowDown",
|
|
3126
3147
|
size: 24,
|
|
3127
|
-
class: vue.normalizeClass(["ml-4 transition-transform duration-200 fill-blue-500", { "rotate-180": isOpen.value, "fill-gray-500": _ctx.disabled }])
|
|
3148
|
+
class: vue.normalizeClass(["ml-4 transition-transform duration-200 fill-blue-500 min-w-6 min-h-6", { "rotate-180": isOpen.value, "fill-gray-500": _ctx.disabled }])
|
|
3128
3149
|
}, null, 8, ["class"])
|
|
3129
3150
|
], 2),
|
|
3130
3151
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
@@ -3368,7 +3389,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3368
3389
|
el.classList.remove("cursor-not-allowed", "pointer-events-none", "opacity-35", "select-none");
|
|
3369
3390
|
}
|
|
3370
3391
|
const blockClasses = block ? "flex flex-1 w-full" : "w-full";
|
|
3371
|
-
const baseClass = currentVariant === "primary" ? `${blockClasses}
|
|
3392
|
+
const baseClass = currentVariant === "primary" ? `${blockClasses} flex justify-center w-full cursor-pointer bg-transparent py-2 px-4 rounded-lg font-bold text-base leading-6 m-0 border-2 border-transparent select-none no-underline whitespace-nowrap text-inherit` : `${blockClasses} flex justify-center w-full cursor-pointer text-blue-700 py-1 px-2 rounded font-bold text-base leading-6 m-0 select-none no-underline whitespace-nowrap tracking-[0.002em] rounded-md border-none text-blue-700`;
|
|
3372
3393
|
const hoverClass = currentVariant === "primary" ? "hover:bg-white/59 hover:outline-none" : "hover:bg-blue_t-100";
|
|
3373
3394
|
const focusClass = currentVariant === "primary" ? "focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500 focus-visible:outline-offset-[-2px]" : "focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500";
|
|
3374
3395
|
const activeClass = currentVariant === "primary" ? "active:border-transparent active:bg-white/80" : "active:bg-blue_t-200";
|