Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .changeset/warm-forks-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'@cocokits/react-components': minor
'@cocokits/react-form-field': minor
'@cocokits/react-accordion': minor
'@cocokits/react-checkbox': minor
'@cocokits/react-divider': minor
'@cocokits/react-overlay': minor
'@cocokits/react-avatar': minor
'@cocokits/react-button': minor
'@cocokits/react-toggle': minor
'@cocokits/react-radio': minor
'@cocokits/react-utils': minor
'@cocokits/react-core': minor
'@cocokits/react-icon': minor
'@cocokits/react-menu': minor
'@cocokits/react-tabs': minor
'@cocokits/react-cdk': minor
---

Upgrade to react 19
20 changes: 20 additions & 0 deletions .changeset/wise-shoes-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'@cocokits/angular-components': minor
'@cocokits/angular-form-field': minor
'@cocokits/angular-accordion': minor
'@cocokits/angular-checkbox': minor
'@cocokits/angular-divider': minor
'@cocokits/angular-overlay': minor
'@cocokits/angular-avatar': minor
'@cocokits/angular-button': minor
'@cocokits/angular-toggle': minor
'@cocokits/angular-radio': minor
'@cocokits/angular-utils': minor
'@cocokits/angular-core': minor
'@cocokits/angular-icon': minor
'@cocokits/angular-menu': minor
'@cocokits/angular-tabs': minor
'@cocokits/angular-cdk': minor
---

Upgrade to Angular 20
4 changes: 2 additions & 2 deletions .github/actions/pnpm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ runs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.9
node-version: 22.17

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9.11
version: 10.9

- name: Get pnpm store directory
shell: bash
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ migration-storybook.log
# Next.js
.next
out

