@central-design-system/components 4.0.0-alpha.6 → 4.0.0-alpha.9
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/CHANGELOG.md +2 -0
- package/MIGRATION.md +27 -0
- package/dist/browser/entry.js +629 -625
- package/dist/cds.d.ts +8 -0
- package/dist/cjs/entry.js +9 -9
- package/dist/es/entry.js +1 -1
- package/dist/es/src/cds.js +5 -5
- package/dist/es/src/components/CdsApp/CdsApp.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsApp/api/CdsApp.props.js +1 -1
- package/dist/es/src/components/CdsAvatar/CdsAvatar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsAvatar/api/CdsAvatar.props.js +1 -1
- package/dist/es/src/components/CdsBadge/CdsBadge.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsBadge/api/CdsBadge.props.js +1 -1
- package/dist/es/src/components/CdsButton/CdsButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsButton/api/CdsButton.props.js +1 -1
- package/dist/es/src/components/CdsButtonGroup/CdsButtonGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsButtonGroup/api/CdsButtonGroup.props.js +1 -1
- package/dist/es/src/components/CdsCard/CdsCard.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsCard/CdsCardGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsCard/api/CdsCard.props.js +1 -1
- package/dist/es/src/components/CdsDatePicker/CdsDatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsDatePicker/api/CdsDatePicker.props.js +1 -1
- package/dist/es/src/components/CdsDivider/CdsDivider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsDrawer/CdsDrawer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/src/components/CdsDrawer/api/CdsDrawer.props.js +1 -1
- package/dist/es/src/components/CdsEmptyState/CdsEmptyState.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/src/components/CdsEmptyState/api/CdsEmptyState.props.js +1 -1
- package/dist/es/src/components/CdsExpandablePanel/CdsExpandablePanels.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsExpandablePanel/api/CdsExpandablePanel.props.js +1 -1
- package/dist/es/src/components/CdsField/CdsField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsField/api/CdsField.props.js +1 -1
- package/dist/es/src/components/CdsFooter/CdsFooter.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/src/components/CdsFooter/api/CdsFooter.props.js +1 -1
- package/dist/es/src/components/CdsFunctionalButton/api/CdsFunctionalButton.props.js +1 -1
- package/dist/es/src/components/CdsGrid/CdsCol.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsHeader/CdsHeader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsHeader/api/CdsHeader.props.js +1 -1
- package/dist/es/src/components/CdsIcon/CdsIcon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsIcon/api/CdsIcon.props.js +1 -1
- package/dist/es/src/components/CdsImage/CdsImage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsImage/api/CdsImage.props.js +1 -1
- package/dist/es/src/components/CdsInput/CdsInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsInput/api/CdsInput.props.js +1 -1
- package/dist/es/src/components/CdsLayout/CdsLayout.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/src/components/CdsLayout/api/CdsLayout.props.js +1 -1
- package/dist/es/src/components/CdsLink/CdsLink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsLink/api/CdsLink.props.js +1 -1
- package/dist/es/src/components/CdsList/CdsList.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsList/CdsListItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsList/api/CdsList.props.js +1 -1
- package/dist/es/src/components/CdsLoader/CdsLoader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsNotification/CdsNotification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsNotification/api/CdsNotification.props.js +1 -1
- package/dist/es/src/components/CdsOtpInput/CdsOtpInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsOtpInput/api/CdsOtpInput.props.js +1 -1
- package/dist/es/src/components/CdsOverlay/CdsOverlay.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsOverlay/api/CdsOverlay.props.js +1 -1
- package/dist/es/src/components/CdsPage/CdsPage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsPagination/CdsPagination.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/src/components/CdsPagination/api/CdsPagination.props.js +1 -1
- package/dist/es/src/components/CdsProgressBar/CdsProgressBar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsProgressBar/api/CdsProgressBar.props.js +1 -1
- package/dist/es/src/components/CdsProgressCircle/CdsProgressCircle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsProgressCircle/api/CdsProgressCircle.props.js +1 -1
- package/dist/es/src/components/CdsSkeletonLoader/CdsSkeletonLoader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsSkeletonLoader/api/CdsSkeletonLoader.props.js +1 -1
- package/dist/es/src/components/CdsSlideGroup/CdsSlideGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsSlideGroup/api/CdsSlideGroup.props.js +1 -1
- package/dist/es/src/components/CdsSlideView/api/CdsSlideView.props.js +1 -1
- package/dist/es/src/components/CdsStages/CdsStages.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/es/src/components/CdsStages/api/CdsStages.props.js +1 -1
- package/dist/es/src/components/CdsStatus/CdsStatus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsStatus/api/CdsStatus.props.js +1 -1
- package/dist/es/src/components/CdsSteps/api/CdsSteps.props.js +1 -1
- package/dist/es/src/components/CdsSurface/CdsSurface.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsSurface/api/CdsSurface.props.js +1 -1
- package/dist/es/src/components/CdsTable/api/CdsTable.props.js +1 -1
- package/dist/es/src/components/CdsTable/components/TableProvider.js +2 -2
- package/dist/es/src/components/CdsTag/CdsTag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsTagGroup/CdsTagGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsTagGroup/api/CdsTagGroup.props.js +1 -1
- package/dist/es/src/components/CdsTextArea/CdsTextArea.css +3 -0
- package/dist/es/src/components/CdsTextArea/CdsTextArea.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/es/src/components/CdsTimePicker/CdsTimePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsTimePicker/api/CdsTimePicker.props.js +1 -1
- package/dist/es/src/components/CdsToast/CdsToast.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsToolbar/CdsToolbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsToolbar/api/CdsToolbar.props.js +1 -1
- package/dist/es/src/components/CdsTree/CdsTree.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/components/CdsTree/api/CdsTree.props.js +1 -1
- package/dist/es/src/components/CdsUploader/CdsUploader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/src/composables/useHydration/useHydration.js +1 -1
- package/dist/es/src/composables/useLayout/useLayout.js +1 -1
- package/dist/es/src/composables/useLoader/index.js +1 -1
- package/dist/es/src/composables/useLocation/index.js +1 -1
- package/dist/es/src/composables/useReadonly/index.js +1 -1
- package/dist/es/src/composables/useRouter/index.js +1 -1
- package/dist/es/src/composables/useVirtual/useVirtual.js +1 -1
- package/dist/esm-node/entry.mjs +1 -1
- package/dist/esm-node/src/cds.mjs +1 -1
- package/dist/esm-node/src/components/CdsList/CdsList.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/esm-node/src/components/CdsList/CdsListGroup.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/esm-node/src/components/CdsList/CdsListItem.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/esm-node/src/components/CdsList/CdsListSubheader.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/esm-node/src/components/CdsList/api/CdsList.constants.mjs +4 -4
- package/dist/esm-node/src/components/CdsList/api/CdsList.props.mjs +2 -2
- package/dist/esm-node/src/components/CdsList/index.mjs +1 -1
- package/dist/esm-node/src/components/CdsStages/CdsStages.vue_vue_type_script_setup_true_lang.mjs +5 -1
- package/dist/esm-node/src/components/CdsTextArea/CdsTextArea.css +3 -0
- package/dist/esm-node/src/components/CdsTextArea/CdsTextArea.vue_vue_type_script_setup_true_lang.mjs +2 -1
- package/dist/esm-node/src/composables/useLocation/index.mjs +1 -1
- package/dist/iife/entry.js +8 -8
- package/dist/styles.css +2 -2
- package/dist/types/components/CdsStages/index.d.ts +8 -0
- package/llms/llms-components.txt +4 -4
- package/llms/llms-full.txt +31 -4
- package/llms/llms-guides.txt +1 -1
- package/llms/llms-migration.txt +28 -1
- package/llms/llms-tokens.txt +1 -1
- package/llms/llms.txt +1 -1
- package/package.json +9 -8
- package/src/components/CdsTextArea/CdsTextArea.scss +4 -0
|
@@ -10,7 +10,6 @@ import { u as useToastItem } from "../CdsToastQueue/composables/useToastQueue.js
|
|
|
10
10
|
import { u as usePosition } from "../../composables/usePosition/usePosition.js";
|
|
11
11
|
import { u as useScopeId } from "../../composables/useScopeId/useScopeId.js";
|
|
12
12
|
import { u as useStatus } from "../../composables/useStatus/useStatus.js";
|
|
13
|
-
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
14
13
|
import { f as filterProps } from "../../core/defineComponent.js";
|
|
15
14
|
import { f as forwardRefs } from "../../core/forwardRefs.js";
|
|
16
15
|
import { u as useDefaults } from "../../core/useDefaults.js";
|
|
@@ -20,6 +19,7 @@ import { c as classNames } from "../../utils/dom/classNames.js";
|
|
|
20
19
|
import { C as CdsToastConstants } from "./api/CdsToast.constants.js";
|
|
21
20
|
import { d as defineCdsToastProps } from "./api/CdsToast.props.js";
|
|
22
21
|
import { u as useCountdown } from "./composables/useCountdown.js";
|
|
22
|
+
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
23
23
|
import { a as useBackgroundColor, u as useTextColor } from "../../composables/useColor/useColor.js";
|
|
24
24
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
...{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, useSlots, computed, createVNode, unref } from "vue";
|
|
2
|
-
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
3
2
|
import { u as useDefaults } from "../../core/useDefaults.js";
|
|
4
3
|
import { c as classNames } from "../../utils/dom/classNames.js";
|
|
5
4
|
import { C as CdsToolbarConstants } from "./api/CdsToolbar.constants.js";
|
|
6
5
|
import { d as defineCdsToolbarProps } from "./api/CdsToolbar.props.js";
|
|
6
|
+
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
7
7
|
import { a as useBackgroundColor, u as useTextColor } from "../../composables/useColor/useColor.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
...{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as defineThemeProps } from "../../../composables/useTheme/useTheme.js";
|
|
2
1
|
import { d as defineComponentProps } from "../../../core/defineComponent.js";
|
|
3
2
|
import { p as propsFactory } from "../../../core/propsFactory.js";
|
|
4
3
|
import { a7 as pick } from "../../../utils/helpers.js";
|
|
5
4
|
import { C as CdsToolbarConstants, a as CdsToolbarTitleConstants } from "./CdsToolbar.constants.js";
|
|
5
|
+
import { d as defineThemeProps } from "../../../composables/useTheme/useTheme.js";
|
|
6
6
|
import { d as defineColorProps } from "../../../composables/useColor/useColor.js";
|
|
7
7
|
const defineCdsToolbarProps = propsFactory(
|
|
8
8
|
{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { defineComponent, useSlots, useAttrs, ref, computed, unref, h } from "vue";
|
|
2
|
-
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
3
2
|
import { u as useDefaults } from "../../core/useDefaults.js";
|
|
4
3
|
import { f as filterEmpty } from "../../utils/use/flattenChildren.js";
|
|
5
4
|
import { c as classNames } from "../../utils/dom/classNames.js";
|
|
@@ -8,6 +7,7 @@ import { d as defineCdsTreeProps } from "./api/CdsTree.props.js";
|
|
|
8
7
|
import { D as DropIndicator } from "./components/DropIndicator.js";
|
|
9
8
|
import { r as renderSwitcherIcon } from "./components/SwitcherIcon.js";
|
|
10
9
|
import { T as TreeProvider } from "./components/TreeProvider.js";
|
|
10
|
+
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
...{
|
|
13
13
|
name: CdsTreeConstants.name,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as defineDisabledProps } from "../../../composables/useDisabled/useDisabled.js";
|
|
2
|
-
import { d as defineThemeProps } from "../../../composables/useTheme/useTheme.js";
|
|
3
2
|
import { p as propsFactory } from "../../../core/propsFactory.js";
|
|
4
3
|
import { C as CdsTreeConstants } from "./CdsTree.constants.js";
|
|
4
|
+
import { d as defineThemeProps } from "../../../composables/useTheme/useTheme.js";
|
|
5
5
|
import { m as makeTreeEventsProps } from "../composable/events.js";
|
|
6
6
|
import { m as makeTreeProps } from "../composable/tree.js";
|
|
7
7
|
const defineCdsTreeProps = propsFactory(
|
package/dist/es/src/components/CdsUploader/CdsUploader.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -3,13 +3,13 @@ import { C as CdsButton } from "../CdsButton/index.js";
|
|
|
3
3
|
import { C as CdsInput } from "../CdsInput/index.js";
|
|
4
4
|
import { d as defineCdsInputProps } from "../CdsInput/api/CdsInput.props.js";
|
|
5
5
|
import { a as useLocale } from "../../composables/useLocale/useLocale.js";
|
|
6
|
-
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
7
6
|
import { f as filterProps } from "../../core/defineComponent.js";
|
|
8
7
|
import { u as useDefaults } from "../../core/useDefaults.js";
|
|
9
8
|
import { u as useProxyModel } from "../../core/useProxyModel.js";
|
|
10
9
|
import { c as classNames } from "../../utils/dom/classNames.js";
|
|
11
10
|
import { C as CdsUploaderConstants, L as LIST_IGNORE } from "./api/CdsUploader.constants.js";
|
|
12
11
|
import { d as defineCdsUploaderProps } from "./api/CdsUploader.props.js";
|
|
12
|
+
import { p as provideTheme } from "../../composables/useTheme/useTheme.js";
|
|
13
13
|
import { g as getFileItem, f as fileToObject, u as updateFileList, r as removeFileItem } from "./utils/helpers.js";
|
|
14
14
|
import { _ as _sfc_main$1 } from "./components/UploadList/UploadList.vue_vue_type_script_setup_true_lang.js";
|
|
15
15
|
import { d as defineUploadProps } from "./composables/useUpload.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
2
1
|
import { a as IN_BROWSER } from "../../utils/dom/globals.js";
|
|
3
2
|
import { shallowRef, onMounted } from "vue";
|
|
3
|
+
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
4
4
|
function useHydration() {
|
|
5
5
|
if (!IN_BROWSER) return shallowRef(false);
|
|
6
6
|
const { ssr } = useDisplay();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
2
1
|
import { p as propsFactory } from "../../core/propsFactory.js";
|
|
3
2
|
import { a as IN_BROWSER } from "../../utils/dom/globals.js";
|
|
4
3
|
import { ref, computed, unref, watch, onBeforeUnmount } from "vue";
|
|
5
4
|
import { u as useInjectLayout } from "./context.js";
|
|
5
|
+
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
6
6
|
const defineLayoutProps = propsFactory(
|
|
7
7
|
{
|
|
8
8
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "vue";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "vue";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "vue";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
2
1
|
import { u as useResizeObserver } from "../useResizeObserver/useResizeObserver.js";
|
|
3
2
|
import { p as propsFactory } from "../../core/propsFactory.js";
|
|
4
3
|
import { w as debounce, c as clamp, M as getPropertyFromItem } from "../../utils/helpers.js";
|
|
5
4
|
import { a as IN_BROWSER } from "../../utils/dom/globals.js";
|
|
6
5
|
import { shallowRef, watchEffect, ref, unref, computed, watch, onScopeDispose, nextTick } from "vue";
|
|
6
|
+
import { u as useDisplay } from "../useDisplay/useDisplay.js";
|
|
7
7
|
const defineVirtualProps = propsFactory(
|
|
8
8
|
{
|
|
9
9
|
/**
|
package/dist/esm-node/entry.mjs
CHANGED
|
@@ -126,7 +126,7 @@ import { u as u20, a as a31 } from "./src/components/CdsToastQueue/composables/u
|
|
|
126
126
|
const createCds = (options = {}) => {
|
|
127
127
|
return createCds$1(options);
|
|
128
128
|
};
|
|
129
|
-
const version = "4.0.0-alpha.
|
|
129
|
+
const version = "4.0.0-alpha.9";
|
|
130
130
|
createCds.version = version;
|
|
131
131
|
export {
|
|
132
132
|
c3 as CDS_DRAWER_WIDTH,
|
package/dist/esm-node/src/components/CdsList/CdsList.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { p as provideTheme } from "../../composables/useTheme/useTheme.mjs";
|
|
|
4
4
|
import { u as useDefaults, p as provideDefaults } from "../../core/useDefaults.mjs";
|
|
5
5
|
import { u as convertToUnit } from "../../utils/helpers.mjs";
|
|
6
6
|
import { c as classNames } from "../../utils/dom/classNames.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { C as CdsListConstants } from "./api/CdsList.constants.mjs";
|
|
8
8
|
import { b as defineCdsListProps } from "./api/CdsList.props.mjs";
|
|
9
9
|
import { _ as _sfc_main$1 } from "./components/ListChildren.vue_vue_type_script_setup_true_lang.mjs";
|
|
10
10
|
import { p as provideList, c as createList } from "./composables/useList.mjs";
|
package/dist/esm-node/src/components/CdsList/CdsListGroup.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { M as MaybeTransition } from "../../composables/useTransition/useTransit
|
|
|
8
8
|
import { u as useDefaults } from "../../core/useDefaults.mjs";
|
|
9
9
|
import { c as CdsTransitionExpand } from "../../transitions/index.mjs";
|
|
10
10
|
import { c as classNames } from "../../utils/dom/classNames.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { b as CdsListGroupConstants } from "./api/CdsList.constants.mjs";
|
|
12
12
|
import { c as defineCdsListGroupProps } from "./api/CdsList.props.mjs";
|
|
13
13
|
import { _ as _sfc_main$1 } from "./CdsListSubheader.vue_vue_type_script_setup_true_lang.mjs";
|
|
14
14
|
import { _ as _sfc_main$2 } from "./components/ListGroupActivator.vue_vue_type_script_setup_true_lang.mjs";
|
package/dist/esm-node/src/components/CdsList/CdsListItem.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { p as provideTheme } from "../../composables/useTheme/useTheme.mjs";
|
|
|
9
9
|
import { u as useDefaults } from "../../core/useDefaults.mjs";
|
|
10
10
|
import { u as convertToUnit, _ as keyNames } from "../../utils/helpers.mjs";
|
|
11
11
|
import { c as classNames } from "../../utils/dom/classNames.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { a as CdsListItemConstants, C as CdsListConstants } from "./api/CdsList.constants.mjs";
|
|
13
13
|
import { a as defineCdsListItemProps } from "./api/CdsList.props.mjs";
|
|
14
14
|
import { _ as _sfc_main$3 } from "./CdsListItemDescription.vue_vue_type_script_lang.mjs";
|
|
15
15
|
import { _ as _sfc_main$2 } from "./CdsListItemSubtitle.vue_vue_type_script_lang.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useSlots, createVNode, unref } from "vue";
|
|
2
2
|
import { u as useDefaults } from "../../core/useDefaults.mjs";
|
|
3
3
|
import { c as classNames } from "../../utils/dom/classNames.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { c as CdsListSubheaderConstants } from "./api/CdsList.constants.mjs";
|
|
5
5
|
import { d as defineCdsListSubheaderProps } from "./api/CdsList.props.mjs";
|
|
6
6
|
import { u as useTextColor } from "../../composables/useColor/useColor.mjs";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -12,10 +12,10 @@ const CdsListItemDividerConstants = defineConstants(`${CdsListItemConstants.name
|
|
|
12
12
|
const CdsListGroupConstants = defineConstants(`${CdsListConstants.name}Group`);
|
|
13
13
|
const CdsListSubheaderConstants = defineConstants(`${CdsListConstants.name}Subheader`);
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
CdsListConstants as C,
|
|
16
|
+
CdsListItemConstants as a,
|
|
17
|
+
CdsListGroupConstants as b,
|
|
18
|
+
CdsListSubheaderConstants as c,
|
|
19
19
|
CdsListItemDividerConstants as d,
|
|
20
20
|
CdsListSymbol as e,
|
|
21
21
|
CdsListItemDescriptionConstants as f,
|
|
@@ -7,8 +7,8 @@ import { d as defineRouterProps } from "../../../composables/useRouter/useRouter
|
|
|
7
7
|
import { d as defineThemeProps } from "../../../composables/useTheme/useTheme.mjs";
|
|
8
8
|
import { d as defineComponentProps, a as defineTagProps } from "../../../core/defineComponent.mjs";
|
|
9
9
|
import { p as propsFactory } from "../../../core/propsFactory.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { C as
|
|
10
|
+
import { E as EventProp, a7 as pick } from "../../../utils/helpers.mjs";
|
|
11
|
+
import { C as CdsListConstants, a as CdsListItemConstants, b as CdsListGroupConstants, c as CdsListSubheaderConstants, d as CdsListItemDividerConstants } from "./CdsList.constants.mjs";
|
|
12
12
|
import { d as defineColorProps } from "../../../composables/useColor/useColor.mjs";
|
|
13
13
|
import { d as defineDimensionsProps } from "../../../composables/useDimensions/useDimensions.mjs";
|
|
14
14
|
const defineCdsListProps = propsFactory(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as withConstants } from "../../core/withConstants.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as CdsListConstants, a as CdsListItemConstants, i as CdsListItemActionConstants, j as CdsListItemImageConstants, k as CdsListItemMediaConstants, g as CdsListItemSubtitleConstants, h as CdsListItemTitleConstants, f as CdsListItemDescriptionConstants, d as CdsListItemDividerConstants, b as CdsListGroupConstants, c as CdsListSubheaderConstants } from "./api/CdsList.constants.mjs";
|
|
3
3
|
import { _ as _sfc_main } from "./CdsList.vue_vue_type_script_setup_true_lang.mjs";
|
|
4
4
|
import { _ as _sfc_main$9 } from "./CdsListGroup.vue_vue_type_script_setup_true_lang.mjs";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./CdsListItem.vue_vue_type_script_setup_true_lang.mjs";
|
package/dist/esm-node/src/components/CdsStages/CdsStages.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, onMounted, computed, unref, createVNode } from "vue";
|
|
2
2
|
import { u as useItems } from "../../composables/useItems/useItems.mjs";
|
|
3
3
|
import { p as provideTheme } from "../../composables/useTheme/useTheme.mjs";
|
|
4
4
|
import { u as useDefaults } from "../../core/useDefaults.mjs";
|
|
5
5
|
import { c as classNames } from "../../utils/dom/classNames.mjs";
|
|
6
|
+
import { d as deprecate } from "../../utils/dom/console.mjs";
|
|
6
7
|
import { C as CdsStagesConstants } from "./api/CdsStages.constants.mjs";
|
|
7
8
|
import { d as defineCdsStagesProps } from "./api/CdsStages.props.mjs";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -24,6 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
25
|
const {
|
|
25
26
|
themeClasses
|
|
26
27
|
} = provideTheme(props);
|
|
28
|
+
onMounted(() => {
|
|
29
|
+
deprecate("CdsStages", "CdsSteps");
|
|
30
|
+
});
|
|
27
31
|
const currentStageIndex = computed(() => {
|
|
28
32
|
return unref(items).findIndex((item) => String(item.value) === String(props.current));
|
|
29
33
|
});
|
|
@@ -43,6 +43,9 @@
|
|
|
43
43
|
height: var(--cds-text-area-control-height, auto);
|
|
44
44
|
max-height: var(--cds-text-area-max-height, none);
|
|
45
45
|
}
|
|
46
|
+
.cds-text-area.cds-input--size-md textarea.cds-field__input {
|
|
47
|
+
line-height: var(--cds-font-line-height-300);
|
|
48
|
+
}
|
|
46
49
|
.cds-text-area--auto-grow textarea {
|
|
47
50
|
overflow: hidden;
|
|
48
51
|
}
|
package/dist/esm-node/src/components/CdsTextArea/CdsTextArea.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -126,7 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
const padding = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom);
|
|
127
127
|
const height = sizer.scrollHeight;
|
|
128
128
|
const lineHeight = parseFloat(style.lineHeight);
|
|
129
|
-
const
|
|
129
|
+
const fieldMinHeight = unref(textareaRef) ? parseFloat(getComputedStyle(unref(textareaRef)).minHeight) || 0 : 0;
|
|
130
|
+
const minHeight = Math.max(parseFloat(String(props.rows)) * lineHeight + padding, fieldMinHeight);
|
|
130
131
|
const maxHeight = props.maxHeight ? parseFloat(String(props.maxHeight)) : parseFloat(String(props.maxRows)) * lineHeight + padding || Infinity;
|
|
131
132
|
const newHeight = clamp(height ?? 0, minHeight, maxHeight);
|
|
132
133
|
rows.value = Math.floor((newHeight - padding) / lineHeight);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|