Skip to content
Draft
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = (api) => {
},
ignore: ['node_modules', '**/__snapshots__/**', '**/__tests__/**'],
plugins: [
['babel-plugin-react-compiler', {target: '18'}],
'babel-plugin-dev-expression',
'transform-inline-environment-variables',
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"@typescript-eslint/parser": "^3.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-react-compiler": "^19.1.0-rc.2",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"chromatic": "^6.5.4",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"dependencies": {
"@clayui/icon": "^3.128.0",
"@clayui/layout": "^3.128.0",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@clayui/loading-indicator": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"fuzzy": "^0.1.3"
},
"peerDependencies": {
Expand Down
6 changes: 2 additions & 4 deletions packages/clay-autocomplete/stories/Autocomplete.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@

import {Text, TextHighlight} from '@clayui/core';
import {useResource} from '@clayui/data-provider';
import {
FetchPolicy,
NetworkStatus,
} from '@clayui/data-provider/src/useResource';
import DropDown from '@clayui/drop-down';
import Layout from '@clayui/layout';
import {FocusScope, useDebounce} from '@clayui/shared';
import React, {useEffect, useRef, useState} from 'react';

import ClayAutocomplete from '../src';

import type {FetchPolicy, NetworkStatus} from '@clayui/data-provider';

const LoadingWithDebounce = ({
loading,
networkStatus,
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@clayui/icon": "^3.128.0",
"@clayui/link": "^3.141.0",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@clayui/icon": "^3.128.0",
"@clayui/loading-indicator": "^3.128.0",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"@clayui/link": "^3.141.0",
"@clayui/shared": "^3.141.1",
"@clayui/sticker": "^3.138.0",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {
"billboard.js": "^1.8.0",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"d3": "^5.9.2"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@clayui/shared": "^3.141.1",
"@clayui/slider": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"tinycolor2": "^1.4.2"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@tanstack/react-virtual": "3.0.0-beta.54",
"aria-hidden": "^1.2.2",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"fuzzy": "^0.1.3",
"react-dnd": "^11.1.1",
"react-dnd-html5-backend": "^11.1.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-data-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"ts:main": "src/index.tsx",
"ts:main": "src/index.ts",
"files": [
"lib"
],
Expand All @@ -27,6 +27,7 @@
"@clayui/provider": "^3.128.0",
"@clayui/shared": "^3.141.1",
"fast-json-stable-stringify": "^2.1.0",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-data-provider/stories/DataProvider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import React, {useContext, useState} from 'react';

import ClayDataProvider, {useResource} from '../src';
import {FetchPolicy} from '../src/useResource';

import type {FetchPolicy} from '../src/useResource';

export default {
parameters: {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@clayui/shared": "^3.141.1",
"@clayui/time-picker": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"date-fns": "^2.14.0"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-drop-down/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@clayui/link": "^3.141.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"react-transition-group": "^4.4.1",
"warning": "^4.0.3"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-empty-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"@clayui/button": "^3.136.0",
"@clayui/icon": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
],
"dependencies": {
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-label/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"dependencies": {
"@clayui/icon": "^3.128.0",
"@clayui/link": "^3.141.0",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
],
"dependencies": {
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@clayui/link": "^3.141.0",
"@clayui/sticker": "^3.138.0",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-loading-indicator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-localized-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"@clayui/icon": "^3.128.0",
"@clayui/label": "^3.141.0",
"@clayui/layout": "^3.128.0",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-management-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
],
"dependencies": {
"@clayui/layout": "^3.128.0",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@clayui/shared": "^3.141.1",
"aria-hidden": "^1.2.2",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/clay-multi-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@clayui/loading-indicator": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"fuzzy": "^0.1.3"
},
"peerDependencies": {
Expand Down
6 changes: 2 additions & 4 deletions packages/clay-multi-select/stories/MultiSelect.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@

import ClayButton from '@clayui/button';
import {useResource} from '@clayui/data-provider';
import {
FetchPolicy,
NetworkStatus,
} from '@clayui/data-provider/src/useResource';
import ClayForm, {ClayInput} from '@clayui/form';
import ClayIcon from '@clayui/icon';
import ClaySticker from '@clayui/sticker';
import React, {useState} from 'react';

import ClayMultiSelect from '../src';

import type {FetchPolicy, NetworkStatus} from '@clayui/data-provider';

export default {
argTypes: {
size: {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-multi-step-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"@clayui/drop-down": "^3.141.1",
"@clayui/icon": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@clayui/icon": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"react-transition-group": "^4.4.1",
"warning": "^4.0.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/clay-navigation-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@clayui/provider": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"react-transition-group": "^4.4.1",
"warning": "^4.0.3"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-pagination-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"@clayui/icon": "^3.128.0",
"@clayui/pagination": "^3.141.1",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"@clayui/icon": "^3.128.0",
"@clayui/link": "^3.141.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@clayui/provider": "^3.128.0",
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"react-transition-group": "^4.4.1"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
],
"dependencies": {
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-progress-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"dependencies": {
"@clayui/icon": "^3.128.0",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"warning": "^4.0.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"@clayui/icon": "^3.128.0"
"@clayui/icon": "^3.128.0",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
1 change: 1 addition & 0 deletions packages/clay-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@clayui/provider": "^3.128.0",
"aria-hidden": "^1.2.2",
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2",
"dom-align": "^1.12.2",
"warning": "^4.0.3"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
],
"dependencies": {
"@clayui/shared": "^3.141.1",
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
3 changes: 2 additions & 1 deletion packages/clay-sticker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react"
],
"dependencies": {
"classnames": "^2.2.6"
"classnames": "^2.2.6",
"react-compiler-runtime": "^19.1.0-rc.2"
},
"peerDependencies": {
"@clayui/css": "3.x",
Expand Down
Loading
Loading