@clickhouse/click-ui 0.1.0 → 0.2.0-rc.1

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.
Files changed (39) hide show
  1. package/README.md +3 -0
  2. package/dist/cjs/components/Assets/Logos/Biglake-Metastore.cjs +14 -0
  3. package/dist/cjs/components/Assets/Logos/Biglake-Metastore.cjs.map +1 -0
  4. package/dist/cjs/components/Assets/Logos/system/LogosDark.cjs +2 -0
  5. package/dist/cjs/components/Assets/Logos/system/LogosDark.cjs.map +1 -1
  6. package/dist/cjs/components/Assets/Logos/system/LogosLight.cjs +2 -0
  7. package/dist/cjs/components/Assets/Logos/system/LogosLight.cjs.map +1 -1
  8. package/dist/cjs/components/InputWrapper/index.cjs +1 -1
  9. package/dist/cjs/components/InputWrapper/index.cjs.map +1 -1
  10. package/dist/cjs/components/NumberField/index.cjs +15 -2
  11. package/dist/cjs/components/NumberField/index.cjs.map +1 -1
  12. package/dist/cjs/components/Text/index.cjs.map +1 -1
  13. package/dist/cjs/theme/tokens/variables.dark.cjs +2 -1
  14. package/dist/cjs/theme/tokens/variables.dark.cjs.map +1 -1
  15. package/dist/cjs/theme/tokens/variables.light.cjs +2 -1
  16. package/dist/cjs/theme/tokens/variables.light.cjs.map +1 -1
  17. package/dist/esm/components/Assets/Logos/Biglake-Metastore.js +10 -0
  18. package/dist/esm/components/Assets/Logos/Biglake-Metastore.js.map +1 -0
  19. package/dist/esm/components/Assets/Logos/system/LogosDark.js +2 -0
  20. package/dist/esm/components/Assets/Logos/system/LogosDark.js.map +1 -1
  21. package/dist/esm/components/Assets/Logos/system/LogosLight.js +2 -0
  22. package/dist/esm/components/Assets/Logos/system/LogosLight.js.map +1 -1
  23. package/dist/esm/components/InputWrapper/index.js +1 -1
  24. package/dist/esm/components/InputWrapper/index.js.map +1 -1
  25. package/dist/esm/components/NumberField/index.js +17 -4
  26. package/dist/esm/components/NumberField/index.js.map +1 -1
  27. package/dist/esm/components/Text/index.js.map +1 -1
  28. package/dist/esm/theme/tokens/variables.dark.js +2 -1
  29. package/dist/esm/theme/tokens/variables.dark.js.map +1 -1
  30. package/dist/esm/theme/tokens/variables.light.js +2 -1
  31. package/dist/esm/theme/tokens/variables.light.js.map +1 -1
  32. package/dist/types/components/Assets/Logos/Biglake-Metastore.d.ts +3 -0
  33. package/dist/types/components/Assets/Logos/system/types.d.ts +1 -1
  34. package/dist/types/components/NumberField/NumberField.d.ts +5 -1
  35. package/dist/types/components/Text/Text.d.ts +1 -1
  36. package/dist/types/theme/theme.core.d.ts +2 -0
  37. package/dist/types/theme/tokens/variables.dark.d.ts +1 -0
  38. package/dist/types/theme/tokens/variables.light.d.ts +1 -0
  39. package/package.json +1 -2
package/README.md CHANGED
@@ -98,6 +98,9 @@ Check for circular dependencies that can cause build and runtime issues:
98
98
  yarn circular-dependency:check
