diff --git a/docs/api.mdx b/docs/api.mdx index 1a1d2e83..7c58b63f 100644 --- a/docs/api.mdx +++ b/docs/api.mdx @@ -62,7 +62,7 @@ go get github.com/Basis-Theory/basistheory-go/v3 Our SDKs enable you to quickly and easily integrate with the API. Select one of the language tabs to see instructions on how to install the SDK and view code examples in that language. - + If you don't see your language listed,{" "} contact us diff --git a/docs/api/applications/applications.mdx b/docs/api/applications/applications.mdx index 6f2b948f..903e61b7 100644 --- a/docs/api/applications/applications.mdx +++ b/docs/api/applications/applications.mdx @@ -58,7 +58,7 @@ Application. Below, we describe each Application Type and how to choose between See [Access Rules](/docs/concepts/access-controls#what-are-access-rules) for more information. - + container is only required for public and{" "} private applications, whilst conditions is only required for diff --git a/docs/api/authentication.mdx b/docs/api/authentication.mdx index 81beea13..519c2530 100644 --- a/docs/api/authentication.mdx +++ b/docs/api/authentication.mdx @@ -14,11 +14,10 @@ Basis Theory requires the API key to be included in all API requests to the serv `BT-API-KEY: key_N88mVGsp3sCXkykyN2EFED` - + You must replace key_N88mVGsp3sCXkykyN2EFED with your API key supplied when you{" "} - created an Application - . + created an Application. ### Request diff --git a/docs/api/proxies/invoke-proxy.mdx b/docs/api/proxies/invoke-proxy.mdx index 05e39878..60c8d74a 100644 --- a/docs/api/proxies/invoke-proxy.mdx +++ b/docs/api/proxies/invoke-proxy.mdx @@ -199,7 +199,7 @@ then the following request body will be sent to the destination: The `token:use` permission is required in order to detokenize tokens within a proxy request. At most, 100 tokens may be detokenized within a single proxy request. You can find more information about the supported detokenization expressions [here](/docs/expressions/detokenization). - + For more detailed examples about how to detokenize within the Proxy, check out our{" "} @@ -218,7 +218,7 @@ If an error occurs within the proxy (eg. missing or invalid `BT-PROXY-URL` heade | ------------- | ----- | ---------------------------------------- | | `proxy_error` | _any_ | A standard Basis Theory [error](#errors) | - + If you are interested in using the proxy and your use case is not currently supported, please{" "} diff --git a/docs/api/reactors/reactors.mdx b/docs/api/reactors/reactors.mdx index 29093b54..5fca3dd3 100644 --- a/docs/api/reactors/reactors.mdx +++ b/docs/api/reactors/reactors.mdx @@ -912,7 +912,7 @@ a single complex token that contains several of the request parameters. At most, 100 tokens may be detokenized within a single Reactor request. - + For more detailed examples about how to detokenize within Reactors, check out our{" "} diff --git a/docs/api/tenants/tenants.mdx b/docs/api/tenants/tenants.mdx index 3ade2fa4..f6157f84 100644 --- a/docs/api/tenants/tenants.mdx +++ b/docs/api/tenants/tenants.mdx @@ -49,7 +49,7 @@ Tenants provide a way to logically group your Applications and tokens. Common us | `included_monthly_active_tokens` | _long_ | Number of included monthly active tokens for the billing plan | | `monthly_active_tokens` | _long_ | Number of tokens that have been created, read, or used in the current month | - + To learn more about Monthly Active Tokens (MATs), check out{" "} our guide. diff --git a/docs/api/tokens/search.mdx b/docs/api/tokens/search.mdx index 2edcd19a..83ab5e26 100644 --- a/docs/api/tokens/search.mdx +++ b/docs/api/tokens/search.mdx @@ -242,7 +242,7 @@ Multiple terms may be combined using the `AND`, `OR` and `NOT` operators (case s (type:social_security_number AND !metadata.user_id:1234) OR data:111-11-1111 ``` - + The supported Lucene syntax is currently limited to the operations documented above, and not all standard Lucene syntax is supported. If you would like to have support for any additional Lucene features, please{" "} diff --git a/docs/api/tokens/token-associations.mdx b/docs/api/tokens/token-associations.mdx index 4d367037..bc90768c 100644 --- a/docs/api/tokens/token-associations.mdx +++ b/docs/api/tokens/token-associations.mdx @@ -40,7 +40,7 @@ Creating an association between two existing tokens requires read permission on | `parent_id` | true | _string_ | `null` | The ID of the parent token | | `child_id` | true | _string_ | `null` | The ID of the child token | - + Bi-directional associations can be made between two tokens by creating a token association and swapping the parent_id and child_id. diff --git a/docs/api/tokens/tokens.mdx b/docs/api/tokens/tokens.mdx index 72a2034b..0e34d46c 100644 --- a/docs/api/tokens/tokens.mdx +++ b/docs/api/tokens/tokens.mdx @@ -64,7 +64,7 @@ An expired token is **deleted** from the tenant up to **1 hour** after it's expi | `DateTime` String w/ Offset | 8/26/2030 7:23:57 PM -07:00 | | `ShortDate` String | 9/27/2030 | - + If an offset is not provided with the DateTime string, it's considered that the provided time is in UTC. When using the{" "} ShortDate format, the expiration time will be set as{" "} @@ -517,7 +517,7 @@ Update an existing token for the Tenant. - + The Update Tokens endpoint uses a different content-type to support merge-patch operations. Requests need the Content-Type header to be set to application/merge-patch+json. Requests made with a @@ -694,7 +694,7 @@ Returns the updated [token](#token-object) if successful. Returns [an error](/do } ``` - + If the updated token results in a duplicate of an existing token and the application does not have the original token's read permission, the{" "} data,metadata, fingerprint_expression,{" "} diff --git a/docs/concepts/what-are-mats.mdx b/docs/concepts/what-are-mats.mdx index 077d7734..5d84f0e0 100644 --- a/docs/concepts/what-are-mats.mdx +++ b/docs/concepts/what-are-mats.mdx @@ -38,7 +38,7 @@ Tokens that match your search criteria that are contained within other non-fetch Any token that is used within a [Reactor](./what-are-reactors) or the [Proxy](./what-is-the-proxy) will be counted as a MAT. This includes any tokens that were [Detokenized](/docs/expressions/detokenization) within a Reactor or Proxy request. - + A token is only counted as a Monthly Active Token if it has been interacted with through the Basis Theory API. Tokens that are viewed or interacted with through the Portal are not counted as MATs. @@ -83,7 +83,7 @@ and will have a short grace period to enter your payment details while continuin There is a limit of 5 interactions per MAT per month. Our billing is designed to be simple for almost every use-case for using our platform. In some situations more than 5 interactions per MAT in a month are required. [Contact us](https://basistheory.com/contact) for alternate plans available when this limit isn’t enough. - + Are you interested in using Basis Theory in production? Please{" "} contact us diff --git a/docs/concepts/what-are-reactors.mdx b/docs/concepts/what-are-reactors.mdx index 942405e7..abc55c90 100644 --- a/docs/concepts/what-are-reactors.mdx +++ b/docs/concepts/what-are-reactors.mdx @@ -42,7 +42,7 @@ module.exports = async function (req) { }; ``` - + Find a list of our fully compliant and maintained Official Reactor Formulas from within our{" "} @@ -71,7 +71,7 @@ curl "https://api.basistheory.com/reactors" \ }' ``` - + We encrypt and store each configuration setting in our secure PCI Level 1 and SOC2 environment. diff --git a/src/components/shared/Alert.module.css b/src/components/shared/Alert.module.css index c53e7885..37471530 100644 --- a/src/components/shared/Alert.module.css +++ b/src/components/shared/Alert.module.css @@ -1,19 +1,33 @@ .container { display: flex; - padding: 10px 15px 10px 15px; + align-items: flex-start; + padding: 13px 18px 13px 18px; gap: 12px; border-radius: 4px; margin: 15px 0; } +.container > div:has(.svg) { + padding-right: 14px; +} + +.title { + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 130%; + letter-spacing: 0.15px; + margin-bottom: 10px; +} + .content { margin: 0; text-align: justify; + line-height: 145%; } .error { background: var(--bt-alert-error-background); - border: 1px solid rgba(245, 108, 157, 0.3); color: var(--bt-alert-error-color); } @@ -36,17 +50,25 @@ color: var(--bt-alert-success-color); } -.title { - font-style: normal; - font-weight: 500; - font-size: 16px; - line-height: 130%; - letter-spacing: 0.15px; - margin-bottom: 10px; -} - .svg { + margin: 0 auto; + display: block; width: 25px; height: 25px; - margin-right: 5px; +} + +.error .svg path { + fill: var(--bt-alert-error-color); +} + +.info .svg path { + fill: var(--bt-alert-info-color); +} + +.warning .svg path { + fill: var(--bt-alert-warning-color); +} + +.success .svg path { + fill: var(--bt-alert-success-color); } diff --git a/src/components/shared/Alert.tsx b/src/components/shared/Alert.tsx index f1f29a50..97a27419 100644 --- a/src/components/shared/Alert.tsx +++ b/src/components/shared/Alert.tsx @@ -22,7 +22,7 @@ interface Alert { } export const Alert = ({ - type, + type = Alerts.INFO, title, content, children, diff --git a/src/css/custom.css b/src/css/custom.css index d4a540ae..ea60b29c 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -144,7 +144,7 @@ rgba(255, 255, 255, 0) 100% ); - /* Warnings */ + /* Alerts */ --bt-alert-warning-color: #ffa726; --bt-alert-warning-background: linear-gradient( 90deg, @@ -230,6 +230,7 @@ p { code { border: 1px solid rgba(0, 0, 0, 0.1); font-family: "Source Code Pro"; + color: var(--ifm-font-color-base); font-weight: 500; }