├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ └── feature-request.yml ├── codeql │ └── codeql-config.yml └── workflows │ ├── badges.yml │ ├── ci.yml │ └── codeql.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── banner.svg ├── example ├── App.tsx ├── Pre.tsx ├── assets │ ├── banner.svg │ ├── files.svg │ ├── fill.svg │ ├── gear.svg │ └── plus.svg ├── env.d.ts ├── index.html ├── index.tsx ├── public │ └── og-banner.png ├── style.css ├── tsconfig.json ├── util │ ├── copyToClipboard.ts │ ├── locales.ts │ └── toggleCollapse.ts ├── vite.config.docs.ts └── vite.config.ts ├── package.json ├── pnpm-lock.yaml ├── src ├── components │ ├── DefaultColorPicker.tsx │ └── color-picker.css ├── index.tsx ├── locales │ ├── ar │ │ └── translation.json │ ├── de │ │ └── translation.json │ ├── en │ │ └── translation.json │ ├── es │ │ └── translation.json │ ├── fr │ │ └── translation.json │ ├── getLanguageStrings.ts │ ├── ja │ │ └── translation.json │ ├── ko │ │ └── translation.json │ ├── pl │ │ └── translation.json │ ├── pt │ │ └── translation.json │ ├── ro │ │ └── translation.json │ ├── ru │ │ └── translation.json │ └── zh │ │ └── translation.json ├── parts │ ├── ColorPickerContext.tsx │ ├── MenuDropdown.tsx │ └── PickerDropdown.tsx ├── types │ └── types.ts └── util │ ├── defaultValues.ts │ ├── initialControlPositions.ts │ └── offsetLength.ts ├── test ├── fixtures │ ├── DefaultPicker.tsx │ ├── colorNamesFrench.js │ ├── componentLabelsFrench.js │ ├── format.js │ ├── swipe.ts │ └── write.ts └── index.test.tsx ├── tsconfig.json ├── tsup.config.ts ├── vitest.config-ui.ts └── vitest.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/ISSUE_TEMPLATE/feature-request.yml -------------------------------------------------------------------------------- /.github/codeql/codeql-config.yml: -------------------------------------------------------------------------------- 1 | paths: 2 | - src 3 | -------------------------------------------------------------------------------- /.github/workflows/badges.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/workflows/badges.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/README.md -------------------------------------------------------------------------------- /banner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/banner.svg -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/Pre.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/Pre.tsx -------------------------------------------------------------------------------- /example/assets/banner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/assets/banner.svg -------------------------------------------------------------------------------- /example/assets/files.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/assets/files.svg -------------------------------------------------------------------------------- /example/assets/fill.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/assets/fill.svg -------------------------------------------------------------------------------- /example/assets/gear.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/assets/gear.svg -------------------------------------------------------------------------------- /example/assets/plus.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/assets/plus.svg -------------------------------------------------------------------------------- /example/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/env.d.ts -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/index.html -------------------------------------------------------------------------------- /example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/index.tsx -------------------------------------------------------------------------------- /example/public/og-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/public/og-banner.png -------------------------------------------------------------------------------- /example/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/style.css -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/util/copyToClipboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/util/copyToClipboard.ts -------------------------------------------------------------------------------- /example/util/locales.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/util/locales.ts -------------------------------------------------------------------------------- /example/util/toggleCollapse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/util/toggleCollapse.ts -------------------------------------------------------------------------------- /example/vite.config.docs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/vite.config.docs.ts -------------------------------------------------------------------------------- /example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/example/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/components/DefaultColorPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/components/DefaultColorPicker.tsx -------------------------------------------------------------------------------- /src/components/color-picker.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/components/color-picker.css -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/locales/ar/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/ar/translation.json -------------------------------------------------------------------------------- /src/locales/de/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/de/translation.json -------------------------------------------------------------------------------- /src/locales/en/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/en/translation.json -------------------------------------------------------------------------------- /src/locales/es/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/es/translation.json -------------------------------------------------------------------------------- /src/locales/fr/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/fr/translation.json -------------------------------------------------------------------------------- /src/locales/getLanguageStrings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/getLanguageStrings.ts -------------------------------------------------------------------------------- /src/locales/ja/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/ja/translation.json -------------------------------------------------------------------------------- /src/locales/ko/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/ko/translation.json -------------------------------------------------------------------------------- /src/locales/pl/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/pl/translation.json -------------------------------------------------------------------------------- /src/locales/pt/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/pt/translation.json -------------------------------------------------------------------------------- /src/locales/ro/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/ro/translation.json -------------------------------------------------------------------------------- /src/locales/ru/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/ru/translation.json -------------------------------------------------------------------------------- /src/locales/zh/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/locales/zh/translation.json -------------------------------------------------------------------------------- /src/parts/ColorPickerContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/parts/ColorPickerContext.tsx -------------------------------------------------------------------------------- /src/parts/MenuDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/parts/MenuDropdown.tsx -------------------------------------------------------------------------------- /src/parts/PickerDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/parts/PickerDropdown.tsx -------------------------------------------------------------------------------- /src/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/types/types.ts -------------------------------------------------------------------------------- /src/util/defaultValues.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/util/defaultValues.ts -------------------------------------------------------------------------------- /src/util/initialControlPositions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/util/initialControlPositions.ts -------------------------------------------------------------------------------- /src/util/offsetLength.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/src/util/offsetLength.ts -------------------------------------------------------------------------------- /test/fixtures/DefaultPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/DefaultPicker.tsx -------------------------------------------------------------------------------- /test/fixtures/colorNamesFrench.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/colorNamesFrench.js -------------------------------------------------------------------------------- /test/fixtures/componentLabelsFrench.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/componentLabelsFrench.js -------------------------------------------------------------------------------- /test/fixtures/format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/format.js -------------------------------------------------------------------------------- /test/fixtures/swipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/swipe.ts -------------------------------------------------------------------------------- /test/fixtures/write.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/fixtures/write.ts -------------------------------------------------------------------------------- /test/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/test/index.test.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vitest.config-ui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/vitest.config-ui.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thednp/solid-color-picker/HEAD/vitest.config.ts --------------------------------------------------------------------------------