99
99
  ```
100
100
 
101
+ > [!TIP]
102
+ > Set RUN_DEPS_CHECK=1 to run circular dependency checks automatically on commit.
103
+
101
104
  If circular dependencies are found it'll exit with a report showing the affeced files which require your attention.
102
105
 
103
106
  ### Generating design tokens
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
+
5
+ const jsxRuntime = require('react/jsx-runtime');
6
+
7
+ const Biglake_Metastore = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, width: "64", height: "64", children: [
8
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", d: "M0 0h512v512H0z" }),
9
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#9aa0a6", d: "M155.24 255.523c-11.135 0-21.995 1.79-32.254 5.226l-38.85-74.169c-4.096-7.817-13.754-10.834-21.568-6.741-7.817 4.095-10.835 13.752-6.741 21.568l38.865 74.199a103 103 0 0 0-11.037 9.569c-19.122 19.12-29.652 44.544-29.652 71.585s10.531 52.464 29.652 71.585c19.12 19.121 44.543 29.652 71.585 29.652s52.465-10.531 71.585-29.652c39.466-39.473 39.469-103.7 0-143.17-19.12-19.121-44.544-29.652-71.585-29.652m48.989 150.226c-13.086 13.086-30.484 20.292-48.989 20.292s-35.903-7.206-48.989-20.292-20.292-30.484-20.292-48.989 7.206-35.903 20.292-48.989c5-5 10.633-9.133 16.713-12.342q.059-.028.119-.058l.025-.015c9.796-5.141 20.752-7.877 32.132-7.877 18.506 0 35.903 7.207 48.989 20.292s20.292 30.483 20.292 48.989-7.207 35.903-20.292 48.989M456.172 310.593l-38.865-74.198a103 103 0 0 0 11.038-9.57c19.122-19.12 29.652-44.544 29.652-71.585s-10.53-52.464-29.652-71.585c-19.12-19.12-44.545-29.652-71.585-29.652s-52.464 10.531-71.585 29.652c-39.472 39.472-39.472 103.698 0 143.17 19.12 19.121 44.544 29.652 71.585 29.652 11.136 0 21.995-1.79 32.255-5.226l38.85 74.169c2.854 5.45 8.413 8.567 14.167 8.567 2.499 0 5.034-.587 7.4-1.828 7.818-4.094 10.835-13.751 6.74-21.567ZM307.771 204.229c-13.084-13.086-20.292-30.483-20.292-48.989s7.207-35.903 20.292-48.989 30.484-20.292 48.989-20.292 35.903 7.206 48.989 20.292 20.292 30.484 20.292 48.989-7.206 35.903-20.292 48.989a69.5 69.5 0 0 1-16.825 12.399l-.006.003-.003.002c-9.802 5.149-20.766 7.888-32.154 7.888-18.506 0-35.903-7.207-48.989-20.292z" }),
10
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#4285f4", d: "M356.76 54.003c-27.041 0-52.465 10.531-71.585 29.652-19.121 19.12-29.652 44.544-29.652 71.585 0 21.638 6.749 42.235 19.24 59.401l-83.135 83.135c5.337 3.522 6.499 4.277 12.601 9.995 27.879 26.118 27.012 70.965 0 97.978-13.086 13.086-30.484 20.292-48.989 20.292s-35.903-7.206-48.989-20.292l-22.596 22.596c19.12 19.121 44.544 29.652 71.585 29.652s52.465-10.531 71.585-29.652c19.121-19.12 29.652-44.544 29.652-71.585 0-21.638-6.749-42.235-19.24-59.401l83.134-83.134c-3.873-2.619-6.619-4.107-12.6-9.996-27.222-26.801-27.012-70.965 0-97.978 13.086-13.086 30.484-20.292 48.989-20.292s35.903 7.206 48.989 20.292l22.596-22.596c-19.12-19.121-44.544-29.652-71.585-29.652" })
11
+ ] });
12
+
13
+ exports.default = Biglake_Metastore;
14
+ //# sourceMappingURL=Biglake-Metastore.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Biglake-Metastore.cjs","sources":["../../../../../src/components/Assets/Logos/Biglake-Metastore.tsx"],"sourcesContent":["import type { SVGAssetProps } from '@/types';\n\nconst Biglake_Metastore = (props: SVGAssetProps) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 512 512\"\n {...props}\n width=\"64\"\n height=\"64\"\n >\n <path\n fill=\"none\"\n d=\"M0 0h512v512H0z\"\n />\n <path\n fill=\"#9aa0a6\"\n d=\"M155.24 255.523c-11.135 0-21.995 1.79-32.254 5.226l-38.85-74.169c-4.096-7.817-13.754-10.834-21.568-6.741-7.817 4.095-10.835 13.752-6.741 21.568l38.865 74.199a103 103 0 0 0-11.037 9.569c-19.122 19.12-29.652 44.544-29.652 71.585s10.531 52.464 29.652 71.585c19.12 19.121 44.543 29.652 71.585 29.652s52.465-10.531 71.585-29.652c39.466-39.473 39.469-103.7 0-143.17-19.12-19.121-44.544-29.652-71.585-29.652m48.989 150.226c-13.086 13.086-30.484 20.292-48.989 20.292s-35.903-7.206-48.989-20.292-20.292-30.484-20.292-48.989 7.206-35.903 20.292-48.989c5-5 10.633-9.133 16.713-12.342q.059-.028.119-.058l.025-.015c9.796-5.141 20.752-7.877 32.132-7.877 18.506 0 35.903 7.207 48.989 20.292s20.292 30.483 20.292 48.989-7.207 35.903-20.292 48.989M456.172 310.593l-38.865-74.198a103 103 0 0 0 11.038-9.57c19.122-19.12 29.652-44.544 29.652-71.585s-10.53-52.464-29.652-71.585c-19.12-19.12-44.545-29.652-71.585-29.652s-52.464 10.531-71.585 29.652c-39.472 39.472-39.472 103.698 0 143.17 19.12 19.121 44.544 29.652 71.585 29.652 11.136 0 21.995-1.79 32.255-5.226l38.85 74.169c2.854 5.45 8.413 8.567 14.167 8.567 2.499 0 5.034-.587 7.4-1.828 7.818-4.094 10.835-13.751 6.74-21.567ZM307.771 204.229c-13.084-13.086-20.292-30.483-20.292-48.989s7.207-35.903 20.292-48.989 30.484-20.292 48.989-20.292 35.903 7.206 48.989 20.292 20.292 30.484 20.292 48.989-7.206 35.903-20.292 48.989a69.5 69.5 0 0 1-16.825 12.399l-.006.003-.003.002c-9.802 5.149-20.766 7.888-32.154 7.888-18.506 0-35.903-7.207-48.989-20.292z\"\n />\n <path\n fill=\"#4285f4\"\n d=\"M356.76 54.003c-27.041 0-52.465 10.531-71.585 29.652-19.121 19.12-29.652 44.544-29.652 71.585 0 21.638 6.749 42.235 19.24 59.401l-83.135 83.135c5.337 3.522 6.499 4.277 12.601 9.995 27.879 26.118 27.012 70.965 0 97.978-13.086 13.086-30.484 20.292-48.989 20.292s-35.903-7.206-48.989-20.292l-22.596 22.596c19.12 19.121 44.544 29.652 71.585 29.652s52.465-10.531 71.585-29.652c19.121-19.12 29.652-44.544 29.652-71.585 0-21.638-6.749-42.235-19.24-59.401l83.134-83.134c-3.873-2.619-6.619-4.107-12.6-9.996-27.222-26.801-27.012-70.965 0-97.978 13.086-13.086 30.484-20.292 48.989-20.292s35.903 7.206 48.989 20.292l22.596-22.596c-19.12-19.121-44.544-29.652-71.585-29.652\"\n />\n </svg>\n);\nexport default Biglake_Metastore;\n"],"names":["Biglake_Metastore","props","jsxs","jsx"],"mappings":";;;;;;AAEA,MAAMA,iBAAAA,GAAoBA,CAACC,KAAAA,qBACzBC,eAAA,CAAC,SACC,KAAA,EAAM,4BAAA,EACN,OAAA,EAAQ,aAAA,EACR,GAAID,KAAAA,EACJ,KAAA,EAAM,IAAA,EACN,QAAO,IAAA,EAEP,QAAA,EAAA;AAAA,kBAAAE,cAAA,CAAC,MAAA,EAAA,EACC,IAAA,EAAK,MAAA,EACL,CAAA,EAAE,iBAAA,EAAiB,CAAA;AAAA,kBAErBA,cAAA,CAAC,MAAA,EAAA,EACC,IAAA,EAAK,SAAA,EACL,GAAE,w8CAAA,EAAw8C,CAAA;AAAA,kBAE58CA,cAAA,CAAC,MAAA,EAAA,EACC,IAAA,EAAK,SAAA,EACL,GAAE,qpBAAA,EAAqpB;AAAA,CAAA,EAE3pB;;;;"}
@@ -17,6 +17,7 @@ const AWS_S3 = require('../AWS_S3.cjs');
17
17
  const Azure = require('../Azure.cjs');
18
18
  const Azure_Blob_Storage = require('../Azure_Blob_Storage.cjs');
19
19
  const Azure_Event_Hub = require('../Azure_Event_Hub.cjs');
20
+ const BiglakeMetastore = require('../Biglake-Metastore.cjs');
20
21
  const Bigquery = require('../Bigquery.cjs');
21
22
  const Clickhouse = require('../Clickhouse.cjs');
22
23
  const Cloudflare = require('../Cloudflare.cjs');
@@ -88,6 +89,7 @@ const LogosDark = {
88
89
  azure: Azure.default,
89
90
  "azure-blob-storage": Azure_Blob_Storage.default,
90
91
  "azure-event-hub": Azure_Event_Hub.default,
92
+ "biglake-metastore": BiglakeMetastore.default,
91
93
  bigquery: Bigquery.default,
92
94
  clickhouse: Clickhouse.default,
93
95
  cloudflare: Cloudflare.default,
@@ -1 +1 @@
1
- {"version":3,"file":"LogosDark.cjs","sources":["../../../../../../src/components/Assets/Logos/system/LogosDark.ts"],"sourcesContent":["/*\n ** WARNING: Auto-generated file!\n ** Do NOT modify it, your changes will be lost!\n ** If you find need to modify manually,\n ** report the issue immediately.\n */\n\nimport Airbyte from '../Airbyte';\nimport Alloydb from '../Alloydb';\nimport ApacheIceberg from '../ApacheIceberg';\nimport AWS from '../AWS';\nimport AWS_ATHENA from '../AWS_ATHENA';\nimport AWS_AURORA from '../AWS_AURORA';\nimport AWS_GLUE from '../AWS_GLUE';\nimport AWS_KINESIS from '../AWS_KINESIS';\nimport AWS_MSK from '../AWS_MSK';\nimport AWS_RDS from '../AWS_RDS';\nimport AWS_REDSHIFT from '../AWS_REDSHIFT';\nimport AWS_S3 from '../AWS_S3';\nimport Azure from '../Azure';\nimport Azure_Blob_Storage from '../Azure_Blob_Storage';\nimport Azure_Event_Hub from '../Azure_Event_Hub';\nimport Bigquery from '../Bigquery';\nimport Clickhouse from '../Clickhouse';\nimport Cloudflare from '../Cloudflare';\nimport Confluent from '../Confluent';\nimport Crunchy_Bridge from '../Crunchy_Bridge';\nimport Csharp from '../Csharp';\nimport Databricks from '../Databricks';\nimport Datagrip from '../Datagrip';\nimport Dbeaver from '../Dbeaver';\nimport Dbt from '../Dbt';\nimport Decodeable from '../Decodeable';\nimport Deepnote from '../Deepnote';\nimport Deltalake from '../Deltalake';\nimport Digitalocean from '../Digitalocean';\nimport FeatureDatabase from '../FeatureDatabase';\nimport FeatureHexagon from '../FeatureHexagon';\nimport Fivetran from '../Fivetran';\nimport Gcp from '../Gcp';\nimport GCS from '../GCS';\nimport Github from '../Github';\nimport Golang from '../Golang';\nimport Google from '../Google';\nimport Grafana from '../Grafana';\nimport Hex from '../Hex';\nimport Hudi from '../Hudi';\nimport Iceberg from '../Iceberg';\nimport Jdbc from '../Jdbc';\nimport Kafka from '../Kafka';\nimport Kubernetes from '../Kubernetes';\nimport Lakekeeper from '../Lakekeeper';\nimport Mariadb from '../Mariadb';\nimport Metabase from '../Metabase';\nimport Microsoft from '../Microsoft';\nimport Mongodb from '../Mongodb';\nimport Mysql from '../Mysql';\nimport Neondb from '../Neondb';\nimport Nessie from '../Nessie';\nimport Nodejs from '../Nodejs';\nimport Onelake from '../Onelake';\nimport OVH from '../OVH';\nimport Planetscale from '../Planetscale';\nimport Postgres from '../Postgres';\nimport Prequel from '../Prequel';\nimport Python from '../Python';\nimport Redpanda from '../Redpanda';\nimport Rust from '../Rust';\nimport Snowflake from '../Snowflake';\nimport Supabase from '../Supabase';\nimport Superset from '../Superset';\nimport Tableau from '../Tableau';\nimport Tigerdata from '../Tigerdata';\nimport Upstash from '../Upstash';\nimport Vector from '../Vector';\nimport Warpstream from '../Warpstream';\nimport { LogoName } from './types';\nimport type { SVGAssetProps } from '@/types';\nimport type { ComponentType } from 'react';\n\nconst LogosDark: Record<LogoName, ComponentType<SVGAssetProps>> = {\n airbyte: Airbyte,\n alloydb: Alloydb,\n 'apache-iceberg': ApacheIceberg,\n aws: AWS,\n 'aws-athena': AWS_ATHENA,\n 'aws-aurora': AWS_AURORA,\n 'aws-glue': AWS_GLUE,\n 'aws-kinesis': AWS_KINESIS,\n 'aws-msk': AWS_MSK,\n 'aws-rds': AWS_RDS,\n 'aws-redshift': AWS_REDSHIFT,\n 'aws-s3': AWS_S3,\n azure: Azure,\n 'azure-blob-storage': Azure_Blob_Storage,\n 'azure-event-hub': Azure_Event_Hub,\n bigquery: Bigquery,\n clickhouse: Clickhouse,\n cloudflare: Cloudflare,\n confluent: Confluent,\n 'crunchy-bridge': Crunchy_Bridge,\n csharp: Csharp,\n databricks: Databricks,\n datagrip: Datagrip,\n dbeaver: Dbeaver,\n dbt: Dbt,\n decodeable: Decodeable,\n deepnote: Deepnote,\n deltalake: Deltalake,\n digitalocean: Digitalocean,\n 'feature-database': FeatureDatabase,\n 'feature-hexagon': FeatureHexagon,\n fivetran: Fivetran,\n gcp: Gcp,\n gcs: GCS,\n github: Github,\n golang: Golang,\n google: Google,\n grafana: Grafana,\n hex: Hex,\n hudi: Hudi,\n iceberg: Iceberg,\n jdbc: Jdbc,\n kafka: Kafka,\n kubernetes: Kubernetes,\n lakekeeper: Lakekeeper,\n mariadb: Mariadb,\n metabase: Metabase,\n microsoft: Microsoft,\n mongodb: Mongodb,\n mysql: Mysql,\n neondb: Neondb,\n nessie: Nessie,\n nodejs: Nodejs,\n onelake: Onelake,\n ovh: OVH,\n planetscale: Planetscale,\n postgres: Postgres,\n prequel: Prequel,\n python: Python,\n redpanda: Redpanda,\n rust: Rust,\n snowflake: Snowflake,\n supabase: Supabase,\n superset: Superset,\n tableau: Tableau,\n tigerdata: Tigerdata,\n upstash: Upstash,\n vector: Vector,\n warpstream: Warpstream,\n};\n\nexport default LogosDark;\n"],"names":["LogosDark","airbyte","Airbyte","alloydb","Alloydb","ApacheIceberg","aws","AWS","AWS_ATHENA","AWS_AURORA","AWS_GLUE","AWS_KINESIS","AWS_MSK","AWS_RDS","AWS_REDSHIFT","AWS_S3","azure","Azure","Azure_Blob_Storage","Azure_Event_Hub","bigquery","Bigquery","clickhouse","Clickhouse","cloudflare","Cloudflare","confluent","Confluent","Crunchy_Bridge","csharp","Csharp","databricks","Databricks","datagrip","Datagrip","dbeaver","Dbeaver","dbt","Dbt","decodeable","Decodeable","deepnote","Deepnote","deltalake","Deltalake","digitalocean","Digitalocean","FeatureDatabase","FeatureHexagon","fivetran","Fivetran","gcp","Gcp","gcs","GCS","github","Github","golang","Golang","google","Google","grafana","Grafana","hex","Hex","hudi","Hudi","iceberg","Iceberg","jdbc","Jdbc","kafka","Kafka","kubernetes","Kubernetes","lakekeeper","Lakekeeper","mariadb","Mariadb","metabase","Metabase","microsoft","Microsoft","mongodb","Mongodb","mysql","Mysql","neondb","Neondb","nessie","Nessie","nodejs","Nodejs","onelake","Onelake","ovh","OVH","planetscale","Planetscale","postgres","Postgres","prequel","Prequel","python","Python","redpanda","Redpanda","rust","Rust","snowflake","Snowflake","supabase","Supabase","superset","Superset","tableau","Tableau","tigerdata","Tigerdata","upstash","Upstash","vector","Vector","warpstream","Warpstream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFA,MAAMA,SAAAA,GAA4D;AAAA,EAChEC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,OAAAA,EAASC,eAAAA;AAAAA,EACT,gBAAA,EAAkBC,qBAAAA;AAAAA,EAClBC,GAAAA,EAAKC,WAAAA;AAAAA,EACL,YAAA,EAAcC,kB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C,YAAAA;AAAAA,EACNC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,IAAAA,EAAMC,YAAAA;AAAAA,EACNC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,UAAAA,EAAYC,kBAAAA;AAAAA,EACZC,UAAAA,EAAYC,kBAAAA;AAAAA,EACZC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,GAAAA,EAAKC,WAAAA;AAAAA,EACLC,WAAAA,EAAaC,mBAAAA;AAAAA,EACbC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,IAAAA,EAAMC,YAAAA;AAAAA,EACNC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,UAAAA,EAAYC;AACd;;;;"}
1
+ {"version":3,"file":"LogosDark.cjs","sources":["../../../../../../src/components/Assets/Logos/system/LogosDark.ts"],"sourcesContent":["/*\n ** WARNING: Auto-generated file!\n ** Do NOT modify it, your changes will be lost!\n ** If you find need to modify manually,\n ** report the issue immediately.\n */\n\nimport Airbyte from '../Airbyte';\nimport Alloydb from '../Alloydb';\nimport ApacheIceberg from '../ApacheIceberg';\nimport AWS from '../AWS';\nimport AWS_ATHENA from '../AWS_ATHENA';\nimport AWS_AURORA from '../AWS_AURORA';\nimport AWS_GLUE from '../AWS_GLUE';\nimport AWS_KINESIS from '../AWS_KINESIS';\nimport AWS_MSK from '../AWS_MSK';\nimport AWS_RDS from '../AWS_RDS';\nimport AWS_REDSHIFT from '../AWS_REDSHIFT';\nimport AWS_S3 from '../AWS_S3';\nimport Azure from '../Azure';\nimport Azure_Blob_Storage from '../Azure_Blob_Storage';\nimport Azure_Event_Hub from '../Azure_Event_Hub';\nimport Biglake_Metastore from '../Biglake-Metastore';\nimport Bigquery from '../Bigquery';\nimport Clickhouse from '../Clickhouse';\nimport Cloudflare from '../Cloudflare';\nimport Confluent from '../Confluent';\nimport Crunchy_Bridge from '../Crunchy_Bridge';\nimport Csharp from '../Csharp';\nimport Databricks from '../Databricks';\nimport Datagrip from '../Datagrip';\nimport Dbeaver from '../Dbeaver';\nimport Dbt from '../Dbt';\nimport Decodeable from '../Decodeable';\nimport Deepnote from '../Deepnote';\nimport Deltalake from '../Deltalake';\nimport Digitalocean from '../Digitalocean';\nimport FeatureDatabase from '../FeatureDatabase';\nimport FeatureHexagon from '../FeatureHexagon';\nimport Fivetran from '../Fivetran';\nimport Gcp from '../Gcp';\nimport GCS from '../GCS';\nimport Github from '../Github';\nimport Golang from '../Golang';\nimport Google from '../Google';\nimport Grafana from '../Grafana';\nimport Hex from '../Hex';\nimport Hudi from '../Hudi';\nimport Iceberg from '../Iceberg';\nimport Jdbc from '../Jdbc';\nimport Kafka from '../Kafka';\nimport Kubernetes from '../Kubernetes';\nimport Lakekeeper from '../Lakekeeper';\nimport Mariadb from '../Mariadb';\nimport Metabase from '../Metabase';\nimport Microsoft from '../Microsoft';\nimport Mongodb from '../Mongodb';\nimport Mysql from '../Mysql';\nimport Neondb from '../Neondb';\nimport Nessie from '../Nessie';\nimport Nodejs from '../Nodejs';\nimport Onelake from '../Onelake';\nimport OVH from '../OVH';\nimport Planetscale from '../Planetscale';\nimport Postgres from '../Postgres';\nimport Prequel from '../Prequel';\nimport Python from '../Python';\nimport Redpanda from '../Redpanda';\nimport Rust from '../Rust';\nimport Snowflake from '../Snowflake';\nimport Supabase from '../Supabase';\nimport Superset from '../Superset';\nimport Tableau from '../Tableau';\nimport Tigerdata from '../Tigerdata';\nimport Upstash from '../Upstash';\nimport Vector from '../Vector';\nimport Warpstream from '../Warpstream';\nimport { LogoName } from './types';\nimport type { SVGAssetProps } from '@/types';\nimport type { ComponentType } from 'react';\n\nconst LogosDark: Record<LogoName, ComponentType<SVGAssetProps>> = {\n airbyte: Airbyte,\n alloydb: Alloydb,\n 'apache-iceberg': ApacheIceberg,\n aws: AWS,\n 'aws-athena': AWS_ATHENA,\n 'aws-aurora': AWS_AURORA,\n 'aws-glue': AWS_GLUE,\n 'aws-kinesis': AWS_KINESIS,\n 'aws-msk': AWS_MSK,\n 'aws-rds': AWS_RDS,\n 'aws-redshift': AWS_REDSHIFT,\n 'aws-s3': AWS_S3,\n azure: Azure,\n 'azure-blob-storage': Azure_Blob_Storage,\n 'azure-event-hub': Azure_Event_Hub,\n 'biglake-metastore': Biglake_Metastore,\n bigquery: Bigquery,\n clickhouse: Clickhouse,\n cloudflare: Cloudflare,\n confluent: Confluent,\n 'crunchy-bridge': Crunchy_Bridge,\n csharp: Csharp,\n databricks: Databricks,\n datagrip: Datagrip,\n dbeaver: Dbeaver,\n dbt: Dbt,\n decodeable: Decodeable,\n deepnote: Deepnote,\n deltalake: Deltalake,\n digitalocean: Digitalocean,\n 'feature-database': FeatureDatabase,\n 'feature-hexagon': FeatureHexagon,\n fivetran: Fivetran,\n gcp: Gcp,\n gcs: GCS,\n github: Github,\n golang: Golang,\n google: Google,\n grafana: Grafana,\n hex: Hex,\n hudi: Hudi,\n iceberg: Iceberg,\n jdbc: Jdbc,\n kafka: Kafka,\n kubernetes: Kubernetes,\n lakekeeper: Lakekeeper,\n mariadb: Mariadb,\n metabase: Metabase,\n microsoft: Microsoft,\n mongodb: Mongodb,\n mysql: Mysql,\n neondb: Neondb,\n nessie: Nessie,\n nodejs: Nodejs,\n onelake: Onelake,\n ovh: OVH,\n planetscale: Planetscale,\n postgres: Postgres,\n prequel: Prequel,\n python: Python,\n redpanda: Redpanda,\n rust: Rust,\n snowflake: Snowflake,\n supabase: Supabase,\n superset: Superset,\n tableau: Tableau,\n tigerdata: Tigerdata,\n upstash: Upstash,\n vector: Vector,\n warpstream: Warpstream,\n};\n\nexport default LogosDark;\n"],"names":["LogosDark","airbyte","Airbyte","alloydb","Alloydb","ApacheIceberg","aws","AWS","AWS_ATHENA","AWS_AURORA","AWS_GLUE","AWS_KINESIS","AWS_MSK","AWS_RDS","AWS_REDSHIFT","AWS_S3","azure","Azure","Azure_Blob_Storage","Azure_Event_Hub","Biglake_Metastore","bigquery","Bigquery","clickhouse","Clickhouse","cloudflare","Cloudflare","confluent","Confluent","Crunchy_Bridge","csharp","Csharp","databricks","Databricks","datagrip","Datagrip","dbeaver","Dbeaver","dbt","Dbt","decodeable","Decodeable","deepnote","Deepnote","deltalake","Deltalake","digitalocean","Digitalocean","FeatureDatabase","FeatureHexagon","fivetran","Fivetran","gcp","Gcp","gcs","GCS","github","Github","golang","Golang","google","Google","grafana","Grafana","hex","Hex","hudi","Hudi","iceberg","Iceberg","jdbc","Jdbc","kafka","Kafka","kubernetes","Kubernetes","lakekeeper","Lakekeeper","mariadb","Mariadb","metabase","Metabase","microsoft","Microsoft","mongodb","Mongodb","mysql","Mysql","neondb","Neondb","nessie","Nessie","nodejs","Nodejs","onelake","Onelake","ovh","OVH","planetscale","Planetscale","postgres","Postgres","prequel","Prequel","python","Python","redpanda","Redpanda","rust","Rust","snowflake","Snowflake","supabase","Supabase","superset","Superset","tableau","Tableau","tigerdata","Tigerdata","upstash","Upstash","vector","Vector","warpstream","Warpstream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,UAAAA,EAAYC;AACd;;;;"}
@@ -17,6 +17,7 @@ const AWS_S3 = require('../AWS_S3.cjs');
17
17
  const Azure = require('../Azure.cjs');
18
18
  const Azure_Blob_Storage = require('../Azure_Blob_Storage.cjs');
19
19
  const Azure_Event_Hub = require('../Azure_Event_Hub.cjs');
20
+ const BiglakeMetastore = require('../Biglake-Metastore.cjs');
20
21
  const Bigquery = require('../Bigquery.cjs');
21
22
  const Clickhouse = require('../Clickhouse.cjs');
22
23
  const Cloudflare = require('../Cloudflare.cjs');
@@ -88,6 +89,7 @@ const LogosLight = {
88
89
  azure: Azure.default,
89
90
  "azure-blob-storage": Azure_Blob_Storage.default,
90
91
  "azure-event-hub": Azure_Event_Hub.default,
92
+ "biglake-metastore": BiglakeMetastore.default,
91
93
  bigquery: Bigquery.default,
92
94
  clickhouse: Clickhouse.default,
93
95
  cloudflare: Cloudflare.default,
@@ -1 +1 @@
1
- {"version":3,"file":"LogosLight.cjs","sources":["../../../../../../src/components/Assets/Logos/system/LogosLight.ts"],"sourcesContent":["/*\n ** WARNING: Auto-generated file!\n ** Do NOT modify it, your changes will be lost!\n ** If you find need to modify manually,\n ** report the issue immediately.\n */\n\nimport Airbyte from '../Airbyte';\nimport Alloydb from '../Alloydb';\nimport ApacheIceberg from '../ApacheIceberg';\nimport AWS from '../AWS';\nimport AWS_ATHENA from '../AWS_ATHENA';\nimport AWS_AURORA from '../AWS_AURORA';\nimport AWS_GLUE from '../AWS_GLUE';\nimport AWS_KINESIS from '../AWS_KINESIS';\nimport AWS_MSK from '../AWS_MSK';\nimport AWS_RDS from '../AWS_RDS';\nimport AWS_REDSHIFT from '../AWS_REDSHIFT';\nimport AWS_S3 from '../AWS_S3';\nimport Azure from '../Azure';\nimport Azure_Blob_Storage from '../Azure_Blob_Storage';\nimport Azure_Event_Hub from '../Azure_Event_Hub';\nimport Bigquery from '../Bigquery';\nimport Clickhouse from '../Clickhouse';\nimport Cloudflare from '../Cloudflare';\nimport Confluent from '../Confluent';\nimport Crunchy_Bridge from '../Crunchy_Bridge';\nimport Csharp from '../Csharp';\nimport Databricks from '../Databricks';\nimport Datagrip from '../Datagrip';\nimport Dbeaver from '../Dbeaver';\nimport Dbt from '../Dbt';\nimport Decodeable from '../Decodeable';\nimport Deepnote from '../Deepnote';\nimport Deltalake from '../Deltalake';\nimport Digitalocean from '../Digitalocean';\nimport FeatureDatabase from '../FeatureDatabase';\nimport FeatureHexagon from '../FeatureHexagon';\nimport Fivetran from '../Fivetran';\nimport Gcp from '../Gcp';\nimport GCS from '../GCS';\nimport Github from '../Github';\nimport Golang from '../Golang';\nimport Google from '../Google';\nimport Grafana from '../Grafana';\nimport Hex from '../Hex';\nimport Hudi from '../Hudi';\nimport Iceberg from '../Iceberg';\nimport Jdbc from '../Jdbc';\nimport Kafka from '../Kafka';\nimport Kubernetes from '../Kubernetes';\nimport Lakekeeper from '../Lakekeeper';\nimport Mariadb from '../Mariadb';\nimport Metabase from '../Metabase';\nimport Microsoft from '../Microsoft';\nimport Mongodb from '../Mongodb';\nimport Mysql from '../Mysql';\nimport Neondb from '../Neondb';\nimport Nessie from '../Nessie';\nimport Nodejs from '../Nodejs';\nimport Onelake from '../Onelake';\nimport OVH from '../OVH';\nimport Planetscale from '../Planetscale';\nimport Postgres from '../Postgres';\nimport Prequel from '../Prequel';\nimport Python from '../Python';\nimport Redpanda from '../Redpanda';\nimport Rust from '../Rust';\nimport Snowflake from '../Snowflake';\nimport Supabase from '../Supabase';\nimport Superset from '../Superset';\nimport Tableau from '../Tableau';\nimport Tigerdata from '../Tigerdata';\nimport Upstash from '../Upstash';\nimport Vector from '../Vector';\nimport Warpstream from '../Warpstream';\nimport { LogoName } from './types';\nimport type { SVGAssetProps } from '@/types';\nimport type { ComponentType } from 'react';\n\nconst LogosLight: Record<LogoName, ComponentType<SVGAssetProps>> = {\n airbyte: Airbyte,\n alloydb: Alloydb,\n 'apache-iceberg': ApacheIceberg,\n aws: AWS,\n 'aws-athena': AWS_ATHENA,\n 'aws-aurora': AWS_AURORA,\n 'aws-glue': AWS_GLUE,\n 'aws-kinesis': AWS_KINESIS,\n 'aws-msk': AWS_MSK,\n 'aws-rds': AWS_RDS,\n 'aws-redshift': AWS_REDSHIFT,\n 'aws-s3': AWS_S3,\n azure: Azure,\n 'azure-blob-storage': Azure_Blob_Storage,\n 'azure-event-hub': Azure_Event_Hub,\n bigquery: Bigquery,\n clickhouse: Clickhouse,\n cloudflare: Cloudflare,\n confluent: Confluent,\n 'crunchy-bridge': Crunchy_Bridge,\n csharp: Csharp,\n databricks: Databricks,\n datagrip: Datagrip,\n dbeaver: Dbeaver,\n dbt: Dbt,\n decodeable: Decodeable,\n deepnote: Deepnote,\n deltalake: Deltalake,\n digitalocean: Digitalocean,\n 'feature-database': FeatureDatabase,\n 'feature-hexagon': FeatureHexagon,\n fivetran: Fivetran,\n gcp: Gcp,\n gcs: GCS,\n github: Github,\n golang: Golang,\n google: Google,\n grafana: Grafana,\n hex: Hex,\n hudi: Hudi,\n iceberg: Iceberg,\n jdbc: Jdbc,\n kafka: Kafka,\n kubernetes: Kubernetes,\n lakekeeper: Lakekeeper,\n mariadb: Mariadb,\n metabase: Metabase,\n microsoft: Microsoft,\n mongodb: Mongodb,\n mysql: Mysql,\n neondb: Neondb,\n nessie: Nessie,\n nodejs: Nodejs,\n onelake: Onelake,\n ovh: OVH,\n planetscale: Planetscale,\n postgres: Postgres,\n prequel: Prequel,\n python: Python,\n redpanda: Redpanda,\n rust: Rust,\n snowflake: Snowflake,\n supabase: Supabase,\n superset: Superset,\n tableau: Tableau,\n tigerdata: Tigerdata,\n upstash: Upstash,\n vector: Vector,\n warpstream: Warpstream,\n};\n\nexport default LogosLight;\n"],"names":["LogosLight","airbyte","Airbyte","alloydb","Alloydb","ApacheIceberg","aws","AWS","AWS_ATHENA","AWS_AURORA","AWS_GLUE","AWS_KINESIS","AWS_MSK","AWS_RDS","AWS_REDSHIFT","AWS_S3","azure","Azure","Azure_Blob_Storage","Azure_Event_Hub","bigquery","Bigquery","clickhouse","Clickhouse","cloudflare","Cloudflare","confluent","Confluent","Crunchy_Bridge","csharp","Csharp","databricks","Databricks","datagrip","Datagrip","dbeaver","Dbeaver","dbt","Dbt","decodeable","Decodeable","deepnote","Deepnote","deltalake","Deltalake","digitalocean","Digitalocean","FeatureDatabase","FeatureHexagon","fivetran","Fivetran","gcp","Gcp","gcs","GCS","github","Github","golang","Golang","google","Google","grafana","Grafana","hex","Hex","hudi","Hudi","iceberg","Iceberg","jdbc","Jdbc","kafka","Kafka","kubernetes","Kubernetes","lakekeeper","Lakekeeper","mariadb","Mariadb","metabase","Metabase","microsoft","Microsoft","mongodb","Mongodb","mysql","Mysql","neondb","Neondb","nessie","Nessie","nodejs","Nodejs","onelake","Onelake","ovh","OVH","planetscale","Planetscale","postgres","Postgres","prequel","Prequel","python","Python","redpanda","Redpanda","rust","Rust","snowflake","Snowflake","supabase","Supabase","superset","Superset","tableau","Tableau","tigerdata","Tigerdata","upstash","Upstash","vector","Vector","warpstream","Warpstream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFA,MAAMA,UAAAA,GAA6D;AAAA,EACjEC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,OAAAA,EAASC,eAAAA;AAAAA,EACT,gBAAA,EAAkBC,qBAAAA;AAAAA,EAClBC,GAAAA,EAAKC,WAAAA;AAAAA,EACL,YAAA,EAAcC,kBAAAA;AAAAA,EACd,YAAA,EAAcC,kBAAAA;AAAAA,EACd,UAAA,EAAYC,gBAAAA;AAAAA,EACZ,aAAA,EAAeC,mBAAAA;AAAAA,EACf,SAAA,EAAWC,eAAAA;AAAAA,EACX,SAAA,EAAWC,eAAAA;AAAAA,EACX,cAAA,EAAgBC,oBAAAA;AAAAA,EAChB,QAAA,EAAUC,cAAAA;AAAAA,EACVC,KAAAA,EAAOC,aAA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A,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,GAAAA,EAAKC,WAAAA;AAAAA,EACLC,WAAAA,EAAaC,mBAAAA;AAAAA,EACbC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,IAAAA,EAAMC,YAAAA;AAAAA,EACNC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,UAAAA,EAAYC;AACd;;;;"}
1
+ {"version":3,"file":"LogosLight.cjs","sources":["../../../../../../src/components/Assets/Logos/system/LogosLight.ts"],"sourcesContent":["/*\n ** WARNING: Auto-generated file!\n ** Do NOT modify it, your changes will be lost!\n ** If you find need to modify manually,\n ** report the issue immediately.\n */\n\nimport Airbyte from '../Airbyte';\nimport Alloydb from '../Alloydb';\nimport ApacheIceberg from '../ApacheIceberg';\nimport AWS from '../AWS';\nimport AWS_ATHENA from '../AWS_ATHENA';\nimport AWS_AURORA from '../AWS_AURORA';\nimport AWS_GLUE from '../AWS_GLUE';\nimport AWS_KINESIS from '../AWS_KINESIS';\nimport AWS_MSK from '../AWS_MSK';\nimport AWS_RDS from '../AWS_RDS';\nimport AWS_REDSHIFT from '../AWS_REDSHIFT';\nimport AWS_S3 from '../AWS_S3';\nimport Azure from '../Azure';\nimport Azure_Blob_Storage from '../Azure_Blob_Storage';\nimport Azure_Event_Hub from '../Azure_Event_Hub';\nimport Biglake_Metastore from '../Biglake-Metastore';\nimport Bigquery from '../Bigquery';\nimport Clickhouse from '../Clickhouse';\nimport Cloudflare from '../Cloudflare';\nimport Confluent from '../Confluent';\nimport Crunchy_Bridge from '../Crunchy_Bridge';\nimport Csharp from '../Csharp';\nimport Databricks from '../Databricks';\nimport Datagrip from '../Datagrip';\nimport Dbeaver from '../Dbeaver';\nimport Dbt from '../Dbt';\nimport Decodeable from '../Decodeable';\nimport Deepnote from '../Deepnote';\nimport Deltalake from '../Deltalake';\nimport Digitalocean from '../Digitalocean';\nimport FeatureDatabase from '../FeatureDatabase';\nimport FeatureHexagon from '../FeatureHexagon';\nimport Fivetran from '../Fivetran';\nimport Gcp from '../Gcp';\nimport GCS from '../GCS';\nimport Github from '../Github';\nimport Golang from '../Golang';\nimport Google from '../Google';\nimport Grafana from '../Grafana';\nimport Hex from '../Hex';\nimport Hudi from '../Hudi';\nimport Iceberg from '../Iceberg';\nimport Jdbc from '../Jdbc';\nimport Kafka from '../Kafka';\nimport Kubernetes from '../Kubernetes';\nimport Lakekeeper from '../Lakekeeper';\nimport Mariadb from '../Mariadb';\nimport Metabase from '../Metabase';\nimport Microsoft from '../Microsoft';\nimport Mongodb from '../Mongodb';\nimport Mysql from '../Mysql';\nimport Neondb from '../Neondb';\nimport Nessie from '../Nessie';\nimport Nodejs from '../Nodejs';\nimport Onelake from '../Onelake';\nimport OVH from '../OVH';\nimport Planetscale from '../Planetscale';\nimport Postgres from '../Postgres';\nimport Prequel from '../Prequel';\nimport Python from '../Python';\nimport Redpanda from '../Redpanda';\nimport Rust from '../Rust';\nimport Snowflake from '../Snowflake';\nimport Supabase from '../Supabase';\nimport Superset from '../Superset';\nimport Tableau from '../Tableau';\nimport Tigerdata from '../Tigerdata';\nimport Upstash from '../Upstash';\nimport Vector from '../Vector';\nimport Warpstream from '../Warpstream';\nimport { LogoName } from './types';\nimport type { SVGAssetProps } from '@/types';\nimport type { ComponentType } from 'react';\n\nconst LogosLight: Record<LogoName, ComponentType<SVGAssetProps>> = {\n airbyte: Airbyte,\n alloydb: Alloydb,\n 'apache-iceberg': ApacheIceberg,\n aws: AWS,\n 'aws-athena': AWS_ATHENA,\n 'aws-aurora': AWS_AURORA,\n 'aws-glue': AWS_GLUE,\n 'aws-kinesis': AWS_KINESIS,\n 'aws-msk': AWS_MSK,\n 'aws-rds': AWS_RDS,\n 'aws-redshift': AWS_REDSHIFT,\n 'aws-s3': AWS_S3,\n azure: Azure,\n 'azure-blob-storage': Azure_Blob_Storage,\n 'azure-event-hub': Azure_Event_Hub,\n 'biglake-metastore': Biglake_Metastore,\n bigquery: Bigquery,\n clickhouse: Clickhouse,\n cloudflare: Cloudflare,\n confluent: Confluent,\n 'crunchy-bridge': Crunchy_Bridge,\n csharp: Csharp,\n databricks: Databricks,\n datagrip: Datagrip,\n dbeaver: Dbeaver,\n dbt: Dbt,\n decodeable: Decodeable,\n deepnote: Deepnote,\n deltalake: Deltalake,\n digitalocean: Digitalocean,\n 'feature-database': FeatureDatabase,\n 'feature-hexagon': FeatureHexagon,\n fivetran: Fivetran,\n gcp: Gcp,\n gcs: GCS,\n github: Github,\n golang: Golang,\n google: Google,\n grafana: Grafana,\n hex: Hex,\n hudi: Hudi,\n iceberg: Iceberg,\n jdbc: Jdbc,\n kafka: Kafka,\n kubernetes: Kubernetes,\n lakekeeper: Lakekeeper,\n mariadb: Mariadb,\n metabase: Metabase,\n microsoft: Microsoft,\n mongodb: Mongodb,\n mysql: Mysql,\n neondb: Neondb,\n nessie: Nessie,\n nodejs: Nodejs,\n onelake: Onelake,\n ovh: OVH,\n planetscale: Planetscale,\n postgres: Postgres,\n prequel: Prequel,\n python: Python,\n redpanda: Redpanda,\n rust: Rust,\n snowflake: Snowflake,\n supabase: Supabase,\n superset: Superset,\n tableau: Tableau,\n tigerdata: Tigerdata,\n upstash: Upstash,\n vector: Vector,\n warpstream: Warpstream,\n};\n\nexport default LogosLight;\n"],"names":["LogosLight","airbyte","Airbyte","alloydb","Alloydb","ApacheIceberg","aws","AWS","AWS_ATHENA","AWS_AURORA","AWS_GLUE","AWS_KINESIS","AWS_MSK","AWS_RDS","AWS_REDSHIFT","AWS_S3","azure","Azure","Azure_Blob_Storage","Azure_Event_Hub","Biglake_Metastore","bigquery","Bigquery","clickhouse","Clickhouse","cloudflare","Cloudflare","confluent","Confluent","Crunchy_Bridge","csharp","Csharp","databricks","Databricks","datagrip","Datagrip","dbeaver","Dbeaver","dbt","Dbt","decodeable","Decodeable","deepnote","Deepnote","deltalake","Deltalake","digitalocean","Digitalocean","FeatureDatabase","FeatureHexagon","fivetran","Fivetran","gcp","Gcp","gcs","GCS","github","Github","golang","Golang","google","Google","grafana","Grafana","hex","Hex","hudi","Hudi","iceberg","Iceberg","jdbc","Jdbc","kafka","Kafka","kubernetes","Kubernetes","lakekeeper","Lakekeeper","mariadb","Mariadb","metabase","Metabase","microsoft","Microsoft","mongodb","Mongodb","mysql","Mysql","neondb","Neondb","nessie","Nessie","nodejs","Nodejs","onelake","Onelake","ovh","OVH","planetscale","Planetscale","postgres","Postgres","prequel","Prequel","python","Python","redpanda","Redpanda","rust","Rust","snowflake","Snowflake","supabase","Supabase","superset","Superset","tableau","Tableau","tigerdata","Tigerdata","upstash","Upstash","vector","Vector","warpstream","Warpstream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA,MAAMA,UAAAA,GAA6D;AAAA,EACjEC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,OAAAA,EAASC,eAAAA;AAAAA,EACT,gBAAA,EAAkBC,qBAAAA;AAAAA,EAClBC,GAAAA,EAAKC,WAAAA;AAAAA,EACL,YAAA,EAAcC,kBAAAA;AAAAA,EACd,YAAA,EAAcC,kBAAAA;AAAAA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;AAAAA,EACNC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,IAAAA,EAAMC,YAAAA;AAAAA,EACNC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,UAAAA,EAAYC,kBAAAA;AAAAA,EACZC,UAAAA,EAAYC,kBAAAA;AAAAA,EACZC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,GAAAA,EAAKC,WAAAA;AAAAA,EACLC,WAAAA,EAAaC,mBAAAA;AAAAA,EACbC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,IAAAA,EAAMC,YAAAA;AAAAA,EACNC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,QAAAA,EAAUC,gBAAAA;AAAAA,EACVC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,SAAAA,EAAWC,iBAAAA;AAAAA,EACXC,OAAAA,EAASC,eAAAA;AAAAA,EACTC,MAAAA,EAAQC,cAAAA;AAAAA,EACRC,UAAAA,EAAYC;AACd;;;;"}
@@ -204,7 +204,7 @@ const InputStartContent = styledComponents.styled.div.withConfig({
204
204
  `);
