@cuby-ui/core 0.0.339 → 0.0.341

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.
Files changed (31) hide show
  1. package/components/badge/badge.component.d.ts +1 -1
  2. package/components/button/button.component.d.ts +12 -12
  3. package/components/button/button.options.d.ts +9 -4
  4. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +1 -1
  5. package/esm2022/components/banner/banner.component.mjs +1 -1
  6. package/esm2022/components/button/button.component.mjs +16 -26
  7. package/esm2022/components/button/button.options.mjs +3 -2
  8. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +1 -1
  9. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +1 -1
  10. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +2 -2
  11. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +2 -2
  12. package/esm2022/editor/components/marker-select/marker-select.component.mjs +2 -2
  13. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +2 -2
  14. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +2 -2
  15. package/esm2022/types/button-theme.mjs +2 -0
  16. package/esm2022/types/index.mjs +2 -1
  17. package/esm2022/widgets/categories/categories.component.mjs +2 -2
  18. package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +2 -2
  19. package/esm2022/widgets/checklist-block/checklist-block.component.mjs +2 -2
  20. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +2 -2
  21. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +2 -2
  22. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +2 -2
  23. package/esm2022/widgets/delete-modal/delete-modal.component.mjs +2 -2
  24. package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +2 -2
  25. package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +2 -2
  26. package/fesm2022/cuby-ui-core.mjs +38 -46
  27. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  28. package/package.json +4 -4
  29. package/styles/theme.scss +1 -8
  30. package/types/button-theme.d.ts +5 -0
  31. package/types/index.d.ts +1 -0
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.339",
3
+ "version": "0.0.341",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
7
  "@angular/elements": ">=18.0.0",
8
8
  "@angular/forms": ">=18.0.0",
9
- "@cuby-ui/api": "^0.0.339",
10
- "@cuby-ui/cdk": "^0.0.339",
11
- "@cuby-ui/icons": "^0.0.339",
9
+ "@cuby-ui/api": "^0.0.341",
10
+ "@cuby-ui/cdk": "^0.0.341",
11
+ "@cuby-ui/icons": "^0.0.341",
12
12
  "@editorjs/editorjs": "2.29.1",
13
13
  "@editorjs/header": "^2.8.1",
14
14
  "@editorjs/list": "^1.9.0",
package/styles/theme.scss CHANGED
@@ -284,13 +284,6 @@
284
284
  --cui-yellow-bg: var(--cui-yellow-400);
285
285
  --cui-lavender-bg: var(--cui-lavender-50);
286
286
  --cui-violet-bg: var(--cui-violet-400);
287
-
288
- // TODO: Добавить для всех кнопок и свойств их
289
- --c-action-background: var(--cui-bg-light-blue);
290
- --c-action-background-hover: var(--cui-light-blue-600);
291
- --c-action-border-color: var(--cui-light-blue-500);
292
-
293
- --c-outlined-gray-color: var(--cui-base-900);
294
287
  }
295
288
 
296
289
  [cuiTheme='dark'] {
@@ -418,4 +411,4 @@
418
411
  --cui-yellow-bg: var(--cui-yellow-600);
419
412
  --cui-lavender-bg: var(--cui-lavender-900);
420
413
  --cui-violet-bg: var(-cui-violet-600);
421
- }
414
+ }
@@ -0,0 +1,5 @@
1
+ export type CuiButtonThemeDefault = 'default';
2
+ export type CuiButtonThemeViolet = 'violet';
3
+ export type CuiButtonThemeCyan = 'cyan';
4
+ export type CuiButtonThemeSuccess = 'success';
5
+ export type CuiButtonThemeVividSuccess = 'vivid-success';
package/types/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from './resizing';
7
7
  export * from './shape';
8
8
  export * from './size';
9
9
  export * from './status';
10
+ export * from './button-theme';