-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/ai-label-test-branch
- Loading branch information
Showing
35 changed files
with
333 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
informational: true | ||
patch: | ||
default: | ||
informational: true | ||
|
||
component_management: | ||
default_rules: # default rules that will be inherited by all components | ||
statuses: | ||
- type: project # in this case every component that doens't have a status defined will have a project type one | ||
target: auto | ||
threshold: 1% | ||
branches: | ||
- '!main' | ||
individual_components: | ||
- component_id: colors | ||
name: colors | ||
paths: | ||
- ../packages/colors/** | ||
- component_id: feature-flags | ||
name: feature-flags | ||
paths: | ||
- ../packages/feature-flags/** | ||
- component_id: icon-build-helpers | ||
name: icon-build-helpers | ||
paths: | ||
- ../packages/icon-build-helpers/** | ||
- component_id: layout | ||
name: layout | ||
paths: | ||
- ../packages/layout/** | ||
- component_id: motion | ||
name: motion | ||
paths: | ||
- ../packages/motion/** | ||
- component_id: react # this is an identifier that should not be changed | ||
name: react # this is a display name, and can be changed freely | ||
paths: | ||
- ../packages/react/** | ||
- component_id: scss-generator | ||
name: scss-generator | ||
paths: | ||
- ../packages/scss-generator/** | ||
- component_id: test-utils | ||
name: test-utils | ||
paths: | ||
- ../packages/test-utils/** | ||
- component_id: themes | ||
name: themes | ||
paths: | ||
- ../packages/themes/** | ||
- component_id: type | ||
name: type | ||
paths: | ||
- ../packages/type/** | ||
- component_id: upgrade | ||
name: upgrade | ||
paths: | ||
- ../packages/upgrade/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file removed
BIN
-3.65 KB
.yarn/cache/@types-eslint-scope-npm-3.7.3-e9b64dad2c-6772b05e1b.zip
Binary file not shown.
Binary file removed
BIN
-29.5 KB
.yarn/cache/@webassemblyjs-ast-npm-1.11.6-d3fd2bb49a-4c1303971c.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.18 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.11.6-69996544b0-b14d0573bf.zip
Binary file not shown.
Binary file added
BIN
+6.19 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.12.1-d025434a45-1d8705daa4.zip
Binary file not shown.
Binary file removed
BIN
-5.07 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.11.6-344f8ff2af-38a615ab3d.zip
Binary file not shown.
Binary file added
BIN
+9.37 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.12.1-cd0e2f1eab-e91e6b2811.zip
Binary file not shown.
Binary file removed
BIN
-6.9 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.11.6-8d2703f828-c168bfc6d0.zip
Binary file not shown.
Binary file added
BIN
+12.5 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.12.1-727bec592a-5678ae02db.zip
Binary file not shown.
Binary file removed
BIN
-5.37 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.11.6-0ca036cab0-f91903506c.zip
Binary file not shown.
Binary file added
BIN
+9.5 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.12.1-bbe22ad265-ec45bd50e8.zip
Binary file not shown.
Binary file removed
BIN
-3.46 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.11.6-8be3443975-e0cfeea381.zip
Binary file not shown.
Binary file added
BIN
+6.76 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.12.1-450c932de6-21f25ae109.zip
Binary file not shown.
Binary file removed
BIN
-14.4 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.11.6-88e2433c21-6995e0b7b8.zip
Binary file not shown.
Binary file added
BIN
+27.3 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.12.1-54a7a19806-f7311685b7.zip
Binary file not shown.
Binary file removed
BIN
-5.04 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.11.6-3191861e3f-fd45fd0d69.zip
Binary file not shown.
Binary file added
BIN
+9.59 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.12.1-e75655c7ff-1a6a4b6bc4.zip
Binary file not shown.
Binary file removed
BIN
-8.87 KB
.yarn/cache/acorn-import-assertions-npm-1.9.0-22f56507c7-af8dd58f6b.zip
Binary file not shown.
Binary file added
BIN
+10.6 KB
.yarn/cache/acorn-import-attributes-npm-1.9.5-d1e666eb35-8bfbfbb6e2.zip
Binary file not shown.
Binary file added
BIN
+22.4 KB
.yarn/cache/terser-webpack-plugin-npm-5.3.10-3bde1920fb-fb1c2436ae.zip
Binary file not shown.
Binary file removed
BIN
-22.4 KB
.yarn/cache/terser-webpack-plugin-npm-5.3.9-7ba1eb45f4-339737a407.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
packages/react/src/components/FluidTextArea/FluidTextArea.Skeleton.js
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
packages/react/src/components/FluidTextArea/FluidTextArea.Skeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import { usePrefix } from '../../internal/usePrefix'; | ||
import { FormContext } from '../FluidForm/FormContext'; | ||
|
||
export interface FluidTextAreaSkeletonProps { | ||
/** | ||
* Specify an optional className to be applied to the outer FluidForm wrapper | ||
*/ | ||
className?: string; | ||
} | ||
|
||
function FluidTextAreaSkeleton({ className, ...other }) { | ||
const prefix = usePrefix(); | ||
|
||
const FluidTextAreaSkeleton: React.FC<FluidTextAreaSkeletonProps> = ({ | ||
className, | ||
...other | ||
}) => { | ||
const prefix = usePrefix(); | ||
|
||
return ( | ||
<FormContext.Provider value={{ isFluid: true }}> | ||
<div | ||
className={classnames( | ||
`${prefix}--form-item ${prefix}--text-area--fluid__skeleton`, | ||
className | ||
)} | ||
{...other}> | ||
<span className={`${prefix}--label ${prefix}--skeleton`} /> | ||
<div className={`${prefix}--skeleton ${prefix}--text-area`} /> | ||
</div> | ||
</FormContext.Provider> | ||
); | ||
}; | ||
} | ||
|
||
FluidTextAreaSkeleton.propTypes = { | ||
/** | ||
* Specify an optional className to be applied to the outer FluidForm wrapper | ||
*/ | ||
className: PropTypes.string, | ||
}; | ||
|
||
export default FluidTextAreaSkeleton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.