205
205
  const InputEndContent = styledComponents.styled.div.withConfig({
206
206
  componentId: "sc-1aco97m-8"
207
- })(["", ""], ({
207
+ })(["white-space:nowrap;flex-shrink:0;", ""], ({
208
208
  theme
209
209
  }) => `
210
210
  padding-right: ${theme.click.field.space.x};
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/components/InputWrapper/InputWrapper.tsx"],"sourcesContent":["import { Error, FormElementContainer, FormRoot } from '@/components/FormContainer';\nimport { Label } from '@/components/Label';\nimport { styled } from 'styled-components';\nimport { ReactNode } from 'react';\n\nconst Wrapper = styled.div<{\n $error: boolean;\n $resize: 'none' | 'vertical' | 'horizontal' | 'both';\n}>`\n width: inherit;\n display: flex;\n align-items: center;\n justify-content: space-between;\n align-items: center;\n\n span:first-of-type {\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n ${({ theme, $error, $resize }) => `\n gap: ${theme.click.field.space.gap};\n border-radius: ${theme.click.field.radii.all};\n font: ${theme.click.field.typography.fieldText.default};\n color: ${theme.click.field.color.text.default};\n border: 1px solid ${theme.click.field.color.stroke.default};\n background: ${theme.click.field.color.background.default};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.default\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.default};\n caret-color: ${theme.click.field.color.text.default};\n }\n\n &:hover {\n border: 1px solid ${theme.click.field.color.stroke.hover};\n background: ${theme.click.field.color.background.hover};\n color: ${theme.click.field.color.text.hover};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.hover\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.hover};\n caret-color: ${theme.click.field.color.text.hover};\n }\n }\n ${\n $resize === 'none'\n ? ''\n : `\n resize: ${$resize};\n overflow: auto;\n `\n }\n ${\n $error\n ? `\n font: ${theme.click.field.typography.fieldText.error};\n border: 1px solid ${theme.click.field.color.stroke.error};\n background: ${theme.click.field.color.background.active};\n color: ${theme.click.field.color.text.error};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.error} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.error};\n caret-color: ${theme.click.field.color.text.error};\n }\n\n &:hover {\n border: 1px solid ${theme.click.field.color.stroke.error};\n color: ${theme.click.field.color.text.error};\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.error} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.error};\n caret-color: ${theme.click.field.color.text.error};\n }\n }\n `\n : `\n &:focus-within,\n &[data-state=\"open\"] {\n font: ${theme.click.field.typography.fieldText.active};\n border: 1px solid ${theme.click.field.color.stroke.active};\n background: ${theme.click.field.color.background.active};\n color: ${theme.click.field.color.text.active};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.active} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.active};\n caret-color: ${theme.click.field.color.text.active};\n }\n }\n `\n };\n &:disabled, &.disabled {\n font: ${theme.click.field.typography.fieldText.disabled};\n border: 1px solid ${theme.click.field.color.stroke.disabled};\n background: ${theme.click.field.color.background.disabled};\n color: ${theme.click.field.color.text.disabled};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.disabled\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.disabled};\n caret-color: ${theme.click.field.color.text.disabled};\n }\n }\n `}\n`;\n\nconst StyledLabel = styled(Label)<{ $labelColor?: string }>`\n ${({ $labelColor }) => `\n ${$labelColor ? `color: ${$labelColor};` : ''}\n `}\n`;\n\nexport interface WrapperProps {\n className?: string;\n id: string;\n label?: ReactNode;\n labelColor?: string;\n error?: ReactNode;\n disabled?: boolean;\n children: ReactNode;\n orientation?: 'vertical' | 'horizontal';\n dir?: 'start' | 'end';\n resize?: 'none' | 'vertical' | 'horizontal' | 'both';\n}\n\nexport const InputWrapper = ({\n className,\n id,\n label = '',\n labelColor,\n error,\n disabled,\n children,\n orientation,\n dir,\n resize = 'none',\n}: WrapperProps) => {\n return (\n <FormRoot\n $orientation={orientation}\n $dir={dir}\n $addLabelPadding\n >\n <FormElementContainer>\n <Wrapper\n $error={!!error}\n $resize={resize}\n data-resize={resize}\n className={disabled ? `disabled ${className}` : className}\n >\n {children}\n </Wrapper>\n {!!error && error !== true && <Error>{error}</Error>}\n </FormElementContainer>\n {label && (\n <StyledLabel\n htmlFor={id}\n disabled={disabled}\n error={!!error}\n $labelColor={labelColor}\n >\n {label}\n </StyledLabel>\n )}\n </FormRoot>\n );\n};\n\nexport const InputElement = styled.input<{\n $hasStartContent?: boolean;\n $hasEndContent?: boolean;\n}>`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n color: inherit;\n font: inherit;\n ${({ theme, $hasStartContent, $hasEndContent }) => `\n padding: ${theme.click.field.space.y} 0;\n padding-left: ${$hasStartContent ? '0' : theme.click.field.space.x};\n padding-right: ${$hasEndContent ? '0' : theme.click.field.space.x};\n &::placeholder {\n color: ${theme.click.field.color.placeholder.default};\n }\n\n &:disabled, &.disabled {\n &::placeholder {\n color: ${theme.click.field.color.placeholder.disabled};\n }\n `}\n`;\n\nexport const NumberInputElement = styled(InputElement)<{ $hideControls?: boolean }>`\n ${({ $hideControls }) => `\n ${\n $hideControls\n ? `\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n -moz-appearance: textfield;\n `\n : ''\n }\n `}\n`;\n\nexport const TextAreaElement = styled.textarea`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n color: inherit;\n font: inherit;\n resize: none;\n ${({ theme }) => `\n padding: ${theme.click.field.space.y} ${theme.click.field.space.x};\n align-self: stretch;\n &::placeholder {\n color: ${theme.click.field.color.placeholder.default};\n }\n `}\n`;\n\nexport const IconButton = styled.button`\n background: transparent;\n color: inherit;\n border: none;\n padding: 0;\n outline: none;\n &:not(:disabled) {\n cursor: pointer;\n }\n ${({ theme }) => `\n padding: ${theme.click.field.space.y} 0;\n `}\n`;\n\nexport const IconWrapper = styled.svg`\n ${({ theme }) => `\n &:first-of-type {\n padding-left: ${theme.click.field.space.gap};\n }\n &:last-of-type {\n padding-right: ${theme.click.field.space.x};\n }\n `}\n`;\n\nexport const InputStartContent = styled.div`\n ${({ theme }) => `\n padding-left: ${theme.click.field.space.x};\n cursor: text;\n gap: ${theme.click.field.space.gap};\n display: flex;\n align-self: stretch;\n align-items: center;\n `}\n`;\n\nexport const InputEndContent = styled.div`\n ${({ theme }) => `\n padding-right: ${theme.click.field.space.x};\n gap: ${theme.click.field.space.gap};\n display: flex;\n align-self: stretch;\n align-items: center;\n `}\n`;\n"],"names":["Wrapper","styled","div","withConfig","componentId","theme","$error","$resize","click","field","space","gap","radii","all","typography","fieldText","default","color","text","stroke","background","hover","error","active","disabled","StyledLabel","Label","$labelColor","InputWrapper","className","id","label","labelColor","children","orientation","dir","resize","FormRoot","jsxs","FormElementContainer","jsx","Error","InputElement","input","$hasStartContent","$hasEndContent","y","x","placeholder","NumberInputElement","$hideControls","TextAreaElement","textarea","IconButton","button","svg","InputStartContent","InputEndContent"],"mappings":";;;;;;;;;;;AAKA,MAAMA,OAAAA,GAAUC,uBAAAA,CAAOC,GAAAA,CAAGC,UAAAA,CAAA;AAAA,EAAAC,WAAAA,EAAA;AAAA,CAAA,CAAA,CAAA,CAAA,8LAAA,EAAA,EAAA,GAiBtB,CAAC;AAAA,EAAEC,KAAAA;AAAAA,EAAOC,MAAAA;AAAAA,EAAQC;AAAQ,CAAA,KAAM;AAAA,SAAA,EACzBF,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMC,KAAAA,CAAMC,GAAG,CAAA;AAAA,mBAAA,EACjBN,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMG,KAAAA,CAAMC,GAAG,CAAA;AAAA,UAAA,EACpCR,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMK,UAAAA,CAAWC,UAAUC,OAAO,CAAA;AAAA,WAAA,EAC7CX,K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version":3,"file":"index.cjs","sources":["../../../../src/components/InputWrapper/InputWrapper.tsx"],"sourcesContent":["import { Error, FormElementContainer, FormRoot } from '@/components/FormContainer';\nimport { Label } from '@/components/Label';\nimport { styled } from 'styled-components';\nimport { ReactNode } from 'react';\n\nconst Wrapper = styled.div<{\n $error: boolean;\n $resize: 'none' | 'vertical' | 'horizontal' | 'both';\n}>`\n width: inherit;\n display: flex;\n align-items: center;\n justify-content: space-between;\n align-items: center;\n\n span:first-of-type {\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n ${({ theme, $error, $resize }) => `\n gap: ${theme.click.field.space.gap};\n border-radius: ${theme.click.field.radii.all};\n font: ${theme.click.field.typography.fieldText.default};\n color: ${theme.click.field.color.text.default};\n border: 1px solid ${theme.click.field.color.stroke.default};\n background: ${theme.click.field.color.background.default};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.default\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.default};\n caret-color: ${theme.click.field.color.text.default};\n }\n\n &:hover {\n border: 1px solid ${theme.click.field.color.stroke.hover};\n background: ${theme.click.field.color.background.hover};\n color: ${theme.click.field.color.text.hover};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.hover\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.hover};\n caret-color: ${theme.click.field.color.text.hover};\n }\n }\n ${\n $resize === 'none'\n ? ''\n : `\n resize: ${$resize};\n overflow: auto;\n `\n }\n ${\n $error\n ? `\n font: ${theme.click.field.typography.fieldText.error};\n border: 1px solid ${theme.click.field.color.stroke.error};\n background: ${theme.click.field.color.background.active};\n color: ${theme.click.field.color.text.error};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.error} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.error};\n caret-color: ${theme.click.field.color.text.error};\n }\n\n &:hover {\n border: 1px solid ${theme.click.field.color.stroke.error};\n color: ${theme.click.field.color.text.error};\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.error} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.error};\n caret-color: ${theme.click.field.color.text.error};\n }\n }\n `\n : `\n &:focus-within,\n &[data-state=\"open\"] {\n font: ${theme.click.field.typography.fieldText.active};\n border: 1px solid ${theme.click.field.color.stroke.active};\n background: ${theme.click.field.color.background.active};\n color: ${theme.click.field.color.text.active};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${theme.click.field.color.background.active} inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.active};\n caret-color: ${theme.click.field.color.text.active};\n }\n }\n `\n };\n &:disabled, &.disabled {\n font: ${theme.click.field.typography.fieldText.disabled};\n border: 1px solid ${theme.click.field.color.stroke.disabled};\n background: ${theme.click.field.color.background.disabled};\n color: ${theme.click.field.color.text.disabled};\n\n *:autofill,\n *:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 50vh ${\n theme.click.field.color.background.disabled\n } inset;\n -webkit-text-fill-color: ${theme.click.field.color.text.disabled};\n caret-color: ${theme.click.field.color.text.disabled};\n }\n }\n `}\n`;\n\nconst StyledLabel = styled(Label)<{ $labelColor?: string }>`\n ${({ $labelColor }) => `\n ${$labelColor ? `color: ${$labelColor};` : ''}\n `}\n`;\n\nexport interface WrapperProps {\n className?: string;\n id: string;\n label?: ReactNode;\n labelColor?: string;\n error?: ReactNode;\n disabled?: boolean;\n children: ReactNode;\n orientation?: 'vertical' | 'horizontal';\n dir?: 'start' | 'end';\n resize?: 'none' | 'vertical' | 'horizontal' | 'both';\n}\n\nexport const InputWrapper = ({\n className,\n id,\n label = '',\n labelColor,\n error,\n disabled,\n children,\n orientation,\n dir,\n resize = 'none',\n}: WrapperProps) => {\n return (\n <FormRoot\n $orientation={orientation}\n $dir={dir}\n $addLabelPadding\n >\n <FormElementContainer>\n <Wrapper\n $error={!!error}\n $resize={resize}\n data-resize={resize}\n className={disabled ? `disabled ${className}` : className}\n >\n {children}\n </Wrapper>\n {!!error && error !== true && <Error>{error}</Error>}\n </FormElementContainer>\n {label && (\n <StyledLabel\n htmlFor={id}\n disabled={disabled}\n error={!!error}\n $labelColor={labelColor}\n >\n {label}\n </StyledLabel>\n )}\n </FormRoot>\n );\n};\n\nexport const InputElement = styled.input<{\n $hasStartContent?: boolean;\n $hasEndContent?: boolean;\n}>`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n color: inherit;\n font: inherit;\n ${({ theme, $hasStartContent, $hasEndContent }) => `\n padding: ${theme.click.field.space.y} 0;\n padding-left: ${$hasStartContent ? '0' : theme.click.field.space.x};\n padding-right: ${$hasEndContent ? '0' : theme.click.field.space.x};\n &::placeholder {\n color: ${theme.click.field.color.placeholder.default};\n }\n\n &:disabled, &.disabled {\n &::placeholder {\n color: ${theme.click.field.color.placeholder.disabled};\n }\n `}\n`;\n\nexport const NumberInputElement = styled(InputElement)<{ $hideControls?: boolean }>`\n ${({ $hideControls }) => `\n ${\n $hideControls\n ? `\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n -moz-appearance: textfield;\n `\n : ''\n }\n `}\n`;\n\nexport const TextAreaElement = styled.textarea`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n color: inherit;\n font: inherit;\n resize: none;\n ${({ theme }) => `\n padding: ${theme.click.field.space.y} ${theme.click.field.space.x};\n align-self: stretch;\n &::placeholder {\n color: ${theme.click.field.color.placeholder.default};\n }\n `}\n`;\n\nexport const IconButton = styled.button`\n background: transparent;\n color: inherit;\n border: none;\n padding: 0;\n outline: none;\n &:not(:disabled) {\n cursor: pointer;\n }\n ${({ theme }) => `\n padding: ${theme.click.field.space.y} 0;\n `}\n`;\n\nexport const IconWrapper = styled.svg`\n ${({ theme }) => `\n &:first-of-type {\n padding-left: ${theme.click.field.space.gap};\n }\n &:last-of-type {\n padding-right: ${theme.click.field.space.x};\n }\n `}\n`;\n\nexport const InputStartContent = styled.div`\n ${({ theme }) => `\n padding-left: ${theme.click.field.space.x};\n cursor: text;\n gap: ${theme.click.field.space.gap};\n display: flex;\n align-self: stretch;\n align-items: center;\n `}\n`;\n\nexport const InputEndContent = styled.div`\n white-space: nowrap;\n flex-shrink: 0;\n ${({ theme }) => `\n padding-right: ${theme.click.field.space.x};\n gap: ${theme.click.field.space.gap};\n display: flex;\n align-self: stretch;\n align-items: center;\n `}\n`;\n"],"names":["Wrapper","styled","div","withConfig","componentId","theme","$error","$resize","click","field","space","gap","radii","all","typography","fieldText","default","color","text","stroke","background","hover","error","active","disabled","StyledLabel","Label","$labelColor","InputWrapper","className","id","label","labelColor","children","orientation","dir","resize","FormRoot","jsxs","FormElementContainer","jsx","Error","InputElement","input","$hasStartContent","$hasEndContent","y","x","placeholder","NumberInputElement","$hideControls","TextAreaElement","textarea","IconButton","button","svg","InputStartContent","InputEndContent"],"mappings":";;;;;;;;;;;AAKA,MAAMA,OAAAA,GAAUC,uBAAAA,CAAOC,GAAAA,CAAGC,UAAAA,CAAA;AAAA,EAAAC,WAAAA,EAAA;AAAA,CAAA,CAAA,CAAA,CAAA,8LAAA,EAAA,EAAA,GAiBtB,CAAC;AAAA,EAAEC,KAAAA;AAAAA,EAAOC,MAAAA;AAAAA,EAAQC;AAAQ,CAAA,KAAM;AAAA,SAAA,EACzBF,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMC,KAAAA,CAAMC,GAAG,CAAA;AAAA,mBAAA,EACjBN,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMG,KAAAA,CAAMC,GAAG,CAAA;AAAA,UAAA,EACpCR,KAAAA,CAAMG,KAAAA,CAAMC,KAAAA,CAAMK,UAAAA,CAAWC,UAAUC,OAAO,CAAA;AAAA,WAAA,EAC7CX,KAAAA,CAA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 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const react = require('react');
7
+ const mergeRefs = require('../../utils/mergeRefs.cjs');
7
8
  const InputWrapper = require('../InputWrapper/index.cjs');
