From 8ec888d96a2ae7bd7274786ee01ebc6f8c8e76b8 Mon Sep 17 00:00:00 2001 From: John Thomson Date: Tue, 7 Jul 2026 12:55:18 -0500 Subject: [PATCH 1/4] chore: add unmodified scoped styles polyfill from style-scoped package Copied from node_modules/style-scoped/scoped.js as a baseline. This is the original Google polyfill with no modifications. Co-Authored-By: Claude Haiku 4.5 --- src/scoped-styles-polyfill.js | 558 ++++++++++++++++++++++++++++++++++ 1 file changed, 558 insertions(+) create mode 100644 src/scoped-styles-polyfill.js diff --git a/src/scoped-styles-polyfill.js b/src/scoped-styles-polyfill.js new file mode 100644 index 00000000..d01ad68b --- /dev/null +++ b/src/scoped-styles-polyfill.js @@ -0,0 +1,558 @@ +/* + * Copyright 2017 Google Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * @fileoverview Polyfill for `