diff --git a/.changeset/config.json b/.changeset/config.json
index 15e3060d4..42b7c627c 100644
--- a/.changeset/config.json
+++ b/.changeset/config.json
@@ -7,5 +7,18 @@
"access": "restricted",
"baseBranch": "next",
"updateInternalDependencies": "patch",
- "ignore": []
+ "ignore": [
+ "@phase2/outline-core-accordion",
+ "@phase2/outline-core-alert",
+ "@phase2/outline-core-breadcrumb",
+ "@phase2/outline-core-card",
+ "@phase2/outline-core-container",
+ "@phase2/outline-core-form",
+ "@phase2/outline-core-icon",
+ "@phase2/outline-core-image",
+ "@phase2/outline-core-list",
+ "@phase2/outline-core-modal",
+ "@phase2/outline-core-text",
+ "@phase2/outline-core-youtube"
+ ]
}
diff --git a/.eslintignore b/.eslintignore
index 4b565813e..ab5fccd87 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -18,4 +18,4 @@ storybook-static/
.yarn/
project/
*.d.ts
-packages/outline-cli/
+packages/tools/outline-cli/
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3f9c533d6..d47a32e6c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -32,183 +32,94 @@ on:
jobs:
# Basic setup job to prepare codebase.
setup:
- name: Install Codebase
+ name: Install & Lint Codebase
runs-on: ubuntu-latest
- strategy:
- matrix:
- # The node versions to test against.
- node: [ 16, 18 ]
# The steps for the setup job.
steps:
# @see https://github.com/marketplace/actions/checkout
- name: Checkout Codebase
uses: actions/checkout@v3
- # @see https://github.com/marketplace/actions/setup-node-js-environment
+ # @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v3
with:
- # The node version to use.
- node-version: ${{ matrix.node }}
+ node-version-file: '.nvmrc'
cache: 'yarn'
+ cache-dependency-path: |
+ **/yarn.lock
+ **/node_modules
+ **/dist
+ **/.turbo
# The registry to use by default for package publishing.
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@phase2'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
+
- name: Initialize .npmrc
run: cp $NPM_CONFIG_USERCONFIG .npmrc
+ # # @see https://github.com/marketplace/actions/cache
+ # # node_modules caching is validated by always running yarn install.
+ # # Turborepo cache lives inside node_modules/.cache/turbo
+ # - name: Get yarn cache directory path
+ # id: yarn-cache-dir-path
+ # run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
+
+ # - name: Setup Cache
+ # id: cache-yarn
+ # uses: actions/cache@v3
+ # env:
+ # cache-name: cache-node-modules
+ # with:
+ # path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
+ # key: ${{ runner.os }}-node-yarn-18-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
+ # restore-keys:
+ # ${{ runner.os }}-node-yarn-18-${{ env.cache-name }}-
+ # ${{ runner.os }}-node-yarn-${{ env.cache-name }}-
+ # ${{ runner.os }}-node-yarn-
+
- name: Install
- run: yarn install --check-cache
+ run: yarn install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_PACKAGES }}
+ - name: Run eslint
+ run: yarn lint:eslint
+
+ - name: Run prettier
+ run: yarn lint:prettier
# Job to run build, and basic assurances the codebase is ready for additional processing.
build_outline:
name: Build Outline Codebase
runs-on: ubuntu-latest
needs: ['setup']
- strategy:
- matrix:
- node: [ 16, 18 ]
# The steps for the setup job.
steps:
# @see https://github.com/marketplace/actions/checkout
- name: Checkout Codebase
uses: actions/checkout@v3
+ # @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v3
with:
- node-version: ${{ matrix.node }}
+ node-version-file: '.nvmrc'
cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
- - name: Install
- run: yarn install --prefer-offline
-
- - name: Build from cache
- run: yarn build
-
- - name: Build Storybook
- run: yarn storybook:build
-
- # Test initialization of a new project
- build_project:
- name: Initialize and Test Build of Project Codebase
- runs-on: ubuntu-latest
- needs: ['build_outline']
- strategy:
- matrix:
- node: [ 16, 18 ]
- # The steps for the setup job.
- steps:
- # @see https://github.com/marketplace/actions/checkout
- - name: Checkout Codebase
- uses: actions/checkout@v3
-
- - uses: actions/setup-node@v3
- with:
- node-version: ${{ matrix.node }}
- cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
- - name: Install
- run: yarn install --prefer-offline
-
- - name: Build from cache
- run: yarn build
-
- - name: Generate a project
- run: |
- PROJDIR=$(mktemp -d)
- cd $PROJDIR
- npx ${{ github.workspace }}/packages/outline-cli init -a -l -s prj
- cd prj
- yarn install --prefer-offline
- yarn build
- yarn storybook:build
-
- # Job to run package publishing process.
- test:
- name: Test Codebase
- runs-on: ubuntu-latest
- needs: ['setup']
- strategy:
- matrix:
- node: [ 16, 18 ]
- # The steps for the setup job.
- steps:
- # @see https://github.com/marketplace/actions/checkout
- - name: Checkout Codebase
- uses: actions/checkout@v3
-
- - uses: actions/setup-node@v3
- with:
- node-version: ${{ matrix.node }}
- cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
+ cache-dependency-path: |
+ **/yarn.lock
+ **/node_modules
+ **/dist
+ **/.turbo
+ # The registry to use by default for package publishing.
+ registry-url: 'https://npm.pkg.github.com'
+ # Defaults to the user or organization that owns the workflow file
+ scope: '@phase2'
- name: Install
- run: yarn install --prefer-offline
+ run: yarn install
- - name: Build Outline
+ - name: Build Turborepo Packages
run: yarn build
- - name: Run eslint
- run: yarn lint:eslint
-
- - name: Run prettier
- run: yarn lint:prettier
-
- name: Build Storybook
run: yarn storybook:build
@@ -217,7 +128,7 @@ jobs:
name: "Publish: GitHub Pages"
if: github.ref == 'refs/heads/next'
runs-on: ubuntu-latest
- needs: ['setup', 'build_outline', 'test']
+ needs: ['setup', 'build_outline']
# The steps for the setup job.
steps:
@@ -225,26 +136,23 @@ jobs:
- name: Checkout codebase
uses: actions/checkout@v3
+ # @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v3
with:
- node-version: '16'
+ node-version-file: '.nvmrc'
cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
+ cache-dependency-path: |
+ **/yarn.lock
+ **/node_modules
+ **/dist
+ **/.turbo
+ # The registry to use by default for package publishing.
+ registry-url: 'https://npm.pkg.github.com'
+ # Defaults to the user or organization that owns the workflow file
+ scope: '@phase2'
- name: Install
- run: yarn install --prefer-offline
+ run: yarn install
- name: Build Outline
run: yarn build
@@ -277,155 +185,3 @@ jobs:
name: storybook-latest
path: storybook-static/
retention-days: 1
-
- # Job to run package publishing process.
- # This should ONLY be ran on on branches where
- deploy-github-packages:
- name: "Publish: GitHub Packages"
- runs-on: ubuntu-latest
- if: github.ref == 'refs/heads/release'
- needs: ['setup', 'build_outline', 'test']
-
- # The steps for the build job.
- steps:
- # @see https://github.com/marketplace/actions/checkout
- - name: Checkout codebase
- uses: actions/checkout@v3
-
- - uses: actions/setup-node@v3
- with:
- node-version: '16'
- registry-url: 'https://npm.pkg.github.com'
- # Defaults to the user or organization that owns the workflow file
- scope: '@phase2'
- cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
- - name: Install
- run: yarn install --prefer-offline
-
- - name: Build Outline
- run: yarn build
-
- - name: Manage Changesets
- id: changesets
- uses: changesets/action@v1
- env:
- GITHUB_TOKEN: ${{ secrets.NPM_GITHUB_PACKAGES }}
-
- - name: Publish
- if: steps.changesets.outputs.hasChangesets == 'false'
- # You can do something when a publish should happen.
- run: yarn changeset publish
-
- # Job to run package publishing process.
- # This should ONLY be ran on on branches where
- deploy-npm-packages:
- name: "Publish: NPM Packages"
- runs-on: ubuntu-latest
- if: github.ref == 'refs/heads/release'
- needs: ['setup', 'build_outline', 'test']
-
- # The steps for the build job.
- steps:
- # @see https://github.com/marketplace/actions/checkout
- - name: Checkout codebase
- uses: actions/checkout@v3
-
- - uses: actions/setup-node@v3
- with:
- node-version: '16'
- registry-url: 'https://registry.npmjs.org/'
- # Defaults to the user or organization that owns the workflow file
- scope: '@phase2'
- cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
- - name: Install
- run: yarn install --prefer-offline
-
- - name: Build Outline
- run: yarn build
-
- - name: Manage Changesets
- id: changesets
- uses: changesets/action@v1
- env:
- GITHUB_TOKEN: ${{ secrets.NPM_NPM_PACKAGES }}
-
- - name: Publish
- if: steps.changesets.outputs.hasChangesets == 'false'
- # You can do something when a publish should happen.
- run: yarn changeset publish
-
- chromatic-deployment:
- name: "Publish: Chromatic"
- runs-on: ubuntu-latest
- needs: ['setup', 'build_outline', 'test']
-
- steps:
- # @see https://github.com/marketplace/actions/checkout
- - name: Checkout codebase
- uses: actions/checkout@v3
- with:
- fetch-depth: 0 # 👈 Required to retrieve git history
-
- - uses: actions/setup-node@v3
- with:
- node-version: '16'
- cache: 'yarn'
-
- # @see https://github.com/marketplace/actions/cache
- # node_modules caching is validated by always running yarn install.
- # Turborepo cache lives inside node_modules/.cache/turbo
- - uses: actions/cache@v3
- id: yarn-cache
- with:
- path: |
- node_modules
- storybook-static
- key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-node-${{ matrix.node }}-yarn-
-
- - name: Install
- run: yarn install --prefer-offline
-
- - name: Build Outline
- run: yarn build
-
- - name: Build Storybook
- run: yarn storybook:build
-
- - name: Publish to Chromatic
- uses: chromaui/action@v1
- # Required options for the Chromatic GitHub Action
- with:
- # 👇 Chromatic projectToken, refer to the manage page to obtain it.
- projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- buildScriptName: storybook:build
- autoAcceptChanges: true # 👈 Option to accept all changes
diff --git a/.gitpod.yml b/.gitpod.yml
index dfc3ddac2..1a664555c 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -3,8 +3,8 @@ image:
tasks:
- init: |
- yarn
nvm install
+ yarn
command: |
yarn start
@@ -13,7 +13,7 @@ vscode:
- bradlc.vscode-tailwindcss
- pranaygp.vscode-css-peek
- runem.lit-plugin
- - silvenon.mdx
+ - unifiedjs.vscode-mdx
- streetsidesoftware.code-spell-checker
ports:
@@ -21,22 +21,3 @@ ports:
- port: 6042
onOpen: open-preview
visibility: public
-
-github:
- prebuilds:
- # enable for the master/default branch (defaults to true)
- master: true
- # enable for all branches in this repo (defaults to false)
- branches: true
- # enable for pull requests coming from this repo (defaults to true)
- pullRequests: true
- # enable for pull requests coming from forks (defaults to false)
- pullRequestsFromForks: true
- # add a check to pull requests (defaults to true)
- addCheck: true
- # add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
- addComment: false
- # add a "Review in Gitpod" button to the pull request's description (defaults to false)
- addBadge: true
- # add a label once the prebuild is ready to pull requests (defaults to false)
- addLabel: true
diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg
new file mode 100755
index 000000000..5e934ff4d
--- /dev/null
+++ b/.husky/prepare-commit-msg
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+if [ "$LEFTHOOK" = "0" ]; then
+ exit 0
+fi
+
+call_lefthook()
+{
+ dir="$(git rev-parse --show-toplevel)"
+ osArch=$(uname | tr '[:upper:]' '[:lower:]')
+ cpuArch=$(uname -m | sed 's/aarch64/arm64/')
+
+ if lefthook -h >/dev/null 2>&1
+ then
+ lefthook "$@"
+ elif test -f "$dir/node_modules/lefthook/bin/index.js"
+ then
+ "$dir/node_modules/lefthook/bin/index.js" "$@"
+ elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook"
+ then
+ "$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"
+ elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook"
+ then
+ "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"
+ elif bundle exec lefthook -h >/dev/null 2>&1
+ then
+ bundle exec lefthook "$@"
+ elif yarn lefthook -h >/dev/null 2>&1
+ then
+ yarn lefthook "$@"
+ elif pnpm lefthook -h >/dev/null 2>&1
+ then
+ pnpm lefthook "$@"
+ elif command -v npx >/dev/null 2>&1
+ then
+ npx @evilmartians/lefthook "$@"
+ elif swift package plugin lefthook >/dev/null 2>&1
+ then
+ swift package --disable-sandbox plugin lefthook "$@"
+ else
+ echo "Can't find lefthook in PATH"
+ fi
+}
+
+call_lefthook run "prepare-commit-msg" "$@"
diff --git a/.lintstagedrc b/.lintstagedrc
index d5266343e..c1eabc3e0 100644
--- a/.lintstagedrc
+++ b/.lintstagedrc
@@ -3,7 +3,5 @@
"eslint --rule 'no-console: error' --fix",
"prettier --write"
],
- "*.{json,md}": [
- "prettier --write"
- ]
+ "*.{json,md}": ["prettier --write"]
}
diff --git a/.nvmrc b/.nvmrc
index b6a7d89c6..3c032078a 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-16
+18
diff --git a/.prettierignore b/.prettierignore
index 2954f0e36..da2cbc66e 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -28,3 +28,6 @@ outline.theme.css
**/vars-*.css
*.d.ts
*.global.scoped.css
+
+# Ignore all stories (Storybook) files:
+**/*.stories.ts
diff --git a/.prettierrc.json b/.prettierrc.json
index 079a6b4a3..94c81cd85 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -8,6 +8,5 @@
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
- "useTabs": false,
- "embeddedLanguageFormatting": "off"
+ "useTabs": false
}
diff --git a/.storybook/main.js b/.storybook/main.js
index 045865925..0a1947813 100644
--- a/.storybook/main.js
+++ b/.storybook/main.js
@@ -1,19 +1,23 @@
+import { dirname, join } from 'path';
+
module.exports = {
stories: [
// Intentionally ordering welcome page first.
- '../packages/outline-docs/src/guides/welcome.mdx',
+ '../packages/documentation/outline-docs/src/guides/welcome.mdx',
// Component development guides.
- '../packages/outline-docs/src/guides/development/component-development/**/*.mdx',
+ '../packages/documentation/outline-docs/src/guides/development/component-development/**/*.mdx',
// Component usage guides.
- '../packages/outline-docs/src/guides/consumers/**/*.mdx',
+ '../packages/documentation/outline-docs/src/guides/consumers/**/*.mdx',
// QA/UAT usage guides.
- '../packages/outline-docs/src/guides/qa-uat/**/*.mdx',
+ '../packages/documentation/outline-docs/src/guides/qa-uat/**/*.mdx',
// Tooling usage guides.
- '../packages/outline-docs/src/guides/tooling/**/*.mdx',
+ '../packages/documentation/outline-docs/src/guides/tooling/**/*.mdx',
// Documentation stories.
- '../packages/outline-docs/src/guides/**/*.stories.@(js|ts|mdx)',
- // Component stories.
- '../packages/outline-storybook/stories/**/*.stories.@(js|ts|mdx)',
+ '../packages/documentation/outline-docs/src/guides/**/*.@(js|ts|mdx)',
+ // Modern component stories.
+ '../packages/**/docs/*.mdx',
+ // Old component stories.
+ '../packages/documentation/outline-storybook/stories/**/*.stories.@(js|ts|mdx)',
],
typescript: {
check: false,
@@ -26,12 +30,12 @@ module.exports = {
],
features: {
storyStoreV7: true,
- postcss: false,
+ postcss: true,
buildStoriesJson: true,
modernInlineRender: true,
},
framework: {
- name: '@storybook/web-components-vite',
+ name: getAbsolutePath('@storybook/web-components-vite'),
options: {},
},
docs: {
@@ -39,3 +43,7 @@ module.exports = {
defaultName: 'Documentation', // set to change the name of generated docs entries
},
};
+
+function getAbsolutePath(value) {
+ return dirname(require.resolve(join(value, 'package.json')));
+}
diff --git a/README.md b/README.md
index 830d8e12c..5f7735bee 100644
--- a/README.md
+++ b/README.md
@@ -69,6 +69,6 @@ outline init
Detailed information regarding how to contribute to Outline development, can be found in [CONTRIBUTING.md](./CONTRIBUTING.md). **Expect this information to be refined soon.**
-Please see [./docs/README.md](./docs/README.md) for information about developing for Outline.
+Please see [Component Development Guide](https://github.com/phase2/outline/tree/affc18d1a7ca6a304813f97f0563afcb6967a6ef/packages/documentation/outline-docs/src/guides/development/component-development) for information about developing for Outline.
[![Deploys by Netlify](https://www.netlify.com/v3/img/components/netlify-color-accent.svg 'Deploys by Netlify')](https://www.netlify.com)
diff --git a/lefthook.yml b/lefthook.yml
new file mode 100644
index 000000000..7fc04df60
--- /dev/null
+++ b/lefthook.yml
@@ -0,0 +1,17 @@
+# EXAMPLE USAGE:
+#
+# Refer for explanation to following link:
+# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
+#
+# pre-push:
+# commands:
+# packages-audit:
+# tags: frontend security
+# run: yarn audit
+#
+pre-commit:
+ parallel: true
+ commands:
+ eslint:
+ glob: '*.{js,ts,jsx,tsx,mdx,cjs,mjs}'
+ run: yarn eslint {staged_files}
diff --git a/outline.config.js b/outline.config.js
index 396d991e6..543eea540 100644
--- a/outline.config.js
+++ b/outline.config.js
@@ -1,7 +1,7 @@
const defaultConfig = require(`@phase2/outline-config/outline.config`);
// Used to process PostCSS plugins against Storybook specific styles.
-const storybookPath = 'packages/outline-storybook/config';
+const storybookPath = 'packages/documentation/outline-storybook/config';
const destBasePath = 'dist';
module.exports = {
...defaultConfig,
@@ -13,7 +13,7 @@ module.exports = {
},
],
fouc: {
- enabled: false,
+ enabled: true,
dest: `${destBasePath}/fouc.css`,
},
},
diff --git a/package.json b/package.json
index b1905be7f..b56238118 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,13 @@
"private": true,
"storybook_port": 6042,
"workspaces": [
- "./packages/*"
+ "./packages/*",
+ "./packages/components/*",
+ "./packages/components/@deprecated/*",
+ "./packages/documentation/*",
+ "./packages/controllers/*",
+ "./packages/controllers/@deprecated/*",
+ "./packages/tools/*"
],
"files": [
"./packages/*/dist"
@@ -28,7 +34,7 @@
"scripts": {
"prepare": "husky install",
"analyze": "yarn build && wca analyze 'packages/**/*.ts' --outFiles '{dir}/../README.md'",
- "build": "turbo run build",
+ "build": "turbo run build --concurrency=100%",
"changeset": "changeset",
"changeset:publish": "yarn build && yarn changeset:version && yarn changeset publish",
"changeset:version": "changeset version",
@@ -60,10 +66,13 @@
"reset:root": "rimraf ./node_modules",
"reset:install": "yarn install",
"restart": "yarn reset && yarn start",
- "start": "yarn storybook dev -p ${npm_package_storybook_port}",
+ "start": "yarn watch",
"storybook": "storybook",
"storybook:build": "storybook build",
- "test": "turbo run test"
+ "test": "turbo run test",
+ "watch": "npm-run-all -p watch:*",
+ "watch:storybook": "yarn storybook dev -p ${npm_package_storybook_port}",
+ "watch:css": "node scripts/styles.mjs --watch"
},
"keywords": [
"web-components",
@@ -72,22 +81,21 @@
],
"packageManager": "yarn@1.22.19",
"engines": {
- "node": ">=16"
+ "node": ">=18"
},
"devDependencies": {
- "@adobe/css-tools": "^4.3.0-beta.2",
+ "@adobe/css-tools": "^4.3.0",
"@babel/core": "^7.18.13",
"@changesets/cli": "^2.24.3",
"@commitlint/cli": "^17.4.0",
"@commitlint/config-conventional": "^17.4.0",
"@open-wc/testing": "^3.0.0-next.2",
- "@storybook/addon-actions": "^7.0.0-beta.49",
- "@storybook/addon-essentials": "^7.0.0-beta.49",
- "@storybook/addon-links": "^7.0.0-beta.49",
- "@storybook/addon-postcss": "^3.0.0-alpha.1",
- "@storybook/builder-vite": "^7.0.0-beta.49",
- "@storybook/web-components": "^7.0.0-beta.49",
- "@storybook/web-components-vite": "^7.0.0-beta.49",
+ "@storybook/addon-actions": "^7.4.6",
+ "@storybook/addon-docs": "^7.4.6",
+ "@storybook/addon-essentials": "^7.4.6",
+ "@storybook/addon-links": "^7.4.6",
+ "@storybook/web-components": "^7.4.6",
+ "@storybook/web-components-vite": "^7.4.6",
"@types/estree": "^0.0.47",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
@@ -101,11 +109,12 @@
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.23.0",
- "eslint-plugin-storybook": "^0.6.8",
+ "eslint-plugin-storybook": "^0.6.15",
"gaze": "^1.1.3",
"husky": "^8.0.3",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
+ "lefthook": "^1.5.2",
"lint-staged": "^10.5.4",
"lit-analyzer": "^1.2.1",
"lit-html": "^2.3.1",
@@ -123,12 +132,12 @@
"react-syntax-highlighter": "^15.5.0",
"rimraf": "^3.0.2",
"rsync": "^0.6.1",
- "storybook": "^7.0.0-beta.49",
+ "storybook": "^7.4.6",
"svgo": "^2.8.0",
"tailwindcss": "3.0.0",
"ts-lit-plugin": "^1.2.1",
"turbo": "^1.2.16",
- "vite": "^3.0.0"
+ "vite": "^4.1.4"
},
"dependencies": {},
"bugs": {
diff --git a/packages/README.md b/packages/README.md
new file mode 100644
index 000000000..113f4774e
--- /dev/null
+++ b/packages/README.md
@@ -0,0 +1,36 @@
+# Packages
+
+> The `packages` directory is setup in an organized fashion to help organize more efficient package releases.
+
+## Notes on directory structure
+
+The following describes how packages are organized.
+This is open for adjustment based on future needs.
+
+- Primary `outline-core-*` component packages live at the root of `packages/components`.
+- Dated packages to `packages/components/@deprecated`.
+ - These packages are either completely deprecated or in need of an update for 2023 to our new `outline-core-*` format, and pass audits for a11y, and ensuring alignment with the (currently internal) Design Starter Kit.
+- Controller packages live in `packages/controllers`.
+ - Deprecated controllers live in `packages/controllers/@deprecated`.
+- Documentation related packages and components live in `packages/documentation`.
+- Tooling related packages live in `packages/tools`.
+
+## `yarn` workspaces
+
+Yarn workspaces are a feature of [Yarn](https://yarnpkg.com/) that allows you to manage multiple packages within a single top-level, root package. It provides a convenient way to work on interdependent packages, making it easier to develop and test changes across multiple packages simultaneously. For more information, you can refer to the [Yarn workspaces documentation](https://yarnpkg.com/features/workspaces).
+
+To define the workspaces in your project, you can use the `workspaces` field in your `package.json` file. This field should be an array of glob patterns that specify the directories containing your packages.
+
+Here is an example of how the current workspaces are set up:
+
+```json
+"workspaces": [
+ "./packages/*",
+ "./packages/components/*",
+ "./packages/components/@deprecated/*",
+ "./packages/documentation/*",
+ "./packages/controllers/*",
+ "./packages/controllers/@deprecated/*",
+ "./packages/tools/*"
+],
+```
diff --git a/packages/components/@deprecated/README.md b/packages/components/@deprecated/README.md
new file mode 100644
index 000000000..ebffa8113
--- /dev/null
+++ b/packages/components/@deprecated/README.md
@@ -0,0 +1,3 @@
+# `./packages/components/@deprecated`
+
+> This directory contains a collection of deprecated web components that are no longer actively maintained. These components may still be useful in some legacy applications, but we recommend using the components in the `./packages/components` directory for new projects.
diff --git a/packages/outline-accordion/CHANGELOG.md b/packages/components/@deprecated/outline-accordion/CHANGELOG.md
similarity index 53%
rename from packages/outline-accordion/CHANGELOG.md
rename to packages/components/@deprecated/outline-accordion/CHANGELOG.md
index 1a4cfe7c6..4aaca4d7f 100644
--- a/packages/outline-accordion/CHANGELOG.md
+++ b/packages/components/@deprecated/outline-accordion/CHANGELOG.md
@@ -1,5 +1,31 @@
# @phase2/outline-accordion
+## 0.1.7
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-icon@0.1.5
+ - @phase2/outline-core@0.2.5
+
+## 0.1.6
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-icon@0.1.4
+ - @phase2/outline-core@0.2.3
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+ - @phase2/outline-icon@0.1.3
+
## 0.1.4
### Patch Changes
diff --git a/packages/outline-accordion/README.md b/packages/components/@deprecated/outline-accordion/README.md
similarity index 100%
rename from packages/outline-accordion/README.md
rename to packages/components/@deprecated/outline-accordion/README.md
diff --git a/packages/outline-accordion/index.ts b/packages/components/@deprecated/outline-accordion/index.ts
similarity index 100%
rename from packages/outline-accordion/index.ts
rename to packages/components/@deprecated/outline-accordion/index.ts
diff --git a/packages/outline-accordion/package.json b/packages/components/@deprecated/outline-accordion/package.json
similarity index 68%
rename from packages/outline-accordion/package.json
rename to packages/components/@deprecated/outline-accordion/package.json
index 90e0bf239..16159dd19 100644
--- a/packages/outline-accordion/package.json
+++ b/packages/components/@deprecated/outline-accordion/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-accordion",
- "version": "0.1.4",
+ "version": "0.1.7",
"description": "The Outline Components for the web accordion component",
"keywords": [
"outline components",
@@ -19,16 +19,17 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-accordion"
+ "directory": "packages/components/@deprecated/outline-accordion"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-accordion",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
- "@phase2/outline-icon": "^0.1.2",
+ "@phase2/outline-core": "^0.2.5",
+ "@phase2/outline-icon": "^0.1.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-accordion/src/README.md b/packages/components/@deprecated/outline-accordion/src/README.md
similarity index 100%
rename from packages/outline-accordion/src/README.md
rename to packages/components/@deprecated/outline-accordion/src/README.md
diff --git a/packages/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.css b/packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.css
similarity index 100%
rename from packages/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.css
rename to packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.css
diff --git a/packages/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.ts b/packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.ts
similarity index 100%
rename from packages/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.ts
rename to packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/outline-accordion-panel.ts
diff --git a/packages/outline-accordion/src/outline-accordion-panel/test/outline-accordion-panel.test.ts b/packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/test/outline-accordion-panel.test.ts
similarity index 100%
rename from packages/outline-accordion/src/outline-accordion-panel/test/outline-accordion-panel.test.ts
rename to packages/components/@deprecated/outline-accordion/src/outline-accordion-panel/test/outline-accordion-panel.test.ts
diff --git a/packages/outline-accordion/src/outline-accordion.css b/packages/components/@deprecated/outline-accordion/src/outline-accordion.css
similarity index 100%
rename from packages/outline-accordion/src/outline-accordion.css
rename to packages/components/@deprecated/outline-accordion/src/outline-accordion.css
diff --git a/packages/outline-accordion/src/outline-accordion.ts b/packages/components/@deprecated/outline-accordion/src/outline-accordion.ts
similarity index 100%
rename from packages/outline-accordion/src/outline-accordion.ts
rename to packages/components/@deprecated/outline-accordion/src/outline-accordion.ts
diff --git a/packages/outline-accordion/src/test/outline-accordion.test.js b/packages/components/@deprecated/outline-accordion/src/test/outline-accordion.test.js
similarity index 100%
rename from packages/outline-accordion/src/test/outline-accordion.test.js
rename to packages/components/@deprecated/outline-accordion/src/test/outline-accordion.test.js
diff --git a/packages/outline-accordion/src/test/outline-accordion.test.ts b/packages/components/@deprecated/outline-accordion/src/test/outline-accordion.test.ts
similarity index 100%
rename from packages/outline-accordion/src/test/outline-accordion.test.ts
rename to packages/components/@deprecated/outline-accordion/src/test/outline-accordion.test.ts
diff --git a/packages/components/@deprecated/outline-accordion/tsconfig.build.json b/packages/components/@deprecated/outline-accordion/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-accordion/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-admin-links/CHANGELOG.md b/packages/components/@deprecated/outline-admin-links/CHANGELOG.md
new file mode 100644
index 000000000..94280ea87
--- /dev/null
+++ b/packages/components/@deprecated/outline-admin-links/CHANGELOG.md
@@ -0,0 +1,58 @@
+# @phase2/outline-admin-links
+
+## 0.1.8
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.7
+
+### Patch Changes
+
+- Updated template literals
+
+## 0.1.6
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.4
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
+
+## 0.1.3
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.1.2
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
+
+## 0.1.1
+
+### Patch Changes
+
+- CSS Variable update version bumps.
+- Updated dependencies
+ - @phase2/outline-core@0.1.7
diff --git a/packages/outline-admin-links/README.md b/packages/components/@deprecated/outline-admin-links/README.md
similarity index 100%
rename from packages/outline-admin-links/README.md
rename to packages/components/@deprecated/outline-admin-links/README.md
diff --git a/packages/outline-admin-links/index.ts b/packages/components/@deprecated/outline-admin-links/index.ts
similarity index 100%
rename from packages/outline-admin-links/index.ts
rename to packages/components/@deprecated/outline-admin-links/index.ts
diff --git a/packages/outline-admin-links/package.json b/packages/components/@deprecated/outline-admin-links/package.json
similarity index 71%
rename from packages/outline-admin-links/package.json
rename to packages/components/@deprecated/outline-admin-links/package.json
index ea55b6df4..792019710 100644
--- a/packages/outline-admin-links/package.json
+++ b/packages/components/@deprecated/outline-admin-links/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-admin-links",
- "version": "0.1.4",
+ "version": "0.1.8",
"description": "The Outline Components for the outline-admin-links component",
"keywords": [
"outline components",
@@ -20,15 +20,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-admin-links"
+ "directory": "packages/components/@deprecated/outline-admin-links"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-admin-links",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-admin-links/src/css-variables/vars-admin-links.css b/packages/components/@deprecated/outline-admin-links/src/css-variables/vars-admin-links.css
similarity index 100%
rename from packages/outline-admin-links/src/css-variables/vars-admin-links.css
rename to packages/components/@deprecated/outline-admin-links/src/css-variables/vars-admin-links.css
diff --git a/packages/outline-admin-links/src/outline-admin-links.css b/packages/components/@deprecated/outline-admin-links/src/outline-admin-links.css
similarity index 100%
rename from packages/outline-admin-links/src/outline-admin-links.css
rename to packages/components/@deprecated/outline-admin-links/src/outline-admin-links.css
diff --git a/packages/outline-admin-links/src/outline-admin-links.ts b/packages/components/@deprecated/outline-admin-links/src/outline-admin-links.ts
similarity index 94%
rename from packages/outline-admin-links/src/outline-admin-links.ts
rename to packages/components/@deprecated/outline-admin-links/src/outline-admin-links.ts
index dcc90dc3d..5ca57f5b8 100644
--- a/packages/outline-admin-links/src/outline-admin-links.ts
+++ b/packages/components/@deprecated/outline-admin-links/src/outline-admin-links.ts
@@ -27,11 +27,7 @@ export class OutlineAdminLinks extends OutlineElement {
static styles: CSSResultGroup = [componentStyles];
render(): TemplateResult {
- return html`
-
- ${this.slots.renderInShadow('')}
-
- `;
+ return html` ${this.slots.renderInShadow('')}
`;
}
}
diff --git a/packages/outline-admin-links/src/test/outline-admin-links.test.ts b/packages/components/@deprecated/outline-admin-links/src/test/outline-admin-links.test.ts
similarity index 100%
rename from packages/outline-admin-links/src/test/outline-admin-links.test.ts
rename to packages/components/@deprecated/outline-admin-links/src/test/outline-admin-links.test.ts
diff --git a/packages/components/@deprecated/outline-admin-links/tsconfig.build.json b/packages/components/@deprecated/outline-admin-links/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-admin-links/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/outline-alert/CHANGELOG.md b/packages/components/@deprecated/outline-alert/CHANGELOG.md
similarity index 58%
rename from packages/outline-alert/CHANGELOG.md
rename to packages/components/@deprecated/outline-alert/CHANGELOG.md
index f11660971..1beeef66a 100644
--- a/packages/outline-alert/CHANGELOG.md
+++ b/packages/components/@deprecated/outline-alert/CHANGELOG.md
@@ -1,5 +1,34 @@
# @phase2/outline-alert
+## 0.1.10
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.9
+
+### Patch Changes
+
+- Updated template literals
+
+## 0.1.8
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.7
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
## 0.1.6
### Patch Changes
diff --git a/packages/outline-alert/README.md b/packages/components/@deprecated/outline-alert/README.md
similarity index 100%
rename from packages/outline-alert/README.md
rename to packages/components/@deprecated/outline-alert/README.md
diff --git a/packages/outline-alert/index.ts b/packages/components/@deprecated/outline-alert/index.ts
similarity index 100%
rename from packages/outline-alert/index.ts
rename to packages/components/@deprecated/outline-alert/index.ts
diff --git a/packages/outline-alert/package.json b/packages/components/@deprecated/outline-alert/package.json
similarity index 71%
rename from packages/outline-alert/package.json
rename to packages/components/@deprecated/outline-alert/package.json
index e7073f653..d27e62573 100644
--- a/packages/outline-alert/package.json
+++ b/packages/components/@deprecated/outline-alert/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-alert",
- "version": "0.1.6",
+ "version": "0.1.10",
"description": "The Outline Components for the web alert component",
"keywords": [
"outline components",
@@ -19,15 +19,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-alert"
+ "directory": "packages/components/@deprecated/outline-alert"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-alert",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-alert/src/css-variables/vars-alert.css b/packages/components/@deprecated/outline-alert/src/css-variables/vars-alert.css
similarity index 100%
rename from packages/outline-alert/src/css-variables/vars-alert.css
rename to packages/components/@deprecated/outline-alert/src/css-variables/vars-alert.css
diff --git a/packages/outline-alert/src/outline-alert.css b/packages/components/@deprecated/outline-alert/src/outline-alert.css
similarity index 100%
rename from packages/outline-alert/src/outline-alert.css
rename to packages/components/@deprecated/outline-alert/src/outline-alert.css
diff --git a/packages/outline-alert/src/outline-alert.ts b/packages/components/@deprecated/outline-alert/src/outline-alert.ts
similarity index 91%
rename from packages/outline-alert/src/outline-alert.ts
rename to packages/components/@deprecated/outline-alert/src/outline-alert.ts
index 1b38d1741..5fa5c651e 100644
--- a/packages/outline-alert/src/outline-alert.ts
+++ b/packages/components/@deprecated/outline-alert/src/outline-alert.ts
@@ -5,7 +5,7 @@ import { OutlineElement } from '@phase2/outline-core';
import componentStyles from './outline-alert.css.lit';
export const alertSizes = ['small', 'large'] as const;
-export type AlertSize = typeof alertSizes[number];
+export type AlertSize = (typeof alertSizes)[number];
export const alertStatusTypes = [
'info',
@@ -13,7 +13,7 @@ export const alertStatusTypes = [
'error',
'success',
] as const;
-export type AlertStatusType = typeof alertStatusTypes[number];
+export type AlertStatusType = (typeof alertStatusTypes)[number];
// This can be useful for testing.
export interface OutlineAlertInterface extends HTMLElement {
@@ -74,24 +74,20 @@ export class OutlineAlert
role="${this.isInteractive ? 'alertdialog' : 'alert'}"
aria-labelledby=${ifDefined(this.isInteractive ? 'message' : undefined)}
>
- ${
- this.shouldShowIcon === true
- ? html`
+ ${this.shouldShowIcon === true
+ ? html`
`
- : null
- }
- ${
- this.size === 'large'
- ? html`
+ : null}
+ ${this.size === 'large'
+ ? html`
`
- : null
- }
+ : null}
diff --git a/packages/outline-alert/src/test/outline-alert.test.ts b/packages/components/@deprecated/outline-alert/src/test/outline-alert.test.ts
similarity index 100%
rename from packages/outline-alert/src/test/outline-alert.test.ts
rename to packages/components/@deprecated/outline-alert/src/test/outline-alert.test.ts
diff --git a/packages/components/@deprecated/outline-alert/tsconfig.build.json b/packages/components/@deprecated/outline-alert/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-alert/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/outline-button/CHANGELOG.md b/packages/components/@deprecated/outline-breadcrumbs/CHANGELOG.md
similarity index 55%
rename from packages/outline-button/CHANGELOG.md
rename to packages/components/@deprecated/outline-breadcrumbs/CHANGELOG.md
index 1030262d7..649e3cc37 100644
--- a/packages/outline-button/CHANGELOG.md
+++ b/packages/components/@deprecated/outline-breadcrumbs/CHANGELOG.md
@@ -1,4 +1,27 @@
-# @phase2/outline-button
+# @phase2/outline-breadcrumbs
+
+## 0.1.7
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.6
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
## 0.1.4
@@ -13,16 +36,12 @@
### Patch Changes
- Update to @phase2/outline-core packages.
-- Updated dependencies
- - @phase2/outline-link@0.1.4
## 0.1.2
### Patch Changes
- Bumped versions with updated package contents.
-- Updated dependencies
- - @phase2/outline-link@0.1.3
## 0.1.1
@@ -31,4 +50,3 @@
- CSS Variable update version bumps.
- Updated dependencies
- @phase2/outline-core@0.1.7
- - @phase2/outline-link@0.1.2
diff --git a/packages/outline-breadcrumbs/README.md b/packages/components/@deprecated/outline-breadcrumbs/README.md
similarity index 100%
rename from packages/outline-breadcrumbs/README.md
rename to packages/components/@deprecated/outline-breadcrumbs/README.md
diff --git a/packages/outline-breadcrumbs/index.ts b/packages/components/@deprecated/outline-breadcrumbs/index.ts
similarity index 100%
rename from packages/outline-breadcrumbs/index.ts
rename to packages/components/@deprecated/outline-breadcrumbs/index.ts
diff --git a/packages/outline-breadcrumbs/package.json b/packages/components/@deprecated/outline-breadcrumbs/package.json
similarity index 71%
rename from packages/outline-breadcrumbs/package.json
rename to packages/components/@deprecated/outline-breadcrumbs/package.json
index 5b3939c2f..70d44bdd8 100644
--- a/packages/outline-breadcrumbs/package.json
+++ b/packages/components/@deprecated/outline-breadcrumbs/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-breadcrumbs",
- "version": "0.1.4",
+ "version": "0.1.7",
"description": "The Outline Components for the web breadcrumb component",
"keywords": [
"outline components",
@@ -19,15 +19,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-breadcrumbs"
+ "directory": "packages/components/@deprecated/outline-breadcrumbs"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-breadcrumbs",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-breadcrumbs/src/css-variables/vars-breadcrumbs.css b/packages/components/@deprecated/outline-breadcrumbs/src/css-variables/vars-breadcrumbs.css
similarity index 100%
rename from packages/outline-breadcrumbs/src/css-variables/vars-breadcrumbs.css
rename to packages/components/@deprecated/outline-breadcrumbs/src/css-variables/vars-breadcrumbs.css
diff --git a/packages/outline-breadcrumbs/src/outline-breadcrumbs.css b/packages/components/@deprecated/outline-breadcrumbs/src/outline-breadcrumbs.css
similarity index 100%
rename from packages/outline-breadcrumbs/src/outline-breadcrumbs.css
rename to packages/components/@deprecated/outline-breadcrumbs/src/outline-breadcrumbs.css
diff --git a/packages/outline-breadcrumbs/src/outline-breadcrumbs.ts b/packages/components/@deprecated/outline-breadcrumbs/src/outline-breadcrumbs.ts
similarity index 100%
rename from packages/outline-breadcrumbs/src/outline-breadcrumbs.ts
rename to packages/components/@deprecated/outline-breadcrumbs/src/outline-breadcrumbs.ts
diff --git a/packages/outline-breadcrumbs/src/test/outline-breadcrumbs.test.ts b/packages/components/@deprecated/outline-breadcrumbs/src/test/outline-breadcrumbs.test.ts
similarity index 100%
rename from packages/outline-breadcrumbs/src/test/outline-breadcrumbs.test.ts
rename to packages/components/@deprecated/outline-breadcrumbs/src/test/outline-breadcrumbs.test.ts
diff --git a/packages/components/@deprecated/outline-breadcrumbs/tsconfig.build.json b/packages/components/@deprecated/outline-breadcrumbs/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-breadcrumbs/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-button-group/CHANGELOG.md b/packages/components/@deprecated/outline-button-group/CHANGELOG.md
new file mode 100644
index 000000000..438f7cb17
--- /dev/null
+++ b/packages/components/@deprecated/outline-button-group/CHANGELOG.md
@@ -0,0 +1,44 @@
+# @phase2/outline-button-group
+
+## 0.1.6
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.5
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.4
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.3
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
+
+## 0.1.2
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.1.1
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
diff --git a/packages/outline-button-group/README.md b/packages/components/@deprecated/outline-button-group/README.md
similarity index 100%
rename from packages/outline-button-group/README.md
rename to packages/components/@deprecated/outline-button-group/README.md
diff --git a/packages/outline-button-group/index.ts b/packages/components/@deprecated/outline-button-group/index.ts
similarity index 100%
rename from packages/outline-button-group/index.ts
rename to packages/components/@deprecated/outline-button-group/index.ts
diff --git a/packages/outline-button-group/package.json b/packages/components/@deprecated/outline-button-group/package.json
similarity index 71%
rename from packages/outline-button-group/package.json
rename to packages/components/@deprecated/outline-button-group/package.json
index cb4acb650..c3e9b4448 100644
--- a/packages/outline-button-group/package.json
+++ b/packages/components/@deprecated/outline-button-group/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-button-group",
- "version": "0.1.3",
+ "version": "0.1.6",
"description": "The Outline Components for the web button group component",
"keywords": [
"outline components",
@@ -19,15 +19,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-button-group"
+ "directory": "packages/components/@deprecated/outline-button-group"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-button-group",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-button-group/src/outline-button-group.ts b/packages/components/@deprecated/outline-button-group/src/outline-button-group.ts
similarity index 100%
rename from packages/outline-button-group/src/outline-button-group.ts
rename to packages/components/@deprecated/outline-button-group/src/outline-button-group.ts
diff --git a/packages/outline-button-group/src/test/outline-button-group.test.ts b/packages/components/@deprecated/outline-button-group/src/test/outline-button-group.test.ts
similarity index 100%
rename from packages/outline-button-group/src/test/outline-button-group.test.ts
rename to packages/components/@deprecated/outline-button-group/src/test/outline-button-group.test.ts
diff --git a/packages/components/@deprecated/outline-button-group/tsconfig.build.json b/packages/components/@deprecated/outline-button-group/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-button-group/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-button/CHANGELOG.md b/packages/components/@deprecated/outline-button/CHANGELOG.md
new file mode 100644
index 000000000..64678579d
--- /dev/null
+++ b/packages/components/@deprecated/outline-button/CHANGELOG.md
@@ -0,0 +1,60 @@
+# @phase2/outline-button
+
+## 0.1.7
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-link@0.1.8
+ - @phase2/outline-core@0.2.5
+
+## 0.1.6
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-link@0.1.6
+ - @phase2/outline-core@0.2.3
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+ - @phase2/outline-link@0.1.5
+
+## 0.1.4
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
+
+## 0.1.3
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+- Updated dependencies
+ - @phase2/outline-link@0.1.4
+
+## 0.1.2
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
+- Updated dependencies
+ - @phase2/outline-link@0.1.3
+
+## 0.1.1
+
+### Patch Changes
+
+- CSS Variable update version bumps.
+- Updated dependencies
+ - @phase2/outline-core@0.1.7
+ - @phase2/outline-link@0.1.2
diff --git a/packages/outline-button/README.md b/packages/components/@deprecated/outline-button/README.md
similarity index 100%
rename from packages/outline-button/README.md
rename to packages/components/@deprecated/outline-button/README.md
diff --git a/packages/outline-button/index.ts b/packages/components/@deprecated/outline-button/index.ts
similarity index 100%
rename from packages/outline-button/index.ts
rename to packages/components/@deprecated/outline-button/index.ts
diff --git a/packages/outline-button/package.json b/packages/components/@deprecated/outline-button/package.json
similarity index 68%
rename from packages/outline-button/package.json
rename to packages/components/@deprecated/outline-button/package.json
index 0b9ff8686..a9b7ecc70 100644
--- a/packages/outline-button/package.json
+++ b/packages/components/@deprecated/outline-button/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-button",
- "version": "0.1.4",
+ "version": "0.1.7",
"description": "The Outline Components for the web button component",
"keywords": [
"outline components",
@@ -19,16 +19,17 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-button"
+ "directory": "packages/components/@deprecated/outline-button"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-button",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
- "@phase2/outline-link": "^0.1.4",
+ "@phase2/outline-core": "^0.2.5",
+ "@phase2/outline-link": "^0.1.8",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-button/src/README.md b/packages/components/@deprecated/outline-button/src/README.md
similarity index 100%
rename from packages/outline-button/src/README.md
rename to packages/components/@deprecated/outline-button/src/README.md
diff --git a/packages/outline-button/src/css-variables/vars-default.css b/packages/components/@deprecated/outline-button/src/css-variables/vars-default.css
similarity index 100%
rename from packages/outline-button/src/css-variables/vars-default.css
rename to packages/components/@deprecated/outline-button/src/css-variables/vars-default.css
diff --git a/packages/outline-button/src/css-variables/vars-link.css b/packages/components/@deprecated/outline-button/src/css-variables/vars-link.css
similarity index 100%
rename from packages/outline-button/src/css-variables/vars-link.css
rename to packages/components/@deprecated/outline-button/src/css-variables/vars-link.css
diff --git a/packages/outline-button/src/css-variables/vars-primary.css b/packages/components/@deprecated/outline-button/src/css-variables/vars-primary.css
similarity index 100%
rename from packages/outline-button/src/css-variables/vars-primary.css
rename to packages/components/@deprecated/outline-button/src/css-variables/vars-primary.css
diff --git a/packages/outline-button/src/css-variables/vars-secondary.css b/packages/components/@deprecated/outline-button/src/css-variables/vars-secondary.css
similarity index 100%
rename from packages/outline-button/src/css-variables/vars-secondary.css
rename to packages/components/@deprecated/outline-button/src/css-variables/vars-secondary.css
diff --git a/packages/outline-button/src/css-variables/vars-tertiary.css b/packages/components/@deprecated/outline-button/src/css-variables/vars-tertiary.css
similarity index 100%
rename from packages/outline-button/src/css-variables/vars-tertiary.css
rename to packages/components/@deprecated/outline-button/src/css-variables/vars-tertiary.css
diff --git a/packages/outline-button/src/outline-button.css b/packages/components/@deprecated/outline-button/src/outline-button.css
similarity index 100%
rename from packages/outline-button/src/outline-button.css
rename to packages/components/@deprecated/outline-button/src/outline-button.css
diff --git a/packages/outline-button/src/outline-button.ts b/packages/components/@deprecated/outline-button/src/outline-button.ts
similarity index 100%
rename from packages/outline-button/src/outline-button.ts
rename to packages/components/@deprecated/outline-button/src/outline-button.ts
diff --git a/packages/outline-button/src/outline-split-button/outline-split-button.css b/packages/components/@deprecated/outline-button/src/outline-split-button/outline-split-button.css
similarity index 100%
rename from packages/outline-button/src/outline-split-button/outline-split-button.css
rename to packages/components/@deprecated/outline-button/src/outline-split-button/outline-split-button.css
diff --git a/packages/outline-button/src/outline-split-button/outline-split-button.ts b/packages/components/@deprecated/outline-button/src/outline-split-button/outline-split-button.ts
similarity index 100%
rename from packages/outline-button/src/outline-split-button/outline-split-button.ts
rename to packages/components/@deprecated/outline-button/src/outline-split-button/outline-split-button.ts
diff --git a/packages/outline-button/src/test/outline-button.test.ts b/packages/components/@deprecated/outline-button/src/test/outline-button.test.ts
similarity index 100%
rename from packages/outline-button/src/test/outline-button.test.ts
rename to packages/components/@deprecated/outline-button/src/test/outline-button.test.ts
diff --git a/packages/components/@deprecated/outline-button/tsconfig.build.json b/packages/components/@deprecated/outline-button/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-button/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-card/CHANGELOG.md b/packages/components/@deprecated/outline-card/CHANGELOG.md
new file mode 100644
index 000000000..acaf7e2c1
--- /dev/null
+++ b/packages/components/@deprecated/outline-card/CHANGELOG.md
@@ -0,0 +1,36 @@
+# @phase2/outline-card
+
+## 0.0.9
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.0.8
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.0.7
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.0.6
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.0.5
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
diff --git a/packages/outline-card/README.md b/packages/components/@deprecated/outline-card/README.md
similarity index 100%
rename from packages/outline-card/README.md
rename to packages/components/@deprecated/outline-card/README.md
diff --git a/packages/outline-card/index.ts b/packages/components/@deprecated/outline-card/index.ts
similarity index 100%
rename from packages/outline-card/index.ts
rename to packages/components/@deprecated/outline-card/index.ts
diff --git a/packages/outline-card/package.json b/packages/components/@deprecated/outline-card/package.json
similarity index 71%
rename from packages/outline-card/package.json
rename to packages/components/@deprecated/outline-card/package.json
index fdeb90fa0..c3beaa430 100644
--- a/packages/outline-card/package.json
+++ b/packages/components/@deprecated/outline-card/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-card",
- "version": "0.0.6",
+ "version": "0.0.9",
"description": "The Outline Components for the web card component",
"keywords": [
"outline components",
@@ -19,15 +19,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-card"
+ "directory": "packages/components/@deprecated/outline-card"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-card",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-card/src/outline-card.css b/packages/components/@deprecated/outline-card/src/outline-card.css
similarity index 100%
rename from packages/outline-card/src/outline-card.css
rename to packages/components/@deprecated/outline-card/src/outline-card.css
diff --git a/packages/outline-card/src/outline-card.ts b/packages/components/@deprecated/outline-card/src/outline-card.ts
similarity index 100%
rename from packages/outline-card/src/outline-card.ts
rename to packages/components/@deprecated/outline-card/src/outline-card.ts
diff --git a/packages/outline-card/src/test/outline-card.test.ts b/packages/components/@deprecated/outline-card/src/test/outline-card.test.ts
similarity index 100%
rename from packages/outline-card/src/test/outline-card.test.ts
rename to packages/components/@deprecated/outline-card/src/test/outline-card.test.ts
diff --git a/packages/components/@deprecated/outline-card/tsconfig.build.json b/packages/components/@deprecated/outline-card/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-card/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-code-block/CHANGELOG.md b/packages/components/@deprecated/outline-code-block/CHANGELOG.md
new file mode 100644
index 000000000..a5cec1831
--- /dev/null
+++ b/packages/components/@deprecated/outline-code-block/CHANGELOG.md
@@ -0,0 +1,36 @@
+# @phase2/outline-code-block
+
+## 0.1.5
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.4
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.3
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.2
+
+### Patch Changes
+
+- Version Bump
+
+## 0.1.1
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
diff --git a/packages/outline-code-block/README.md b/packages/components/@deprecated/outline-code-block/README.md
similarity index 100%
rename from packages/outline-code-block/README.md
rename to packages/components/@deprecated/outline-code-block/README.md
diff --git a/packages/outline-code-block/index.ts b/packages/components/@deprecated/outline-code-block/index.ts
similarity index 100%
rename from packages/outline-code-block/index.ts
rename to packages/components/@deprecated/outline-code-block/index.ts
diff --git a/packages/outline-code-block/package.json b/packages/components/@deprecated/outline-code-block/package.json
similarity index 66%
rename from packages/outline-code-block/package.json
rename to packages/components/@deprecated/outline-code-block/package.json
index a01b6a814..08141e2fb 100644
--- a/packages/outline-code-block/package.json
+++ b/packages/components/@deprecated/outline-code-block/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-code-block",
- "version": "0.1.1",
+ "version": "0.1.5",
"description": "The Outline Components for the web code block component",
"keywords": [
"outline components",
@@ -12,21 +12,23 @@
"typings": "index.d.ts",
"files": [
"/dist/",
+ "/src/",
"!/dist/tsconfig.build.tsbuildinfo"
],
"author": "Phase2 Technology",
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-code-block"
+ "directory": "packages/components/@deprecated/outline-code-block"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-code-block",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js && mkdir -p dist/src && cp src/prism.js dist/src/prism.js",
+ "build": "node ../../../../scripts/build.js && mkdir -p dist/src && cp src/prism.js dist/src/prism.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-code-block/src/outline-code-block.css b/packages/components/@deprecated/outline-code-block/src/outline-code-block.css
similarity index 100%
rename from packages/outline-code-block/src/outline-code-block.css
rename to packages/components/@deprecated/outline-code-block/src/outline-code-block.css
diff --git a/packages/outline-code-block/src/outline-code-block.ts b/packages/components/@deprecated/outline-code-block/src/outline-code-block.ts
similarity index 100%
rename from packages/outline-code-block/src/outline-code-block.ts
rename to packages/components/@deprecated/outline-code-block/src/outline-code-block.ts
diff --git a/packages/outline-code-block/src/prism.js b/packages/components/@deprecated/outline-code-block/src/prism.js
similarity index 100%
rename from packages/outline-code-block/src/prism.js
rename to packages/components/@deprecated/outline-code-block/src/prism.js
diff --git a/packages/outline-code-block/tsconfig.build.json b/packages/components/@deprecated/outline-code-block/tsconfig.build.json
similarity index 55%
rename from packages/outline-code-block/tsconfig.build.json
rename to packages/components/@deprecated/outline-code-block/tsconfig.build.json
index 7bf01b0c5..7c90a7271 100644
--- a/packages/outline-code-block/tsconfig.build.json
+++ b/packages/components/@deprecated/outline-code-block/tsconfig.build.json
@@ -1,9 +1,9 @@
{
- "extends": "../../tsconfig.json",
+ "extends": "../../../../tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "./dist"
},
"include": ["index.ts", "src/prism.js", "src/**/*", "tests/**/*"],
- "references": [{ "path": "../outline-core/tsconfig.build.json" }]
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
}
diff --git a/packages/components/@deprecated/outline-container/CHANGELOG.md b/packages/components/@deprecated/outline-container/CHANGELOG.md
new file mode 100644
index 000000000..7cd1a6f50
--- /dev/null
+++ b/packages/components/@deprecated/outline-container/CHANGELOG.md
@@ -0,0 +1,50 @@
+# @phase2/outline-container
+
+## 0.1.8
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.7
+
+### Patch Changes
+
+- Updated template literals
+
+## 0.1.6
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.4
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.1.3
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
+
+## 0.1.2
+
+### Patch Changes
+
+- fe7a9fa: Documentation and usage updates.
+- 9ff315f: Updates to implement simplified outline-container.
+- 6c833ed: Documentation and formatting updates.
diff --git a/packages/outline-container/README.md b/packages/components/@deprecated/outline-container/README.md
similarity index 100%
rename from packages/outline-container/README.md
rename to packages/components/@deprecated/outline-container/README.md
diff --git a/packages/outline-container/index.ts b/packages/components/@deprecated/outline-container/index.ts
similarity index 100%
rename from packages/outline-container/index.ts
rename to packages/components/@deprecated/outline-container/index.ts
diff --git a/packages/outline-container/package.json b/packages/components/@deprecated/outline-container/package.json
similarity index 72%
rename from packages/outline-container/package.json
rename to packages/components/@deprecated/outline-container/package.json
index 50fa5ffcc..1b0d8ac86 100644
--- a/packages/outline-container/package.json
+++ b/packages/components/@deprecated/outline-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-container",
- "version": "0.1.4",
+ "version": "0.1.8",
"description": "The Outline Components for the container web component",
"keywords": [
"outline",
@@ -20,15 +20,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-container"
+ "directory": "packages/components/@deprecated/outline-container"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-container",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-container/src/outline-container.css b/packages/components/@deprecated/outline-container/src/outline-container.css
similarity index 100%
rename from packages/outline-container/src/outline-container.css
rename to packages/components/@deprecated/outline-container/src/outline-container.css
diff --git a/packages/outline-container/src/outline-container.ts b/packages/components/@deprecated/outline-container/src/outline-container.ts
similarity index 96%
rename from packages/outline-container/src/outline-container.ts
rename to packages/components/@deprecated/outline-container/src/outline-container.ts
index 4ab5b0500..142cad834 100644
--- a/packages/outline-container/src/outline-container.ts
+++ b/packages/components/@deprecated/outline-container/src/outline-container.ts
@@ -91,16 +91,14 @@ export class OutlineContainer extends OutlineElement {
'justify-start': this.justifyStart,
};
return html`
- ${
- this.topMargin || this.bottomMargin
- ? html` `
- : ''
- }
+ : ''}
diff --git a/packages/outline-container/src/test/outline-container.test.ts b/packages/components/@deprecated/outline-container/src/test/outline-container.test.ts
similarity index 100%
rename from packages/outline-container/src/test/outline-container.test.ts
rename to packages/components/@deprecated/outline-container/src/test/outline-container.test.ts
diff --git a/packages/components/@deprecated/outline-container/tsconfig.build.json b/packages/components/@deprecated/outline-container/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-container/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/outline-dropdown/CHANGELOG.md b/packages/components/@deprecated/outline-dropdown/CHANGELOG.md
similarity index 55%
rename from packages/outline-dropdown/CHANGELOG.md
rename to packages/components/@deprecated/outline-dropdown/CHANGELOG.md
index aa51710bb..4767ca15c 100644
--- a/packages/outline-dropdown/CHANGELOG.md
+++ b/packages/components/@deprecated/outline-dropdown/CHANGELOG.md
@@ -1,5 +1,45 @@
# @phase2/outline-dropdown
+## 0.1.9
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-button@0.1.7
+ - @phase2/outline-icon@0.1.5
+ - @phase2/outline-link@0.1.8
+ - @phase2/outline-core@0.2.5
+
+## 0.1.8
+
+### Patch Changes
+
+- Updated template literals
+- Updated dependencies
+ - @phase2/outline-link@0.1.7
+
+## 0.1.7
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-button@0.1.6
+ - @phase2/outline-icon@0.1.4
+ - @phase2/outline-link@0.1.6
+ - @phase2/outline-core@0.2.3
+
+## 0.1.6
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+ - @phase2/outline-button@0.1.5
+ - @phase2/outline-icon@0.1.3
+ - @phase2/outline-link@0.1.5
+
## 0.1.5
### Patch Changes
diff --git a/packages/outline-dropdown/README.md b/packages/components/@deprecated/outline-dropdown/README.md
similarity index 100%
rename from packages/outline-dropdown/README.md
rename to packages/components/@deprecated/outline-dropdown/README.md
diff --git a/packages/outline-dropdown/index.ts b/packages/components/@deprecated/outline-dropdown/index.ts
similarity index 100%
rename from packages/outline-dropdown/index.ts
rename to packages/components/@deprecated/outline-dropdown/index.ts
diff --git a/packages/outline-dropdown/package.json b/packages/components/@deprecated/outline-dropdown/package.json
similarity index 67%
rename from packages/outline-dropdown/package.json
rename to packages/components/@deprecated/outline-dropdown/package.json
index 4a1c0489f..2ca5c7c65 100644
--- a/packages/outline-dropdown/package.json
+++ b/packages/components/@deprecated/outline-dropdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-dropdown",
- "version": "0.1.5",
+ "version": "0.1.9",
"description": "The Outline Components for the dropdown web component",
"keywords": [
"outline",
@@ -20,17 +20,18 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-dropdown"
+ "directory": "packages/components/@deprecated/outline-dropdown"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-dropdown",
"license": "BSD-3-Clause",
"scripts": {
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-button": "^0.1.4",
- "@phase2/outline-core": "^0.1.10",
- "@phase2/outline-icon": "^0.1.2",
- "@phase2/outline-link": "^0.1.4",
+ "@phase2/outline-button": "^0.1.7",
+ "@phase2/outline-core": "^0.2.5",
+ "@phase2/outline-icon": "^0.1.5",
+ "@phase2/outline-link": "^0.1.8",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-dropdown/src/outline-dropdown.css b/packages/components/@deprecated/outline-dropdown/src/outline-dropdown.css
similarity index 100%
rename from packages/outline-dropdown/src/outline-dropdown.css
rename to packages/components/@deprecated/outline-dropdown/src/outline-dropdown.css
diff --git a/packages/outline-dropdown/src/outline-dropdown.ts b/packages/components/@deprecated/outline-dropdown/src/outline-dropdown.ts
similarity index 98%
rename from packages/outline-dropdown/src/outline-dropdown.ts
rename to packages/components/@deprecated/outline-dropdown/src/outline-dropdown.ts
index 0dfb71b9e..29b6538be 100644
--- a/packages/outline-dropdown/src/outline-dropdown.ts
+++ b/packages/components/@deprecated/outline-dropdown/src/outline-dropdown.ts
@@ -376,8 +376,7 @@ export class OutlineDropdown extends OutlineElement {
aria-labelledby="dropdown"
@keydown="${this.handlePanelKeystrokes}"
>
- ${this.headerTemplate()}
- ${this.slots.renderInShadow('dropdown')}
+ ${this.headerTemplate()} ${this.slots.renderInShadow('dropdown')}
${this.footerTemplate()}
`;
@@ -398,9 +397,8 @@ export class OutlineDropdown extends OutlineElement {
icon__bordered: this.triggerUrl && this.triggerVariant !== 'link',
})}
>
- ${
- this.triggerUrl
- ? html` Sub-navigation for ${this.triggerText}
`
- : html` ${this.iconTemplate()} `
- }
+ : html` ${this.iconTemplate()} `}
`;
}
diff --git a/packages/components/@deprecated/outline-dropdown/tsconfig.build.json b/packages/components/@deprecated/outline-dropdown/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-dropdown/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-form/CHANGELOG.md b/packages/components/@deprecated/outline-form/CHANGELOG.md
new file mode 100644
index 000000000..2e600b846
--- /dev/null
+++ b/packages/components/@deprecated/outline-form/CHANGELOG.md
@@ -0,0 +1,85 @@
+# @phase2/outline-form
+
+## 0.1.6
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-controller-light-dom-styles-controller@0.0.4
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-controller-light-dom-styles-controller@0.0.3
+
+## 0.1.4
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-controller-light-dom-styles-controller@0.0.2
+ - @phase2/outline-core@0.2.5
+
+## 0.1.3
+
+### Patch Changes
+
+- Fix for updated dependencies
+
+## 0.1.2
+
+### Patch Changes
+
+- Updates for light dom package
+- Updated dependencies
+ - @phase2/outline-core@0.2.4
+
+## 0.1.1
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.0
+
+### Minor Changes
+
+- Updated lightDomStyles functionality for components
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.0.8
+
+### Patch Changes
+
+- Docs update
+
+## 0.0.7
+
+### Patch Changes
+
+- 3580b00: Package Updates for `outline-form`, `outline-storybook`, `outline-core`, and `outline-docs`.
+- Updated dependencies [3580b00]
+ - @phase2/outline-core@0.1.11
+
+## 0.0.6
+
+### Patch Changes
+
+- Version bumps
+
+## 0.0.5
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
diff --git a/packages/outline-form/README.md b/packages/components/@deprecated/outline-form/README.md
similarity index 100%
rename from packages/outline-form/README.md
rename to packages/components/@deprecated/outline-form/README.md
diff --git a/packages/outline-form/index.ts b/packages/components/@deprecated/outline-form/index.ts
similarity index 100%
rename from packages/outline-form/index.ts
rename to packages/components/@deprecated/outline-form/index.ts
diff --git a/packages/outline-form/package.json b/packages/components/@deprecated/outline-form/package.json
similarity index 66%
rename from packages/outline-form/package.json
rename to packages/components/@deprecated/outline-form/package.json
index f460a0a6e..43e17a3a3 100644
--- a/packages/outline-form/package.json
+++ b/packages/components/@deprecated/outline-form/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-form",
- "version": "0.0.8",
+ "version": "0.1.6",
"description": "The Outline Components for the form component",
"keywords": [
"outline components",
@@ -19,15 +19,17 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-form"
+ "directory": "packages/components/@deprecated/outline-form"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-form",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.11",
+ "@phase2/outline-core": "^0.2.5",
+ "@phase2/outline-controller-light-dom-styles-controller": "^0.0.4",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-form/src/css-variables/vars-form.css b/packages/components/@deprecated/outline-form/src/css-variables/vars-form.css
similarity index 100%
rename from packages/outline-form/src/css-variables/vars-form.css
rename to packages/components/@deprecated/outline-form/src/css-variables/vars-form.css
diff --git a/packages/outline-form/src/form-boolean.css b/packages/components/@deprecated/outline-form/src/form-boolean.css
similarity index 100%
rename from packages/outline-form/src/form-boolean.css
rename to packages/components/@deprecated/outline-form/src/form-boolean.css
diff --git a/packages/outline-form/src/form-buttons.css b/packages/components/@deprecated/outline-form/src/form-buttons.css
similarity index 100%
rename from packages/outline-form/src/form-buttons.css
rename to packages/components/@deprecated/outline-form/src/form-buttons.css
diff --git a/packages/outline-form/src/form-misc.css b/packages/components/@deprecated/outline-form/src/form-misc.css
similarity index 100%
rename from packages/outline-form/src/form-misc.css
rename to packages/components/@deprecated/outline-form/src/form-misc.css
diff --git a/packages/outline-form/src/form-select.css b/packages/components/@deprecated/outline-form/src/form-select.css
similarity index 100%
rename from packages/outline-form/src/form-select.css
rename to packages/components/@deprecated/outline-form/src/form-select.css
diff --git a/packages/outline-form/src/form-text.css b/packages/components/@deprecated/outline-form/src/form-text.css
similarity index 100%
rename from packages/outline-form/src/form-text.css
rename to packages/components/@deprecated/outline-form/src/form-text.css
diff --git a/packages/outline-form/src/outline-form.css b/packages/components/@deprecated/outline-form/src/outline-form.css
similarity index 100%
rename from packages/outline-form/src/outline-form.css
rename to packages/components/@deprecated/outline-form/src/outline-form.css
diff --git a/packages/outline-form/src/outline-form.global.css b/packages/components/@deprecated/outline-form/src/outline-form.global.css
similarity index 100%
rename from packages/outline-form/src/outline-form.global.css
rename to packages/components/@deprecated/outline-form/src/outline-form.global.css
diff --git a/packages/outline-form/src/outline-form.global.scoped.css b/packages/components/@deprecated/outline-form/src/outline-form.global.scoped.css
similarity index 100%
rename from packages/outline-form/src/outline-form.global.scoped.css
rename to packages/components/@deprecated/outline-form/src/outline-form.global.scoped.css
diff --git a/packages/outline-form/src/outline-form.ts b/packages/components/@deprecated/outline-form/src/outline-form.ts
similarity index 69%
rename from packages/outline-form/src/outline-form.ts
rename to packages/components/@deprecated/outline-form/src/outline-form.ts
index 1d64becc9..850356450 100644
--- a/packages/outline-form/src/outline-form.ts
+++ b/packages/components/@deprecated/outline-form/src/outline-form.ts
@@ -1,5 +1,6 @@
import { TemplateResult, html, CSSResultGroup } from 'lit';
-import { OutlineElement, LightDomStyles } from '@phase2/outline-core';
+import { OutlineElement } from '@phase2/outline-core';
+import { LightDomStyles } from '@phase2/outline-controller-light-dom-styles-controller';
import { customElement } from 'lit/decorators.js';
import componentStyles from './outline-form.css.lit';
import globalStyles from './outline-form.global.scoped.css.lit';
@@ -12,9 +13,9 @@ import globalStyles from './outline-form.global.scoped.css.lit';
*/
@customElement('outline-form')
export class OutlineForm extends OutlineElement {
- static styles: CSSResultGroup = [OutlineElement.styles, componentStyles];
+ static styles: CSSResultGroup = [componentStyles];
- lightDomStyles = new LightDomStyles(this, globalStyles);
+ globalStyles = new LightDomStyles(this, globalStyles);
render(): TemplateResult {
return html``;
diff --git a/packages/outline-form/tsconfig.build.json b/packages/components/@deprecated/outline-form/tsconfig.build.json
similarity index 75%
rename from packages/outline-form/tsconfig.build.json
rename to packages/components/@deprecated/outline-form/tsconfig.build.json
index 56eca1b2c..85d68a87c 100644
--- a/packages/outline-form/tsconfig.build.json
+++ b/packages/components/@deprecated/outline-form/tsconfig.build.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.json",
+ "extends": "../../../../tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "./dist"
diff --git a/packages/components/@deprecated/outline-grid/CHANGELOG.md b/packages/components/@deprecated/outline-grid/CHANGELOG.md
new file mode 100644
index 000000000..ced03ccff
--- /dev/null
+++ b/packages/components/@deprecated/outline-grid/CHANGELOG.md
@@ -0,0 +1,36 @@
+# @phase2/outline-grid
+
+## 0.0.9
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.0.8
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.0.7
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.0.6
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.0.5
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
diff --git a/packages/outline-grid/README.md b/packages/components/@deprecated/outline-grid/README.md
similarity index 100%
rename from packages/outline-grid/README.md
rename to packages/components/@deprecated/outline-grid/README.md
diff --git a/packages/outline-grid/index.ts b/packages/components/@deprecated/outline-grid/index.ts
similarity index 100%
rename from packages/outline-grid/index.ts
rename to packages/components/@deprecated/outline-grid/index.ts
diff --git a/packages/outline-grid/package.json b/packages/components/@deprecated/outline-grid/package.json
similarity index 72%
rename from packages/outline-grid/package.json
rename to packages/components/@deprecated/outline-grid/package.json
index c48cac8fd..b7dff6f52 100644
--- a/packages/outline-grid/package.json
+++ b/packages/components/@deprecated/outline-grid/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-grid",
- "version": "0.0.6",
+ "version": "0.0.9",
"description": "The Outline Components for the grid web component",
"keywords": [
"outline",
@@ -20,15 +20,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-grid"
+ "directory": "packages/components/@deprecated/outline-grid"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-grid",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-grid/src/README.md b/packages/components/@deprecated/outline-grid/src/README.md
similarity index 100%
rename from packages/outline-grid/src/README.md
rename to packages/components/@deprecated/outline-grid/src/README.md
diff --git a/packages/outline-grid/src/outline-column/outline-column.css b/packages/components/@deprecated/outline-grid/src/outline-column/outline-column.css
similarity index 100%
rename from packages/outline-grid/src/outline-column/outline-column.css
rename to packages/components/@deprecated/outline-grid/src/outline-column/outline-column.css
diff --git a/packages/outline-grid/src/outline-column/outline-column.ts b/packages/components/@deprecated/outline-grid/src/outline-column/outline-column.ts
similarity index 100%
rename from packages/outline-grid/src/outline-column/outline-column.ts
rename to packages/components/@deprecated/outline-grid/src/outline-column/outline-column.ts
diff --git a/packages/outline-grid/src/outline-column/test/outline-column.test.ts b/packages/components/@deprecated/outline-grid/src/outline-column/test/outline-column.test.ts
similarity index 100%
rename from packages/outline-grid/src/outline-column/test/outline-column.test.ts
rename to packages/components/@deprecated/outline-grid/src/outline-column/test/outline-column.test.ts
diff --git a/packages/outline-grid/src/outline-grid.css b/packages/components/@deprecated/outline-grid/src/outline-grid.css
similarity index 100%
rename from packages/outline-grid/src/outline-grid.css
rename to packages/components/@deprecated/outline-grid/src/outline-grid.css
diff --git a/packages/outline-grid/src/outline-grid.ts b/packages/components/@deprecated/outline-grid/src/outline-grid.ts
similarity index 100%
rename from packages/outline-grid/src/outline-grid.ts
rename to packages/components/@deprecated/outline-grid/src/outline-grid.ts
diff --git a/packages/outline-grid/src/test/outline-grid.test.ts b/packages/components/@deprecated/outline-grid/src/test/outline-grid.test.ts
similarity index 100%
rename from packages/outline-grid/src/test/outline-grid.test.ts
rename to packages/components/@deprecated/outline-grid/src/test/outline-grid.test.ts
diff --git a/packages/components/@deprecated/outline-grid/tsconfig.build.json b/packages/components/@deprecated/outline-grid/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-grid/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-heading/CHANGELOG.md b/packages/components/@deprecated/outline-heading/CHANGELOG.md
new file mode 100644
index 000000000..d472392d9
--- /dev/null
+++ b/packages/components/@deprecated/outline-heading/CHANGELOG.md
@@ -0,0 +1,36 @@
+# @phase2/outline-heading
+
+## 0.1.5
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.4
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.3
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.2
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.1.1
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
diff --git a/packages/outline-heading/README.md b/packages/components/@deprecated/outline-heading/README.md
similarity index 100%
rename from packages/outline-heading/README.md
rename to packages/components/@deprecated/outline-heading/README.md
diff --git a/packages/outline-heading/index.ts b/packages/components/@deprecated/outline-heading/index.ts
similarity index 100%
rename from packages/outline-heading/index.ts
rename to packages/components/@deprecated/outline-heading/index.ts
diff --git a/packages/outline-heading/package.json b/packages/components/@deprecated/outline-heading/package.json
similarity index 71%
rename from packages/outline-heading/package.json
rename to packages/components/@deprecated/outline-heading/package.json
index 3ae960e84..4a0cdce76 100644
--- a/packages/outline-heading/package.json
+++ b/packages/components/@deprecated/outline-heading/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-heading",
- "version": "0.1.2",
+ "version": "0.1.5",
"description": "The Outline Components for the web heading component",
"keywords": [
"outline components",
@@ -19,15 +19,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-heading"
+ "directory": "packages/components/@deprecated/outline-heading"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-heading",
"license": "BSD-3-Clause",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-heading/src/config.ts b/packages/components/@deprecated/outline-heading/src/config.ts
similarity index 70%
rename from packages/outline-heading/src/config.ts
rename to packages/components/@deprecated/outline-heading/src/config.ts
index 5cb9ebf7c..7b25131e7 100644
--- a/packages/outline-heading/src/config.ts
+++ b/packages/components/@deprecated/outline-heading/src/config.ts
@@ -1,5 +1,5 @@
export const HeadingLevels = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', undefined];
-export type AllowedHeadingLevels = typeof HeadingLevels[number];
+export type AllowedHeadingLevels = (typeof HeadingLevels)[number];
// Updated to limit the allowed values to the set we want to be selectable in Storybook.
export const HeadingSizes = [
@@ -17,7 +17,7 @@ export const HeadingSizes = [
'8xl',
'9xl',
] as const;
-export type AllowedHeadingSizes = typeof HeadingSizes[number];
+export type AllowedHeadingSizes = (typeof HeadingSizes)[number];
export const HeadingStyles = [
'thin',
@@ -30,4 +30,4 @@ export const HeadingStyles = [
'extrabold',
'black',
] as const;
-export type AllowedHeadingStyles = typeof HeadingStyles[number];
+export type AllowedHeadingStyles = (typeof HeadingStyles)[number];
diff --git a/packages/outline-heading/src/outline-heading.css b/packages/components/@deprecated/outline-heading/src/outline-heading.css
similarity index 100%
rename from packages/outline-heading/src/outline-heading.css
rename to packages/components/@deprecated/outline-heading/src/outline-heading.css
diff --git a/packages/outline-heading/src/outline-heading.ts b/packages/components/@deprecated/outline-heading/src/outline-heading.ts
similarity index 100%
rename from packages/outline-heading/src/outline-heading.ts
rename to packages/components/@deprecated/outline-heading/src/outline-heading.ts
diff --git a/packages/outline-heading/src/test/outline-heading.test.ts b/packages/components/@deprecated/outline-heading/src/test/outline-heading.test.ts
similarity index 100%
rename from packages/outline-heading/src/test/outline-heading.test.ts
rename to packages/components/@deprecated/outline-heading/src/test/outline-heading.test.ts
diff --git a/packages/components/@deprecated/outline-heading/tsconfig.build.json b/packages/components/@deprecated/outline-heading/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-heading/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-icon/CHANGELOG.md b/packages/components/@deprecated/outline-icon/CHANGELOG.md
new file mode 100644
index 000000000..7d37902b6
--- /dev/null
+++ b/packages/components/@deprecated/outline-icon/CHANGELOG.md
@@ -0,0 +1,43 @@
+# @phase2/outline-icon
+
+## 0.1.5
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-include@0.1.5
+ - @phase2/outline-core@0.2.5
+
+## 0.1.4
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-include@0.1.4
+ - @phase2/outline-core@0.2.3
+
+## 0.1.3
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+ - @phase2/outline-include@0.1.3
+
+## 0.1.2
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+- Updated dependencies
+ - @phase2/outline-include@0.1.2
+
+## 0.1.1
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
+- Updated dependencies
+ - @phase2/outline-include@0.1.1
diff --git a/packages/outline-icon/README.md b/packages/components/@deprecated/outline-icon/README.md
similarity index 100%
rename from packages/outline-icon/README.md
rename to packages/components/@deprecated/outline-icon/README.md
diff --git a/packages/outline-icon/index.ts b/packages/components/@deprecated/outline-icon/index.ts
similarity index 100%
rename from packages/outline-icon/index.ts
rename to packages/components/@deprecated/outline-icon/index.ts
diff --git a/packages/outline-icon/package.json b/packages/components/@deprecated/outline-icon/package.json
similarity index 69%
rename from packages/outline-icon/package.json
rename to packages/components/@deprecated/outline-icon/package.json
index 0f4600401..580ecbb74 100644
--- a/packages/outline-icon/package.json
+++ b/packages/components/@deprecated/outline-icon/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-icon",
- "version": "0.1.2",
+ "version": "0.1.5",
"description": "The Outline Components for the icon component",
"keywords": [
"outline",
@@ -21,15 +21,16 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-icon"
+ "directory": "packages/components/@deprecated/outline-icon"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-icon",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.9",
- "@phase2/outline-include": "^0.1.2",
+ "@phase2/outline-core": "^0.2.5",
+ "@phase2/outline-include": "^0.1.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-icon/src/libraries/library.bootstrap.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.bootstrap.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.bootstrap.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.bootstrap.ts
diff --git a/packages/outline-icon/src/libraries/library.boxicons.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.boxicons.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.boxicons.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.boxicons.ts
diff --git a/packages/outline-icon/src/libraries/library.custom.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.custom.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.custom.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.custom.ts
diff --git a/packages/outline-icon/src/libraries/library.fontawesome.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.fontawesome.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.fontawesome.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.fontawesome.ts
diff --git a/packages/outline-icon/src/libraries/library.heroicons.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.heroicons.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.heroicons.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.heroicons.ts
diff --git a/packages/outline-icon/src/libraries/library.iconoir.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.iconoir.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.iconoir.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.iconoir.ts
diff --git a/packages/outline-icon/src/libraries/library.ionicons.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.ionicons.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.ionicons.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.ionicons.ts
diff --git a/packages/outline-icon/src/libraries/library.jam.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.jam.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.jam.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.jam.ts
diff --git a/packages/outline-icon/src/libraries/library.lucide.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.lucide.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.lucide.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.lucide.ts
diff --git a/packages/outline-icon/src/libraries/library.material.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.material.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.material.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.material.ts
diff --git a/packages/outline-icon/src/libraries/library.remix.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.remix.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.remix.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.remix.ts
diff --git a/packages/outline-icon/src/libraries/library.system.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.system.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.system.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.system.ts
diff --git a/packages/outline-icon/src/libraries/library.unicons.ts b/packages/components/@deprecated/outline-icon/src/libraries/library.unicons.ts
similarity index 100%
rename from packages/outline-icon/src/libraries/library.unicons.ts
rename to packages/components/@deprecated/outline-icon/src/libraries/library.unicons.ts
diff --git a/packages/outline-icon/src/library.ts b/packages/components/@deprecated/outline-icon/src/library.ts
similarity index 100%
rename from packages/outline-icon/src/library.ts
rename to packages/components/@deprecated/outline-icon/src/library.ts
diff --git a/packages/outline-icon/src/outline-icon.css b/packages/components/@deprecated/outline-icon/src/outline-icon.css
similarity index 100%
rename from packages/outline-icon/src/outline-icon.css
rename to packages/components/@deprecated/outline-icon/src/outline-icon.css
diff --git a/packages/outline-icon/src/outline-icon.ts b/packages/components/@deprecated/outline-icon/src/outline-icon.ts
similarity index 100%
rename from packages/outline-icon/src/outline-icon.ts
rename to packages/components/@deprecated/outline-icon/src/outline-icon.ts
diff --git a/packages/outline-icon/src/request.ts b/packages/components/@deprecated/outline-icon/src/request.ts
similarity index 100%
rename from packages/outline-icon/src/request.ts
rename to packages/components/@deprecated/outline-icon/src/request.ts
diff --git a/packages/components/@deprecated/outline-icon/tsconfig.build.json b/packages/components/@deprecated/outline-icon/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-icon/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-image-slider/CHANGELOG.md b/packages/components/@deprecated/outline-image-slider/CHANGELOG.md
new file mode 100644
index 000000000..af3b8169a
--- /dev/null
+++ b/packages/components/@deprecated/outline-image-slider/CHANGELOG.md
@@ -0,0 +1,44 @@
+# @phase2/outline-image-slider
+
+## 0.1.6
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.5
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.4
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.3
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
+
+## 0.1.2
+
+### Patch Changes
+
+- Update to @phase2/outline-core packages.
+
+## 0.1.1
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
diff --git a/packages/outline-image-slider/README.md b/packages/components/@deprecated/outline-image-slider/README.md
similarity index 100%
rename from packages/outline-image-slider/README.md
rename to packages/components/@deprecated/outline-image-slider/README.md
diff --git a/packages/outline-image-slider/index.ts b/packages/components/@deprecated/outline-image-slider/index.ts
similarity index 100%
rename from packages/outline-image-slider/index.ts
rename to packages/components/@deprecated/outline-image-slider/index.ts
diff --git a/packages/outline-image-slider/package.json b/packages/components/@deprecated/outline-image-slider/package.json
similarity index 72%
rename from packages/outline-image-slider/package.json
rename to packages/components/@deprecated/outline-image-slider/package.json
index 5613a7880..d23551ebb 100644
--- a/packages/outline-image-slider/package.json
+++ b/packages/components/@deprecated/outline-image-slider/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-image-slider",
- "version": "0.1.3",
+ "version": "0.1.6",
"description": "The Outline Components for the image slider component",
"keywords": [
"outline",
@@ -21,14 +21,15 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-image-slider"
+ "directory": "packages/components/@deprecated/outline-image-slider"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-image-slider",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"@splidejs/splide": "^4.0.7",
"lit": "^2.3.1",
"tslib": "^2.1.0"
diff --git a/packages/outline-image-slider/src/outline-image-slider.css b/packages/components/@deprecated/outline-image-slider/src/outline-image-slider.css
similarity index 100%
rename from packages/outline-image-slider/src/outline-image-slider.css
rename to packages/components/@deprecated/outline-image-slider/src/outline-image-slider.css
diff --git a/packages/outline-image-slider/src/outline-image-slider.ts b/packages/components/@deprecated/outline-image-slider/src/outline-image-slider.ts
similarity index 100%
rename from packages/outline-image-slider/src/outline-image-slider.ts
rename to packages/components/@deprecated/outline-image-slider/src/outline-image-slider.ts
diff --git a/packages/components/@deprecated/outline-image-slider/tsconfig.build.json b/packages/components/@deprecated/outline-image-slider/tsconfig.build.json
new file mode 100644
index 000000000..6ec950bba
--- /dev/null
+++ b/packages/components/@deprecated/outline-image-slider/tsconfig.build.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../../../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": ".",
+ "outDir": "./dist"
+ },
+ "include": ["index.ts", "src/**/*", "tests/**/*"],
+ "references": [{ "path": "../../../outline-core/tsconfig.build.json" }]
+}
diff --git a/packages/components/@deprecated/outline-image/CHANGELOG.md b/packages/components/@deprecated/outline-image/CHANGELOG.md
new file mode 100644
index 000000000..09efa7ee7
--- /dev/null
+++ b/packages/components/@deprecated/outline-image/CHANGELOG.md
@@ -0,0 +1,65 @@
+# @phase2/outline-image
+
+## 0.1.9
+
+### Patch Changes
+
+- d00800e0: Sweeping shuffle to reorganize the packages directory.
+- Updated dependencies [d00800e0]
+ - @phase2/outline-core@0.2.5
+
+## 0.1.8
+
+### Patch Changes
+
+- Updated template literals
+
+## 0.1.7
+
+### Patch Changes
+
+- Hopeful fixes for all the things.
+- Updated dependencies
+ - @phase2/outline-core@0.2.3
+
+## 0.1.6
+
+### Patch Changes
+
+- Updates to setup and defaults
+
+## 0.1.5
+
+### Patch Changes
+
+- Updated dependencies
+ - @phase2/outline-core@0.2.0
+
+## 0.1.4
+
+### Patch Changes
+
+- Updates for controllers.
+- Updated dependencies
+ - @phase2/outline-core@0.1.10
+
+## 0.1.3
+
+### Patch Changes
+
+- Updates for outline core.
+- Updated dependencies
+ - @phase2/outline-core@0.1.9
+
+## 0.1.2
+
+### Patch Changes
+
+- Bumped versions with updated package contents.
+
+## 0.1.1
+
+### Patch Changes
+
+- fe7a9fa: Documentation and usage updates.
+- 6c833ed: Documentation and formatting updates.
diff --git a/packages/outline-image/README.md b/packages/components/@deprecated/outline-image/README.md
similarity index 100%
rename from packages/outline-image/README.md
rename to packages/components/@deprecated/outline-image/README.md
diff --git a/packages/outline-image/index.ts b/packages/components/@deprecated/outline-image/index.ts
similarity index 100%
rename from packages/outline-image/index.ts
rename to packages/components/@deprecated/outline-image/index.ts
diff --git a/packages/outline-image/package.json b/packages/components/@deprecated/outline-image/package.json
similarity index 71%
rename from packages/outline-image/package.json
rename to packages/components/@deprecated/outline-image/package.json
index 69ed45636..2b94531b4 100644
--- a/packages/outline-image/package.json
+++ b/packages/components/@deprecated/outline-image/package.json
@@ -1,6 +1,6 @@
{
"name": "@phase2/outline-image",
- "version": "0.1.4",
+ "version": "0.1.9",
"description": "The Outline Components for the image component",
"keywords": [
"outline",
@@ -21,14 +21,15 @@
"repository": {
"type": "git",
"url": "https://github.com/phase2/outline.git",
- "directory": "packages/outline-image"
+ "directory": "packages/components/@deprecated/outline-image"
},
+ "homepage": "https://github.com/phase2/outline/tree/next/packages/components/@deprecated/outline-image",
"scripts": {
- "build": "node ../../scripts/build.js",
+ "build": "node ../../../../scripts/build.js",
"package": "yarn publish"
},
"dependencies": {
- "@phase2/outline-core": "^0.1.10",
+ "@phase2/outline-core": "^0.2.5",
"lit": "^2.3.1",
"tslib": "^2.1.0"
},
diff --git a/packages/outline-image/src/config.ts b/packages/components/@deprecated/outline-image/src/config.ts
similarity index 95%
rename from packages/outline-image/src/config.ts
rename to packages/components/@deprecated/outline-image/src/config.ts
index 06e50ba5d..975ead0cf 100644
--- a/packages/outline-image/src/config.ts
+++ b/packages/components/@deprecated/outline-image/src/config.ts
@@ -3,7 +3,7 @@
* This file should contain various sample data and shared functions.
*/
import { html, TemplateResult } from 'lit';
-import { aspectRatios } from './outline-image';
+import { aspectRatios } from '@phase2/outline-image';
export const argImageRatioProperty = (
attributeName: string,
diff --git a/packages/outline-image/src/outline-image.css b/packages/components/@deprecated/outline-image/src/outline-image.css
similarity index 100%
rename from packages/outline-image/src/outline-image.css
rename to packages/components/@deprecated/outline-image/src/outline-image.css
diff --git a/packages/outline-image/src/outline-image.ts b/packages/components/@deprecated/outline-image/src/outline-image.ts
similarity index 90%
rename from packages/outline-image/src/outline-image.ts
rename to packages/components/@deprecated/outline-image/src/outline-image.ts
index 5bc521916..a99f8c4fa 100644
--- a/packages/outline-image/src/outline-image.ts
+++ b/packages/components/@deprecated/outline-image/src/outline-image.ts
@@ -16,7 +16,7 @@ export const aspectRatios = [
'21/9',
'42/9',
] as const;
-export type AspectRatios = typeof aspectRatios[number];
+export type AspectRatios = (typeof aspectRatios)[number];
/**
* The image component, with support for parallax scrolling.
* @element outline-image
@@ -76,18 +76,16 @@ export class OutlineImage extends OutlineElement {
}
render(): TemplateResult {
- return html`${
- this.imageHref
- ? html`