8
9
  const Icon = require('../Icon/index.cjs');
9
10
 
@@ -17,15 +18,27 @@ const NumberField = react.forwardRef(({
17
18
  orientation,
18
19
  dir,
19
20
  hideControls,
21
+ startContent,
22
+ endContent,
20
23
  ...props
21
24
  }, ref) => {
25
+ const inputRef = react.useRef(null);
22
26
  const defaultId = react.useId();
23
27
  const onChange = (e) => {
24
28
  onChangeProp(e.target.value, e);
25
29
  };
30
+ const handleStartContentClick = () => {
31
+ inputRef.current?.focus();
32
+ };
33
+ const hasStartContent = Boolean(startContent);
34
+ const hasEndContent = Boolean(loading || endContent);
26
35
  return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper.InputWrapper, { disabled, id: id ?? defaultId, label, error, orientation, dir, children: [
27
- /* @__PURE__ */ jsxRuntime.jsx(InputWrapper.NumberInputElement, { ref, type: "number", id: id ?? defaultId, disabled, onChange, $hideControls: hideControls, ...props }),
28
- loading && /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, { name: "loading-animated", size: "sm" })
36
+ startContent && /* @__PURE__ */ jsxRuntime.jsx(InputWrapper.InputStartContent, { onClick: handleStartContentClick, children: startContent }),
37
+ /* @__PURE__ */ jsxRuntime.jsx(InputWrapper.NumberInputElement, { ref: mergeRefs.mergeRefs([inputRef, ref]), type: "number", id: id ?? defaultId, disabled, onChange, $hideControls: hideControls, $hasStartContent: hasStartContent, $hasEndContent: hasEndContent, ...props }),
38
+ hasEndContent && /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper.InputEndContent, { children: [
39
+ endContent ? endContent : null,
40
+ loading && /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, { name: "loading-animated", size: "sm" })
41
+ ] })
29
42
  ] });
