cecomponent 2.0.89 → 2.0.91

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.
@@ -227,6 +227,16 @@ interface CEDataGridDynamicTableProps {
227
227
  * Emits whenever local grid context changes.
228
228
  */
229
229
  onGridContextChange?: (context: GridContextState) => void;
230
+ /**
231
+ * Callback fired when the Show/Hide Columns panel is closed.
232
+ * Receives the full ordered list of columns with their 1-based position and visibility state.
233
+ */
234
+ onColumnPanelClose?: (columns: Array<{
235
+ id: string;
236
+ label?: string;
237
+ position: number;
238
+ visible: boolean;
239
+ }>) => void;
230
240
  }
231
241
  declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
232
242
  export default CEDataGridDynamicTable;
@@ -2,6 +2,10 @@ import { StoryObj } from '@storybook/react';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: import('react').FC<import('./CEInputTextBox').ValidatedInputProps>;
5
+ args: {
6
+ value: string;
7
+ onChange: () => void;
8
+ };
5
9
  parameters: {
6
10
  layout: string;
7
11
  };
@@ -28,3 +32,9 @@ export declare const Textarea: Story;
28
32
  export declare const Small: Story;
29
33
  export declare const Large: Story;
30
34
  export declare const Disabled: Story;
35
+ export declare const TextareaShowMoreEditableLong: Story;
36
+ export declare const TextareaShowMoreMultiline: Story;
37
+ export declare const TextareaShowMoreDisabledLong: Story;
38
+ export declare const TextareaShowMoreShortNoToggle: Story;
39
+ export declare const TextareaShowMoreTestNotes: Story;
40
+ export declare const TextareaShowMoreAsyncLoadedInteraction: Story;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "2.0.89",
4
+ "version": "2.0.91",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",
@@ -40,32 +40,36 @@
40
40
  "react-dom": "^19.1.0"
41
41
  },
42
42
  "devDependencies": {
43
+ "@chromatic-com/storybook": "^5.0.0",
43
44
  "@eslint/js": "^9.17.0",
45
+ "@storybook/addon-a11y": "^10.2.0",
46
+ "@storybook/addon-docs": "^10.2.0",
47
+ "@storybook/addon-onboarding": "^10.2.0",
48
+ "@storybook/addon-vitest": "^10.2.0",
49
+ "@storybook/react-vite": "^10.2.0",
50
+ "@testing-library/jest-dom": "^6.9.1",
51
+ "@testing-library/react": "^16.3.2",
52
+ "@testing-library/user-event": "^14.6.1",
44
53
  "@types/react": "^18.3.20",
45
54
  "@types/react-dom": "^18.3.6",
46
55
  "@types/recharts": "^1.8.29",
47
56
  "@types/xlsx": "^0.0.35",
48
57
  "@vitejs/plugin-react-swc": "^3.5.0",
58
+ "@vitest/browser-playwright": "^4.0.17",
59
+ "@vitest/coverage-v8": "^4.0.17",
49
60
  "eslint": "^9.17.0",
50
61
  "eslint-plugin-react-hooks": "^5.0.0",
51
62
  "eslint-plugin-react-refresh": "^0.4.16",
63
+ "eslint-plugin-storybook": "^10.2.0",
52
64
  "globals": "^15.14.0",
65
+ "jsdom": "^29.1.1",
66
+ "playwright": "^1.57.0",
53
67
  "prettier": "3.4.2",
68
+ "storybook": "^10.2.0",
54
69
  "typescript": "~5.6.2",
55
70
  "typescript-eslint": "^8.18.2",
56
71
  "vite": "^6.0.5",
57
72
  "vite-plugin-dts": "^4.5.4",
58
- "storybook": "^10.2.0",
59
- "@storybook/react-vite": "^10.2.0",
60
- "@chromatic-com/storybook": "^5.0.0",
61
- "@storybook/addon-vitest": "^10.2.0",
62
- "@storybook/addon-a11y": "^10.2.0",
63
- "@storybook/addon-docs": "^10.2.0",
64
- "@storybook/addon-onboarding": "^10.2.0",
65
- "eslint-plugin-storybook": "^10.2.0",
66
- "vitest": "^4.0.17",
67
- "playwright": "^1.57.0",
68
- "@vitest/browser-playwright": "^4.0.17",
69
- "@vitest/coverage-v8": "^4.0.17"
73
+ "vitest": "^4.0.17"
70
74
  }
71
75
  }