@storm-software/config 1.16.6 → 1.17.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## 1.17.0 (2024-05-07)
2
+
3
+
4
+ ### 🚀 Features
5
+
6
+ - **config:** Add the `help` color token type ([8a466466](https://github.com/storm-software/storm-ops/commit/8a466466))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.16.7 (2024-05-06)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **markdownlint:** Resolved issue with bad config in lint file ([95b3aba7](https://github.com/storm-software/storm-ops/commit/95b3aba7))
19
+
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - Patrick Sullivan
24
+
1
25
  ## 1.16.6 (2024-05-04)
2
26
 
3
27
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.16.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
24
+ [![Version](https://img.shields.io/badge/version-1.16.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
25
25
  [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
26
26
 
27
27
  > [!IMPORTANT]
package/index.cjs CHANGED
@@ -3951,8 +3951,9 @@ var z = /* @__PURE__ */ Object.freeze({
3951
3951
  // packages/config/src/schema.ts
3952
3952
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
3953
3953
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3954
- var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
3955
- var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
3954
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3955
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
3956
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
3956
3957
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
3957
3958
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
3958
3959
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
@@ -3963,6 +3964,7 @@ var DarkThemeColorConfigSchema = z.object({
3963
3964
  background: DarkColorSchema,
3964
3965
  brand: BrandColorSchema,
3965
3966
  accent: AccentColorSchema,
3967
+ help: HelpColorSchema,
3966
3968
  success: SuccessColorSchema,
3967
3969
  info: InfoColorSchema,
3968
3970
  warning: WarningColorSchema,
@@ -3974,6 +3976,7 @@ var LightThemeColorConfigSchema = z.object({
3974
3976
  background: LightColorSchema,
3975
3977
  brand: BrandColorSchema,
3976
3978
  accent: AccentColorSchema,
3979
+ help: HelpColorSchema,
3977
3980
  success: SuccessColorSchema,
3978
3981
  info: InfoColorSchema,
3979
3982
  warning: WarningColorSchema,
@@ -3989,6 +3992,7 @@ var SingleThemeColorConfigSchema = z.object({
3989
3992
  light: LightColorSchema,
3990
3993
  brand: BrandColorSchema,
3991
3994
  accent: AccentColorSchema,
3995
+ help: HelpColorSchema,
3992
3996
  success: SuccessColorSchema,
3993
3997
  info: InfoColorSchema,
3994
3998
  warning: WarningColorSchema,
@@ -4066,6 +4070,7 @@ var COLOR_KEYS = [
4066
4070
  "light",
4067
4071
  "brand",
4068
4072
  "accent",
4073
+ "help",
4069
4074
  "success",
4070
4075
  "info",
4071
4076
  "warning",
package/index.js CHANGED
@@ -3918,8 +3918,9 @@ var z = /* @__PURE__ */ Object.freeze({
3918
3918
  // packages/config/src/schema.ts
3919
3919
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
3920
3920
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3921
- var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
3922
- var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
3921
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3922
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
3923
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
3923
3924
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
3924
3925
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
3925
3926
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
@@ -3930,6 +3931,7 @@ var DarkThemeColorConfigSchema = z.object({
3930
3931
  background: DarkColorSchema,
3931
3932
  brand: BrandColorSchema,
3932
3933
  accent: AccentColorSchema,
3934
+ help: HelpColorSchema,
3933
3935
  success: SuccessColorSchema,
3934
3936
  info: InfoColorSchema,
3935
3937
  warning: WarningColorSchema,
@@ -3941,6 +3943,7 @@ var LightThemeColorConfigSchema = z.object({
3941
3943
  background: LightColorSchema,
3942
3944
  brand: BrandColorSchema,
3943
3945
  accent: AccentColorSchema,
3946
+ help: HelpColorSchema,
3944
3947
  success: SuccessColorSchema,
3945
3948
  info: InfoColorSchema,
3946
3949
  warning: WarningColorSchema,
@@ -3956,6 +3959,7 @@ var SingleThemeColorConfigSchema = z.object({
3956
3959
  light: LightColorSchema,
3957
3960
  brand: BrandColorSchema,
3958
3961
  accent: AccentColorSchema,
3962
+ help: HelpColorSchema,
3959
3963
  success: SuccessColorSchema,
3960
3964
  info: InfoColorSchema,
3961
3965
  warning: WarningColorSchema,
@@ -4033,6 +4037,7 @@ var COLOR_KEYS = [
4033
4037
  "light",
4034
4038
  "brand",
4035
4039
  "accent",
4040
+ "help",
4036
4041
  "success",
4037
4042
  "info",
4038
4043
  "warning",
package/meta.cjs.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytes":149301,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":8245,"imports":[{"path":"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1880,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":569},"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytesInOutput":116876},"packages/config/src/schema.ts":{"bytesInOutput":6817},"packages/config/src/types.ts":{"bytesInOutput":123},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125413}}}
1
+ {"inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytes":149301,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":8517,"imports":[{"path":"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":569},"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytesInOutput":116876},"packages/config/src/schema.ts":{"bytesInOutput":7066},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125672}}}
package/meta.esm.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytes":149301,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":8245,"imports":[{"path":"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1880,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytesInOutput":116876},"packages/config/src/schema.ts":{"bytesInOutput":6817},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":123},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":124256}}}
1
+ {"inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytes":149301,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":8517,"imports":[{"path":"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs":{"bytesInOutput":116876},"packages/config/src/schema.ts":{"bytesInOutput":7066},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":124515}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config",
3
- "version": "1.16.6",
3
+ "version": "1.17.0",
4
4
  "private": false,
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {
package/presets/base.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "background": "#f4f4f5",
17
17
  "foreground": "#1d232a",
18
18
  "brand": "#1fb2a6",
19
- "accent": "#8250df",
19
+ "help": "#8250df",
20
20
  "success": "#087f5b",
21
21
  "info": "#0550ae",
22
22
  "warning": "#e3b341",
@@ -26,7 +26,7 @@
26
26
  "background": "#22272E",
27
27
  "foreground": "#fcfcf5",
28
28
  "brand": "#1fb2a6",
29
- "accent": "#8256D0",
29
+ "help": "#8256D0",
30
30
  "success": "#087f5b",
31
31
  "info": "#316DCA",
32
32
  "warning": "#F3D371",
@@ -181,9 +181,16 @@
181
181
  "minLength": 7,
182
182
  "maxLength": 7,
183
183
  "default": "#1fb2a6",
184
- "description": "The first brand specific color of the workspace"
184
+ "description": "The primary brand specific color of the workspace"
185
185
  },
186
186
  "accent": {
187
+ "type": "string",
188
+ "pattern": "^#([0-9a-f]{3}){1,2}$",
189
+ "minLength": 7,
190
+ "maxLength": 7,
191
+ "description": "The secondary brand specific color of the workspace"
192
+ },
193
+ "help": {
187
194
  "type": "string",
188
195
  "pattern": "^#([0-9a-f]{3}){1,2}$",
189
196
  "minLength": 7,
@@ -251,6 +258,9 @@
251
258
  "accent": {
252
259
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
253
260
  },
261
+ "help": {
262
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/help"
263
+ },
254
264
  "success": {
255
265
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/success"
256
266
  },
@@ -284,6 +294,9 @@
284
294
  "accent": {
285
295
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
286
296
  },
297
+ "help": {
298
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/help"
299
+ },
287
300
  "success": {
288
301
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/success"
289
302
  },