30
43
  });
31
44
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/components/NumberField/NumberField.tsx"],"sourcesContent":["import { ChangeEvent, InputHTMLAttributes, forwardRef, useId } from 'react';\nimport { Icon } from '@/components/Icon';\nimport {\n InputWrapper,\n NumberInputElement,\n WrapperProps,\n} from '@/components/InputWrapper';\nexport interface NumberFieldProps\n extends\n Omit<WrapperProps, 'id' | 'children'>,\n Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'dir'> {\n /** The input type - always number for NumberField */\n type?: 'number';\n /** Whether to show a loading spinner */\n loading?: boolean;\n /** Callback when the input value changes */\n onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;\n /** The orientation of the label relative to the input */\n orientation?: 'vertical' | 'horizontal';\n /** The direction/position of the label - start places label before, end places label after */\n dir?: 'start' | 'end';\n /** Whether to hide the increment/decrement controls */\n hideControls?: boolean;\n}\n\nexport const NumberField = forwardRef<HTMLInputElement, NumberFieldProps>(\n (\n {\n disabled,\n label,\n error,\n id,\n loading,\n onChange: onChangeProp,\n orientation,\n dir,\n hideControls,\n ...props\n },\n ref\n ) => {\n const defaultId = useId();\n const onChange = (e: ChangeEvent<HTMLInputElement>) => {\n onChangeProp(e.target.value, e);\n };\n\n return (\n <InputWrapper\n disabled={disabled}\n id={id ?? defaultId}\n label={label}\n error={error}\n orientation={orientation}\n dir={dir}\n >\n <NumberInputElement\n ref={ref}\n type=\"number\"\n id={id ?? defaultId}\n disabled={disabled}\n onChange={onChange}\n $hideControls={hideControls}\n {...props}\n />\n {loading && (\n <Icon\n name=\"loading-animated\"\n size=\"sm\"\n />\n )}\n </InputWrapper>\n );\n }\n);\n"],"names":["NumberField","forwardRef","disabled","label","error","id","loading","onChange","onChangeProp","orientation","dir","hideControls","props","ref","defaultId","useId","e","target","value","jsxs","InputWrapper","jsx","NumberInputElement","Icon"],"mappings":";;;;;;;;;AAyBO,MAAMA,WAAAA,GAAcC,iBACzB,CACE;AAAA,EACEC,QAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,EAAAA;AAAAA,EACAC,OAAAA;AAAAA,EACAC,QAAAA,EAAUC,YAAAA;AAAAA,EACVC,WAAAA;AAAAA,EACAC,GAAAA;AAAAA,EACAC,YAAAA;AAAAA,EACA,GAAGC;AACL,CAAA,EACAC,GAAAA,KACG;AACH,EAAA,MAAMC,YAAYC,WAAAA,EAAM;AACxB,EAAA,MAAMR,QAAAA,GAAWA,CAACS,CAAAA,KAAqC;AACrDR,IAAAA,YAAAA,CAAaQ,CAAAA,CAAEC,MAAAA,CAAOC,KAAAA,EAAOF,CAAC,CAAA;AAAA,EAChC,CAAA;AAEA,EAAA,uBACEG,eAAA,CAACC,6BACC,QAAA,EACA,EAAA,EAAIf,MAAMS,SAAAA,EACV,KAAA,EACA,KAAA,EACA,WAAA,EACA,GAAA,EAEA,QAAA,EAAA;AAAA,oBAAAO,cAAA,CAACC,+BAAA,EAAA,EACC,GAAA,EACA,IAAA,EAAK,QAAA,EACL,EAAA,EAAIjB,EAAAA,IAAMS,SAAAA,EACV,QAAA,EACA,QAAA,EACA,aAAA,EAAeH,YAAAA,EACf,GAAIC,KAAAA,EAAM,CAAA;AAAA,IAEXN,2BACCe,cAAA,CAACE,SAAA,EAAA,EACC,IAAA,EAAK,kBAAA,EACL,MAAK,IAAA,EAAI;AAAA,GAAA,EAGf,CAAA;AAEJ,CACF;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/components/NumberField/NumberField.tsx"],"sourcesContent":["import {\n ChangeEvent,\n InputHTMLAttributes,\n ReactNode,\n forwardRef,\n useId,\n useRef,\n} from 'react';\nimport { Icon } from '@/components/Icon';\nimport {\n InputEndContent,\n InputStartContent,\n InputWrapper,\n NumberInputElement,\n WrapperProps,\n} from '@/components/InputWrapper';\nimport { mergeRefs } from '@/utils/mergeRefs';\nexport interface NumberFieldProps\n extends\n Omit<WrapperProps, 'id' | 'children'>,\n Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'dir'> {\n /** The input type - always number for NumberField */\n type?: 'number';\n /** Whether to show a loading spinner */\n loading?: boolean;\n /** Callback when the input value changes */\n onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;\n /** The orientation of the label relative to the input */\n orientation?: 'vertical' | 'horizontal';\n /** The direction/position of the label - start places label before, end places label after */\n dir?: 'start' | 'end';\n /** Whether to hide the increment/decrement controls */\n hideControls?: boolean;\n /** Additional content to the left of the control */\n startContent?: ReactNode;\n /** Additional content to the right of the control */\n endContent?: ReactNode;\n}\n\nexport const NumberField = forwardRef<HTMLInputElement, NumberFieldProps>(\n (\n {\n disabled,\n label,\n error,\n id,\n loading,\n onChange: onChangeProp,\n orientation,\n dir,\n hideControls,\n startContent,\n endContent,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<HTMLInputElement>(null);\n const defaultId = useId();\n const onChange = (e: ChangeEvent<HTMLInputElement>) => {\n onChangeProp(e.target.value, e);\n };\n\n const handleStartContentClick: React.MouseEventHandler<HTMLDivElement> = () => {\n inputRef.current?.focus();\n };\n\n const hasStartContent = Boolean(startContent);\n const hasEndContent = Boolean(loading || endContent);\n\n return (\n <InputWrapper\n disabled={disabled}\n id={id ?? defaultId}\n label={label}\n error={error}\n orientation={orientation}\n dir={dir}\n >\n {startContent && (\n <InputStartContent onClick={handleStartContentClick}>\n {startContent}\n </InputStartContent>\n )}\n <NumberInputElement\n ref={mergeRefs([inputRef, ref])}\n type=\"number\"\n id={id ?? defaultId}\n disabled={disabled}\n onChange={onChange}\n $hideControls={hideControls}\n $hasStartContent={hasStartContent}\n $hasEndContent={hasEndContent}\n {...props}\n />\n {hasEndContent && (\n <InputEndContent>\n {endContent ? endContent : null}\n {loading && (\n <Icon\n name=\"loading-animated\"\n size=\"sm\"\n />\n )}\n </InputEndContent>\n )}\n </InputWrapper>\n );\n }\n);\n"],"names":["NumberField","forwardRef","disabled","label","error","id","loading","onChange","onChangeProp","orientation","dir","hideControls","startContent","endContent","props","ref","inputRef","useRef","defaultId","useId","e","target","value","handleStartContentClick","current","focus","hasStartContent","Boolean","hasEndContent","jsxs","InputWrapper","jsx","InputStartContent","NumberInputElement","mergeRefs","InputEndContent","Icon"],"mappings":";;;;;;;;;;AAuCO,MAAMA,WAAAA,GAAcC,iBACzB,CACE;AAAA,EACEC,QAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,EAAAA;AAAAA,EACAC,OAAAA;AAAAA,EACAC,QAAAA,EAAUC,YAAAA;AAAAA,EACVC,WAAAA;AAAAA,EACAC,GAAAA;AAAAA,EACAC,YAAAA;AAAAA,EACAC,YAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACA,GAAGC;AACL,CAAA,EACAC,GAAAA,KACG;AACH,EAAA,MAAMC,QAAAA,GAAWC,aAAyB,IAAI,CAAA;AAC9C,EAAA,MAAMC,YAAYC,WAAAA,EAAM;AACxB,EAAA,MAAMZ,QAAAA,GAAWA,CAACa,CAAAA,KAAqC;AACrDZ,IAAAA,YAAAA,CAAaY,CAAAA,CAAEC,MAAAA,CAAOC,KAAAA,EAAOF,CAAC,CAAA;AAAA,EAChC,CAAA;AAEA,EAAA,MAAMG,0BAAmEA,MAAM;AAC7EP,IAAAA,QAAAA,CAASQ,SAASC,KAAAA,EAAM;AAAA,EAC1B,CAAA;AAEA,EAAA,MAAMC,eAAAA,GAAkBC,QAAQf,YAAY,CAAA;AAC5C,EAAA,MAAMgB,aAAAA,GAAgBD,OAAAA,CAAQrB,OAAAA,IAAWO,UAAU,CAAA;AAEnD,EAAA,uBACEgB,eAAA,CAACC,6BACC,QAAA,EACA,EAAA,EAAIzB,MAAMa,SAAAA,EACV,KAAA,EACA,KAAA,EACA,WAAA,EACA,GAAA,EAECN,QAAAA,EAAAA;AAAAA,IAAAA,YAAAA,oBACCmB,cAAA,CAACC,8BAAA,EAAA,EAAkB,OAAA,EAAST,uBAAAA,EACzBX,QAAAA,EAAAA,YAAAA,EACH,CAAA;AAAA,oBAEFmB,cAAA,CAACE,mCACC,GAAA,EAAKC,mBAAAA,CAAU,CAAClB,QAAAA,EAAUD,GAAG,CAAC,CAAA,EAC9B,IAAA,EAAK,QAAA,EACL,IAAIV,EAAAA,IAAMa,SAAAA,EACV,QAAA,EACA,QAAA,EACA,aAAA,EAAeP,YAAAA,EACf,kBAAkBe,eAAAA,EAClB,cAAA,EAAgBE,aAAAA,EAChB,GAAId,KAAAA,EAAM,CAAA;AAAA,IAEXc,aAAAA,oCACEO,4BAAA,EAAA,EACEtB,QAAAA,EAAAA;AAAAA,MAAAA,UAAAA,GAAaA,UAAAA,GAAa,IAAA;AAAA,MAC1BP,2BACCyB,cAAA,CAACK,SAAA,EAAA,EACC,IAAA,EAAK,kBAAA,EACL,MAAK,IAAA,EAAI;AAAA,KAAA,EAGf;AAAA,GAAA,EAEJ,CAAA;AAEJ,CACF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/components/Text/Text.tsx"],"sourcesContent":["import {\n ComponentProps,\n ComponentPropsWithRef,\n ElementType,\n ReactNode,\n forwardRef,\n} from 'react';\nimport { styled } from 'styled-components';\n\nexport type TextSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold' | 'mono';\nexport type TextAlignment = 'left' | 'center' | 'right';\nexport type TextColor = 'default' | 'muted' | 'danger' | 'disabled';\n\nexport interface TextProps<T extends ElementType = 'p'> {\n /** The text content to display */\n children: ReactNode;\n /** The text alignment */\n align?: TextAlignment;\n /** The text color variant */\n color?: TextColor;\n /** The font size of the text */\n size?: TextSize;\n /** The font weight of the text */\n weight?: TextWeight;\n /** Additional CSS class name */\n className?: string;\n /** Custom component to render as */\n component?: T;\n /** Whether the text should fill the full width of its container */\n fillWidth?: boolean;\n}\n\ntype TextPolymorphicComponent = <T extends ElementType = 'p'>(\n props: Omit<ComponentProps<T>, keyof T> & TextProps<T>\n) => ReactNode;\n\nconst _Text = <T extends ElementType = 'p'>(\n {\n align,\n color,\n size,\n weight,\n className,\n children,\n component,\n fillWidth,\n ...props\n }: Omit<ComponentProps<T>, keyof T> & TextProps<T>,\n ref: ComponentPropsWithRef<T>['ref']\n) => (\n <CuiText\n as={component ?? 'p'}\n ref={ref}\n $align={align}\n $color={color}\n $size={size}\n $weight={weight}\n $fillWidth={fillWidth}\n className={className}\n {...props}\n >\n {children}\n </CuiText>\n);\n\nconst CuiText = styled.p<{\n $align?: TextAlignment;\n $color?: TextColor;\n $size?: TextSize;\n $weight?: TextWeight;\n $fillWidth?: boolean;\n}>`\n font: ${({ $size = 'md', $weight = 'normal', theme }) =>\n theme.typography.styles.product.text[$weight][$size]};\n color: ${({ $color = 'default', theme }) => theme.click.global.color.text[$color]};\n text-align: ${({ $align = 'left' }) => $align};\n margin: 0;\n ${({ $fillWidth }) => $fillWidth && 'width: 100%'};\n`;\n\n_Text.displayName = 'Text';\n\nexport const Text: TextPolymorphicComponent = forwardRef(_Text);\n"],"names":["_Text","align","color","size","weight","className","children","component","fillWidth","props","ref","CuiText","styled","p","withConfig","componentId","$size","$weight","theme","typography","styles","product","text","$color","click","global","$align","$fillWidth","displayName","Text","forwardRef"],"mappings":";;;;;;;;AAqCA,MAAMA,QAAQ,CACZ;AAAA,EACEC,KAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,IAAAA;AAAAA,EACAC,MAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,QAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACA,GAAGC;AAC4C,CAAA,EACjDC,GAAAA,oCAEC,OAAA,EAAA,EACC,EAAA,EAAIH,aAAa,GAAA,EACjB,GAAA,EACA,QAAQN,KAAAA,EACR,MAAA,EAAQC,OACR,KAAA,EAAOC,IAAAA,EACP,SAASC,MAAAA,EACT,UAAA,EAAYI,WACZ,SAAA,EACA,GAAIC,OAEHH,QAAAA,EACH,CAAA;AAGF,MAAMK,OAAAA,GAAUC,uBAAAA,CAAOC,CAAAA,CAACC,UAAAA,CAAA;AAAA,EAAAC,WAAAA,EAAA;AAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,SAAA,EAAA,gBAAA,YAAA,EAAA,GAAA,GAOd,CAAC;AAAA,EAAEC,KAAAA,GAAQ,IAAA;AAAA,EAAMC,OAAAA,GAAU,QAAA;AAAA,EAAUC;AAAM,CAAA,KACjDA,KAAAA,CAAMC,WAAWC,MAAAA,CAAOC,OAAAA,CAAQC,KAAKL,OAAO,CAAA,CAAED,KAAK,CAAA,EAC5C,CAAC;AAAA,EAAEO,MAAAA,GAAS,SAAA;AAAA,EAAWL;AAAM,CAAA,KAAMA,MAAMM,KAAAA,CAAMC,MAAAA,CAAOvB,MAAMoB,IAAAA,CAAKC,MAAM,GAClE,CAAC;AAAA,EAAEG,MAAAA,GAAS;AAAO,CAAA,KAAMA,QAErC,CAAC;AAAA,EAAEC;AAAW,CAAA,KAAMA,cAAc,aAAa,CAAA;AAGnD3B,KAAAA,CAAM4B,WAAAA,GAAc,MAAA;AAEb,MAAMC,IAAAA,GAAiCC,iBAAW9B,KAAK;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/components/Text/Text.tsx"],"sourcesContent":["import {\n ComponentProps,\n ComponentPropsWithRef,\n ElementType,\n ReactNode,\n forwardRef,\n} from 'react';\nimport { styled } from 'styled-components';\n\nexport type TextSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold' | 'mono';\nexport type TextAlignment = 'left' | 'center' | 'right';\nexport type TextColor = 'default' | 'muted' | 'danger' | 'disabled' | 'warning';\n\nexport interface TextProps<T extends ElementType = 'p'> {\n /** The text content to display */\n children: ReactNode;\n /** The text alignment */\n align?: TextAlignment;\n /** The text color variant */\n color?: TextColor;\n /** The font size of the text */\n size?: TextSize;\n /** The font weight of the text */\n weight?: TextWeight;\n /** Additional CSS class name */\n className?: string;\n /** Custom component to render as */\n component?: T;\n /** Whether the text should fill the full width of its container */\n fillWidth?: boolean;\n}\n\ntype TextPolymorphicComponent = <T extends ElementType = 'p'>(\n props: Omit<ComponentProps<T>, keyof T> & TextProps<T>\n) => ReactNode;\n\nconst _Text = <T extends ElementType = 'p'>(\n {\n align,\n color,\n size,\n weight,\n className,\n children,\n component,\n fillWidth,\n ...props\n }: Omit<ComponentProps<T>, keyof T> & TextProps<T>,\n ref: ComponentPropsWithRef<T>['ref']\n) => (\n <CuiText\n as={component ?? 'p'}\n ref={ref}\n $align={align}\n $color={color}\n $size={size}\n $weight={weight}\n $fillWidth={fillWidth}\n className={className}\n {...props}\n >\n {children}\n </CuiText>\n);\n\nconst CuiText = styled.p<{\n $align?: TextAlignment;\n $color?: TextColor;\n $size?: TextSize;\n $weight?: TextWeight;\n $fillWidth?: boolean;\n}>`\n font: ${({ $size = 'md', $weight = 'normal', theme }) =>\n theme.typography.styles.product.text[$weight][$size]};\n color: ${({ $color = 'default', theme }) => theme.click.global.color.text[$color]};\n text-align: ${({ $align = 'left' }) => $align};\n margin: 0;\n ${({ $fillWidth }) => $fillWidth && 'width: 100%'};\n`;\n\n_Text.displayName = 'Text';\n\nexport const Text: TextPolymorphicComponent = forwardRef(_Text);\n"],"names":["_Text","align","color","size","weight","className","children","component","fillWidth","props","ref","CuiText","styled","p","withConfig","componentId","$size","$weight","theme","typography","styles","product","text","$color","click","global","$align","$fillWidth","displayName","Text","forwardRef"],"mappings":";;;;;;;;AAqCA,MAAMA,QAAQ,CACZ;AAAA,EACEC,KAAAA;AAAAA,EACAC,KAAAA;AAAAA,EACAC,IAAAA;AAAAA,EACAC,MAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,QAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACA,GAAGC;AAC4C,CAAA,EACjDC,GAAAA,oCAEC,OAAA,EAAA,EACC,EAAA,EAAIH,aAAa,GAAA,EACjB,GAAA,EACA,QAAQN,KAAAA,EACR,MAAA,EAAQC,OACR,KAAA,EAAOC,IAAAA,EACP,SAASC,MAAAA,EACT,UAAA,EAAYI,WACZ,SAAA,EACA,GAAIC,OAEHH,QAAAA,EACH,CAAA;AAGF,MAAMK,OAAAA,GAAUC,uBAAAA,CAAOC,CAAAA,CAACC,UAAAA,CAAA;AAAA,EAAAC,WAAAA,EAAA;AAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,SAAA,EAAA,gBAAA,YAAA,EAAA,GAAA,GAOd,CAAC;AAAA,EAAEC,KAAAA,GAAQ,IAAA;AAAA,EAAMC,OAAAA,GAAU,QAAA;AAAA,EAAUC;AAAM,CAAA,KACjDA,KAAAA,CAAMC,WAAWC,MAAAA,CAAOC,OAAAA,CAAQC,KAAKL,OAAO,CAAA,CAAED,KAAK,CAAA,EAC5C,CAAC;AAAA,EAAEO,MAAAA,GAAS,SAAA;AAAA,EAAWL;AAAM,CAAA,KAAMA,MAAMM,KAAAA,CAAMC,MAAAA,CAAOvB,MAAMoB,IAAAA,CAAKC,MAAM,GAClE,CAAC;AAAA,EAAEG,MAAAA,GAAS;AAAO,CAAA,KAAMA,QAErC,CAAC;AAAA,EAAEC;AAAW,CAAA,KAAMA,cAAc,aAAa,CAAA;AAGnD3B,KAAAA,CAAM4B,WAAAA,GAAc,MAAA;AAEb,MAAMC,IAAAA,GAAiCC,iBAAW9B,KAAK;;;;"}
@@ -3236,7 +3236,8 @@ const theme = {
3236
3236
  default: "#faff69",
3237
3237
  hover: "#feffc2"
3238
3238
  },
3239
- danger: "#ffbaba"
3239
+ danger: "#ffbaba",
3240
+ warning: "#ffb88f"
3240
3241
  },
3241
3242
  stroke: {
3242
3243
  default: "#323232",