fds-vue-core 4.0.0 → 4.0.2
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/fds-vue-core.cjs.js +4 -4
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +4 -4
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue +1 -1
- package/src/components/FdsSearchSelect/FdsSearchSelect.stories.ts +5 -4
- package/src/components/Form/FdsInput/FdsInput.vue +1 -1
- package/src/components/Form/FdsSelect/FdsSelect.vue +1 -1
- package/src/components/Form/FdsTextarea/FdsTextarea.vue +1 -1
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1352,7 +1352,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1352
1352
|
const props = __props;
|
|
1353
1353
|
const emit = __emit;
|
|
1354
1354
|
const { disabled, href, target, rel, attrs } = useAttrsWithDefaults(props);
|
|
1355
|
-
const rootClasses = vue.computed(() => ["
|
|
1355
|
+
const rootClasses = vue.computed(() => ["flex transition-opacity duration-200", props.block && "block w-full"]);
|
|
1356
1356
|
const externalClass = vue.computed(() => attrs.class);
|
|
1357
1357
|
const variantClasses2 = vue.computed(
|
|
1358
1358
|
() => props.invert ? "border-0 font-normal text-white bg-transparent focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white hover:bg-white-100 active:bg-white-200" : "border-0 font-normal text-blue-600 bg-transparent focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500 hover:bg-blue_t-100 active:bg-blue_t-200"
|
|
@@ -8737,7 +8737,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
8737
8737
|
maxlength.value ? "" : "w-full",
|
|
8738
8738
|
inputPaddingRight.value,
|
|
8739
8739
|
"focus:outline-2 focus:outline-blue-500 -outline-offset-2 focus:border-transparent",
|
|
8740
|
-
props.disabled ? "text-gray-
|
|
8740
|
+
props.disabled ? "text-gray-800 outline-dashed outline-2 outline-gray-400 cursor-not-allowed border-transparent" : "bg-white",
|
|
8741
8741
|
isInvalid.value && "outline-2 outline-red-600",
|
|
8742
8742
|
props.inputClass
|
|
8743
8743
|
]);
|
|
@@ -11133,7 +11133,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
11133
11133
|
"block w-full rounded-md border border-gray-500 px-3 py-2 pr-10 h-12",
|
|
11134
11134
|
"focus:outline-2 focus:outline-blue-500 focus:border-transparent",
|
|
11135
11135
|
"appearance-none",
|
|
11136
|
-
disabled.value ? "outline-dashed text-gray-
|
|
11136
|
+
disabled.value ? "outline-dashed text-gray-800 outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent" : "bg-white cursor-pointer",
|
|
11137
11137
|
isInvalid.value && !disabled.value && "outline-2 -outline-offset-2 outline-red-600 text-red-600",
|
|
11138
11138
|
props.inputClass
|
|
11139
11139
|
]);
|
|
@@ -11268,7 +11268,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
11268
11268
|
const inputClasses = vue.computed(() => [
|
|
11269
11269
|
"block w-full rounded-md border border-gray-500 px-3 py-2",
|
|
11270
11270
|
"focus:outline-2 focus:outline-blue-500 focus:border-transparent",
|
|
11271
|
-
disabled.value ? "text-gray-
|
|
11271
|
+
disabled.value ? "text-gray-800 outline-dashed outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent bg-gray-50" : "bg-white",
|
|
11272
11272
|
isInvalid.value && "outline-2 -outline-offset-2 outline-red-600",
|
|
11273
11273
|
props.inputClass
|
|
11274
11274
|
]);
|