@cieloazul310/digital-go-pandacss-utils 0.0.1-prerelease.0 → 0.0.1-prerelease.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cieloazul310/digital-go-pandacss-utils",
3
- "version": "0.0.1-prerelease.0",
3
+ "version": "0.0.1-prerelease.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/cieloazul310/digital-go-design-system-with-panda",
6
6
  "author": {
@@ -16,6 +16,9 @@
16
16
  "access": "public",
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
+ "files": [
20
+ "dist"
21
+ ],
19
22
  "types": "./dist/index.d.ts",
20
23
  "main": "./dist/index.js",
21
24
  "exports": {
@@ -1,25 +0,0 @@
1
-
2
- > @cieloazul310/digital-go-pandacss-utils@0.0.1-prerelease.0 build
3
- > tsup
4
-
5
- CLI Building entry: src/colors.ts, src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.0
8
- CLI Using tsup config: /home/runner/work/digital-go-design-system-with-panda/digital-go-design-system-with-panda/packages/utils/tsup.config.ts
9
- CLI Target: es2022
10
- CLI Cleaning output folder
11
- ESM Build start
12
- CJS Build start
13
- ESM dist/colors.mjs 86.00 B
14
- ESM dist/index.mjs 86.00 B
15
- ESM dist/chunk-OVJB6WNL.mjs 6.85 KB
16
- ESM ⚡️ Build success in 14ms
17
- CJS dist/colors.js 7.85 KB
18
- CJS dist/index.js 7.86 KB
19
- CJS ⚡️ Build success in 14ms
20
- DTS Build start
21
- DTS ⚡️ Build success in 1928ms
22
- DTS dist/colors.d.mts 1.04 KB
23
- DTS dist/index.d.mts 56.00 B
24
- DTS dist/colors.d.ts 1.04 KB
25
- DTS dist/index.d.ts 55.00 B
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @cieloazul310/digital-go-pandacss-utils
2
-
3
- ## 0.0.1-prerelease.0
4
-
5
- ### Patch Changes
6
-
7
- - d51597c: prerelease
package/eslint.config.mjs DELETED
@@ -1,6 +0,0 @@
1
- import libraryConfig from "@repo/eslint-config/library";
2
-
3
- /**
4
- * @type {import("eslint").Linter.Config}
5
- */
6
- export default [...libraryConfig];
package/src/colors.ts DELETED
@@ -1,50 +0,0 @@
1
- export type Palette =
2
- | "blue"
3
- | "light-blue"
4
- | "cyan"
5
- | "green"
6
- | "lime"
7
- | "yellow"
8
- | "orange"
9
- | "red"
10
- | "magenta"
11
- | "purple"
12
- | "solid-gray";
13
-
14
- export function createKeyColor(palette: Palette) {
15
- return {
16
- primary: {
17
- value: `{colors.${palette}.900}`,
18
- description:
19
- "ウェブサイトのトーン&マナーを確定するカラーです。サイト全体を通じて視覚的にブランドを伝える主要な要素(たとえば、ロゴタイプ、ヘッダーやグローバルナビゲーションの視覚表現)や、優先される動線や状況を示すUI(たとえば、CTAボタン、アクティブな状態表示等)に使用されます。プライマリーカラーには、主要な背景色とのコントラスト比が少なくとも4.5:1以上を維持できるカラーを選択する必要があります。",
20
- },
21
- secondary: {
22
- value: `{colors.${palette}.700}`,
23
- description:
24
- "セカンダリーカラーは、プライマリーカラーを補完して、あまり目立たなくていい副次的な動線や状況を示すUI(たとえば、選択肢を提供するボタン、機能や状態を表示するパーツ等)で使用します。プライマリーカラーと同じ色相で明度が高いまたは低いものを選択します。これにより、カラーの一貫性を保ちながら視覚的な対比、情報の階層、優先の順列等を反映したUIを作成する際に役立ちます。セカンダリーカラーを主要な背景色と隣接する表示要素に使用する場合は、主要な背景色とのコントラスト比が少なくとも3:1以上を維持できるカラーを選択する必要があります。なお、セカンダリーカラーをテキストのカラーとして使用する場合は、コントラスト比が少なくとも4.5:1以上でなければなりません。",
25
- },
26
- tertiary: {
27
- value: `{colors.${palette}.1000}`,
28
- description:
29
- "ターシャリーカラーは、セカンダリーカラーと反対の明度で設定します。プライマリーカラーと同色相で、明度高をセカンダリーカラーとした場合は明度低をターシャリーカラーに、明度低をセカンダリーカラーとした場合は明度高をターシャリーカラーとします。ターシャリーカラーを主要な背景色と隣接する表示要素に使用する場合は、主要な背景色とのコントラスト比が少なくとも3:1以上を維持できるカラーを選択する必要があります。なお、ターシャリーカラーをテキストのカラーとして使用する場合は、コントラスト比が少なくとも4.5:1以上でなければなりません。",
30
- },
31
- bg: {
32
- value: `{colors.${palette}.50}`,
33
- description:
34
- "白または黒以外のバックグラウンドカラーは、ウェブサイトやアプリのさまざまなセクションや要素の背景に特別に選ばれるカラーです。テキストや非テキスト要素のカラーは、背景色とのコントラスト比を考慮して設定されていますが、通常、この時に想定している背景色は白または黒です。バックグラウンドカラーの上にテキストや非テキスト要素が配置される場合、そのままではコントラスト要件を満たさなくなる場合があります。バックグラウンドカラーに応じて、コントラスト比を調整してください。",
35
- },
36
- 50: { value: `{colors.${palette}.50}` },
37
- 100: { value: `{colors.${palette}.100}` },
38
- 200: { value: `{colors.${palette}.200}` },
39
- 300: { value: `{colors.${palette}.300}` },
40
- 400: { value: `{colors.${palette}.400}` },
41
- 500: { value: `{colors.${palette}.500}` },
42
- 600: { value: `{colors.${palette}.600}` },
43
- 700: { value: `{colors.${palette}.700}` },
44
- 800: { value: `{colors.${palette}.800}` },
45
- 900: { value: `{colors.${palette}.900}` },
46
- 1000: { value: `{colors.${palette}.1000}` },
47
- 1100: { value: `{colors.${palette}.1100}` },
48
- 1200: { value: `{colors.${palette}.1200}` },
49
- };
50
- }
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./colors";
package/tsconfig.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "@repo/typescript-config/base.json",
3
- "include": ["src", "tsup.config.ts", "eslint.config.mjs"]
4
- }
package/tsup.config.ts DELETED
@@ -1,9 +0,0 @@
1
- import { defineConfig } from "tsup";
2
-
3
- export default defineConfig({
4
- entry: ["src"],
5
- external: ["@pandacss/dev"],
6
- format: ["esm", "cjs"],
7
- dts: true,
8
- clean: true,
9
- });