vite.config.*.timestamp*
vitest.config.*.timestamp*
.cursor/rules/nx-rules.mdc
.github/instructions/nx.instructions.md
3 changes: 2 additions & 1 deletion apps/angular-kits-doc/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"prefix": "cck",
"style": "kebab-case"
}
]
],
"@angular-eslint/prefer-standalone": "off"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions apps/angular-kits-doc/.storybook/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"emitDecoratorMetadata": true,
"noPropertyAccessFromIndexSignature": false,
"jsx": "react-jsx"
},
"exclude": ["../**/*.spec.ts", "node_modules", "../../../**/node_modules"],
Expand Down
10 changes: 5 additions & 5 deletions apps/angular-kits-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"main": "index.js",
"scripts": {},
"dependencies": {
"@angular/common": "18.2.0",
"@angular/core": "18.2.0",
"@storybook/addon-docs": "8.4.4",
"@storybook/angular": "8.4.4",
"@storybook/manager-api": "8.4.4"
"@angular/common": "~20.0.0",
"@angular/core": "~20.0.0",
"@storybook/addon-docs": "8.6.11",
"@storybook/angular": "8.6.11",
"@storybook/manager-api": "8.6.11"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// import { OverlayService } from '../../../src/services/overlay.service';

// @Component({
// standalone: true,
// selector: 'story-animation',
// imports: [JsonPipe],
// template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// import { OverlayRef } from '../../../src/services/overlay-ref';

// @Component({
// standalone: true,
// imports: [JsonPipe],
// template: `
// <p class="p-sm-regular-4">THIS IS A OVERLAY</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// import { OverlayService } from '../../../src/services/overlay.service';

// @Component({
// standalone: true,
// selector: 'story-basic',
// imports: [JsonPipe],
// template: ` <button class="story-button" (click)="onOpenClick()">Open Overlay</button> `,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// import { OverlayService } from '../../../src/services/overlay.service';

// @Component({
// standalone: true,
// selector: 'story-connect-to-element',
// imports: [JsonPipe],
// template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// import { OverlayRef } from '../../../src/services/overlay-ref';

// @Component({
// standalone: true,
// imports: [JsonPipe],
// template: `
// <p class="p-sm-regular-4">THIS IS A OVERLAY</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// import { OverlayService } from '../../../src/services/overlay.service';

// @Component({
// standalone: true,
// selector: 'story-default',
// imports: [JsonPipe, FormFieldComponent, InputComponent, ButtonComponent],
// template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// import { OverlayRef } from '../../../src/services/overlay-ref';

// @Component({
// standalone: true,
// imports: [AsyncPipe],
// template: `
// <p class="p-sm-regular-4">Resize the textarea to change the overlay size</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// import { OverlayService } from '../../../src/services/overlay.service';

// @Component({
// standalone: true,
// selector: 'story-size',
// imports: [],
// template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { FormFieldComponent, InputComponent } from '@cocokits/angular-form-field
import { OverlayRef } from '@cocokits/angular-overlay';

@Component({
standalone: true,
imports: [JsonPipe, FormFieldComponent, InputComponent, ButtonComponent],
templateUrl: './example-overlay-default-overlay.component.html',
styleUrl: './example-overlay-default-overlay.component.scss',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { OverlayAnimationType, OverlayService } from '@cocokits/angular-overlay'
import { ExampleOverlayDefaultOverlayComponent } from './example-overlay-default-overlay.component';

@Component({
standalone: true,
selector: 'cck-overlay-default',
imports: [JsonPipe, FormFieldComponent, InputComponent, ButtonComponent],
templateUrl: './example-overlay-default.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function getStep4CollectionModesTable(theme: ThemeChangeEvent) {

{Object.entries(theme.tokenDictionary.collectionModeNames).map(([collection, modes]) =>
modes.map((mode, index) => (
<tr>
<tr key={`${collection}-${mode.name}`}>
{index === 0 && (
<td rowSpan={modes.length} className="collection-modes-selector-table__header-cell">
{collection}
Expand Down Expand Up @@ -156,7 +156,6 @@ import { ButtonComponent, CheckboxComponent } from '@cocokits/angular-components

@Component({
selector: 'hello',
standalone: true,
imports: [ButtonComponent, CheckboxComponent],
template: \`
<button cck-button>Button</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { StoryObj } from '@cocokits/storybook-addon-theme-angular';

@Component({
selector: 'cck-accordion-control',
standalone: true,
imports: [AccordionComponent, AccordionHeaderComponent, AccordionPanelComponent],
styles: [
`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-add-new-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/add-new-button.config';

@Component({
standalone: true,
selector: 'cck-add-new-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-back-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/back-button.config';

@Component({
standalone: true,
selector: 'cck-back-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-copy-link-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/copy-link-button.config';

@Component({
standalone: true,
selector: 'cck-copy-link-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { OutlineIcons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-delete-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { OutlineIcons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/delete-button.config';

@Component({
standalone: true,
selector: 'cck-delete-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-show-more-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/show-more-button.config';

@Component({
standalone: true,
selector: 'cck-show-more-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { ButtonComponent } from '@cocokits/angular-components';


@Component({
standalone: true,
selector: 'cck-stack-horizontal-button',
imports: [ButtonComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ButtonComponent } from '@cocokits/angular-components';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/stack-horizontal-button.config';

@Component({
standalone: true,
selector: 'cck-stack-horizontal-button',
imports: [ButtonComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-stack-vertical-button',
imports: [ButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/button/stack-vertical-button.config';

@Component({
standalone: true,
selector: 'cck-stack-vertical-button',
imports: [ButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-mode-toggle',
imports: [IconButtonComponent, SvgIconComponent],
template: \` <button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/icon-button/mode-toggle.config';

@Component({
standalone: true,
selector: 'cck-mode-toggle',
imports: [IconButtonComponent, SvgIconComponent],
template: ` <button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-social-buttons',
imports: [IconButtonComponent, SvgIconComponent],
template: \`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/icon-button/social-buttons.config';

@Component({
standalone: true,
selector: 'cck-social-buttons',
imports: [IconButtonComponent, SvgIconComponent],
template: `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const MAX_VOLUME = 4;
const MIN_VOLUME = 0;

@Component({
standalone: true,
selector: 'cck-volume-button',
imports: [IconButtonComponent, SvgIconComponent],
templateUrl: './volume-button.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const MAX_VOLUME = 4;
const MIN_VOLUME = 0;

@Component({
standalone: true,
selector: 'cck-volume-button',
imports: [IconButtonComponent, SvgIconComponent],
templateUrl: './volume-button.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ import { moduleMetadata } from '@storybook/angular';
}

@Component({
standalone: true,
imports: [CheckboxComponent],
selector: 'app-example',
templateUrl: './checkbox-indeterminate.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ interface Task {
}

@Component({
standalone: true,
imports: [CheckboxComponent],
templateUrl: './checkbox-indeterminate.component.html',
styleUrls: ['./checkbox-indeterminate.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import { Icons } from '@cocokits/common-icons';


@Component({
standalone: true,
selector: 'cck-checkbox-box-selection-info',
imports: [CheckboxComponent, SvgIconComponent],
templateUrl: './checkbox-box-selection-info.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Icons } from '@cocokits/common-icons';
import { ExampleArgs } from '@cocokits/common-kits-doc/examples-config/checkbox/checkbox-box-selection-info.config';

@Component({
standalone: true,
selector: 'cck-checkbox-box-selection-info',
imports: [CheckboxComponent, SvgIconComponent],
templateUrl: './checkbox-box-selection-info.component.html',
Expand Down
Loading