@central-design-system/components 3.10.1 → 3.10.3

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.
@@ -20,6 +20,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
20
20
  type: PropType<boolean>;
21
21
  default: boolean;
22
22
  };
23
+ class: PropType<import('../../composable').ClassValue>;
24
+ style: {
25
+ type: PropType<import('vue').StyleValue>;
26
+ default: null;
27
+ };
23
28
  theme: {
24
29
  type: PropType<import('../../composable').TTheme | string>;
25
30
  available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
@@ -171,6 +176,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
171
176
  type: PropType<boolean>;
172
177
  default: boolean;
173
178
  };
179
+ class: PropType<import('../../composable').ClassValue>;
180
+ style: {
181
+ type: PropType<import('vue').StyleValue>;
182
+ default: null;
183
+ };
174
184
  theme: {
175
185
  type: PropType<import('../../composable').TTheme | string>;
176
186
  available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
@@ -309,6 +319,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
309
319
  icon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
310
320
  invertColor: boolean;
311
321
  color: string;
322
+ style: import('vue').StyleValue;
312
323
  modelValue: boolean;
313
324
  transition: string | boolean | (import('vue').TransitionProps & {
314
325
  component?: import('vue').Component;
@@ -50,3 +50,4 @@ export * from './domObserver';
50
50
  export * from './transparent';
51
51
  export * from './scrolling';
52
52
  export * from './useColor';
53
+ export * from './modernApi';
@@ -0,0 +1,12 @@
1
+ import { PropType, StyleValue } from 'vue';
2
+ export type ClassValue = any;
3
+ export declare const defineComponentProps: <Defaults extends {
4
+ class?: unknown;
5
+ style?: unknown;
6
+ } = {}>(defaults?: Defaults | undefined) => import('../utils').AppendDefault<{
7
+ class: PropType<ClassValue>;
8
+ style: {
9
+ type: PropType<StyleValue>;
10
+ default: null;
11
+ };
12
+ }, Defaults>;
package/dist/create.d.ts CHANGED
@@ -21,6 +21,7 @@ interface NuxtApp {
21
21
  }
22
22
  export declare function createCds(options?: ICdsOptions): {
23
23
  install: (app: App & NuxtApp) => void;
24
+ unmount: () => void;
24
25
  display: import('./composable').IDisplayInstance;
25
26
  theme: import('./composable').ThemeInstance & {
26
27
  install: (app: App) => void;
@@ -2,3 +2,4 @@ export declare const IN_BROWSER: boolean;
2
2
  export declare const SUPPORTS_INTERSECTION: boolean;
3
3
  export declare const SUPPORTS_TOUCH: boolean;
4
4
  export declare const SUPPORTS_FOCUS_VISIBLE: boolean;
5
+ export declare const IS_DEV: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-design-system/components",
3
- "version": "3.10.1",
3
+ "version": "3.10.3",
4
4
  "description": "Central Design System on the Vue 3.0 and TypeScript",
5
5
  "author": {
6
6
  "name": "magersoft",