mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
Add stability warning comment to SCSS source files (#5960)
Adds a stability warning comment to the top of all `src/style.scss` files in the following Uppy packages to inform consumers that the source code and variables are not part of the stable API: - @uppy/audio - @uppy/core - @uppy/dashboard - @uppy/drag-drop - @uppy/drop-target - @uppy/image-editor - @uppy/provider-views - @uppy/screen-capture - @uppy/status-bar - @uppy/url - @uppy/webcam The comment added is: ```scss // NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases! ``` This warning helps clarify that while the compiled CSS output and public APIs remain stable, the internal SCSS source files, variables, and implementation details should not be relied upon by consumers as they may change without notice in any release. The changes are minimal and surgical - exactly one line added to the top of each file with no other modifications to existing code. <!-- START COPILOT CODING AGENT SUFFIX --> *This pull request was created as a result of the following prompt from Copilot chat.* > Add the following comment at the very top of each src/style.scss file in the following Uppy packages: @uppy/audio, @uppy/core, @uppy/dashboard, @uppy/drag-drop, @uppy/drop-target, @uppy/image-editor, @uppy/provider-views, @uppy/screen-capture, @uppy/status-bar, @uppy/url, @uppy/webcam. > > Comment to add: > // NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases! > > Ensure the comment is the first line in each file, above any existing code or imports. <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/transloadit/uppy/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mifi <402547+mifi@users.noreply.github.com> Co-authored-by: Prakash <qxprakash@gmail.com> Co-authored-by: Mikael Finstad <finstaden@gmail.com>
This commit is contained in:
parent
f5a3d37331
commit
84cf20ea4c
22 changed files with 22 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss' as *;
|
||||
@use '@uppy/core/src/_variables.scss' as *;
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use '_variables.scss';
|
||||
@use '_utils.scss';
|
||||
@use '_common.scss';
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
||||
.uppy-is-drag-over::after {
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use 'inputrange' with (
|
||||
$track-color: rgba(#fff, 0.2),
|
||||
$thumb-color: #fff,
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
".": "./lib/index.js",
|
||||
"./css/style.css": "./dist/style.css",
|
||||
"./css/style.min.css": "./dist/style.min.css",
|
||||
"./css/style.scss": "./src/style.scss",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// NOTE TO CONSUMERS: The code and variables in these source files are not considered stable and can change at any time, even in minor and patch releases!
|
||||
@use "sass:color";
|
||||
@use '@uppy/core/src/_utils.scss';
|
||||
@use '@uppy/core/src/_variables.scss';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue